x0nn / Convert-WindowsImage

Creates a Windows VM for Hyper-V from a Windows-ISO
GNU General Public License v3.0
80 stars 21 forks source link

Dealing with bitlocker when creating image #13

Closed suntong closed 3 years ago

suntong commented 4 years ago

Re-posting from

Basically a popup prompt asking people whether to turn on bitlocker for that drive or not when creating the VM image, which before any choice can be made, the convert process is over, with a "write protection" error because of that.

Q: What exactly your system? OS-Version, Enterprise, etc?
A: Windows 10 Enterprise version 1909 v10.0.18363

Q: What do you want to accomplish?
A: Ultimately, boot a physical machine from a physical hdd/ssd or boot physical machine from a VHDX image, but would like to try start a Hiper-V VM first, if possible.

Q: What are your parameters? A:

Convert-WindowsImage -VHDFormat VHD -Disklayout BIOS -BCDinVHD VirtualMachine -SizeBytes 25GB  -ExpandOnNativeBoot:$false -Edition "Windows 10 Pro N" -SourcePath c:\Temp\Windows10.iso -VHDPath c:\Temp\win10_master.vhd -Verbose
x0nn commented 3 years ago

Hi,

I looked into this @suntong :

Closing this in short time.

suntong commented 3 years ago

yeah, make sense. I'll close it myself, :)