If you encounter the System Restore failed to restore a file (0xc0000022) error while running the System Restore tool on your computer, use the following suggestions ...
To fix the “Cannot install Windows, BitLocker Drive Encryption is enabled on selected partition” error, suspend BitLocker via Settings or Control Panel, or use your recovery key to unlock the drive.