Next, we need to change the registry of the Windows Vista or Windows 7 installation DVD:
Now you have to create a registry file to make changes. Open Notepad: click Start > All Programs > Accessories > Notepad . Copy and paste the following code into Notepad, then save with the file name WinSetupDVD.reg :
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINEWinSetupDVDControlSet001Servicesdcrypt]
"Type" = dword: 00000001
"Start" = dword: 00000000
"ErrorControl" = dword: 00000003
"ImagePath" = hex (2): 73.00,79.00,73.00,74.00,65,00,6d, 00,33.00,32,00,5c, 00,64.00,
72.00,69,00,76,00,65,00,72,00,73,00,5c, 00,64,00,63,00,72,00,79.00,70,00,74,
00,2e, 00,73,00,79,00,73,00,00,00
"Group" = "Filter"
[HKEY_LOCAL_MACHINEWinSetupDVDControlSet001Servicesdcryptconfig]
"Flags" = dword: 00000082
"Hotkeys" = hex: 00.00.00.00.00.00.00.00.00.00.00,00.00,00,00,00
"sysBuild" = dword: 00000000
[HKEY_LOCAL_MACHINEWinSetupDVDControlSet001Servicesdc_fsf]
"Type" = dword: 00000002
"Start" = dword: 00000000
"ErrorControl" = dword: 00000003
"ImagePath" = hex (2): 73.00,79.00,73.00,74.00,65,00,6d, 00,33.00,32,00,5c, 00,64.00,
72.00,69,00,76,00,65,00,72,00,73,00,5c, 00,64,00,63,00,5f, 00,66,00,73,00,66,
00,2e, 00,73,00,79,00,73,00,00,00
"Group" = "Filter"
[HKEY_LOCAL_MACHINEWinSetupDVDControlSet001ControlClass {4D36E965-E325-11CE-BFC1-08002BE10318}]
"UpperFilters" = hex (7): 64.00,63.00,72,00,79.00,70,00,74,00,00,00,00,00
[HKEY_LOCAL_MACHINEWinSetupDVDControlSet001ControlClass {71A27CDD-812A-11D0-BEC7-08002BE2092F}]
"LowerFilters" = hex (7): 64.00,63.00,72,00,79.00,70,00,74,00,00,66,00,76,00,65,
00,76,00,6f, 00,6c, 00,00,00,00,00
Double click on the WinSetupDVD.reg file file . On the command prompt, click Yes to continue.
Go back to Registry Editor, click WinSetupDVD , click File> Unload Hive . , then close the Registry Editor.
Go back to the Command Prompt window and commit the changes as well as unmount the image:
C: Program Files Windows AIKToolsx86ServicingDism.exe "/ Unmount-Wim / MountDir: C: WinSetupDVD-Servicing / commit
You can now create an installation image file for Windows Vista or Windows 7:
"C: Program FilesWindows AIKToolsx86oscdimg.exe" -n -m -bC: WinSetupDVDbootetfsboot.com "C: WinSetupDVD" "C: WinSetupDVD-custom.iso"
Finally, write the WinSetupDVD-custom.iso image file to a blank DVD and keep it in a safe place when you have a problem after disk encryption.
Encrypt system drive
After you have the recovery disk in hand, you can encrypt the system drive. Open the DiskCryptor application, select the system drive (usually C :) and click Encrypt .
Follow the prompts to configure the settings. You should keep the boot and encryption settings in the default state. When creating a password, create a complex password as much as possible. In general, the password must be long, there are many capital letters, lowercase and lowercase letters, etc. Depending on the size of the drive, the encryption may be fast or slow.
When the encryption process is complete, the status of the drive in DiskCryptor will be mounted .
When restarting the computer, you will see a prompt asking for the password to enter and then Windows will boot as usual.
Encrypt and decode system drives
If Windows cannot boot after encryption, use the newly created Windows disk and follow these steps:
cd x: Program Filesdcrypt
dccon -mount C: -p yourencryptionpassword
dccon -decrypt C: -p yourencryptionpassword
dccon –boot –delmbr C:
bootsect.exe / nt60 ALL / mbr
Now the system will boot into Windows normally like an unencrypted drive.