Skip to content

Instantly share code, notes, and snippets.

@andreasbotsikas
Last active December 31, 2022 12:06
Show Gist options
  • Save andreasbotsikas/313914e29140bb0dadebbf417e0a7f16 to your computer and use it in GitHub Desktop.
Save andreasbotsikas/313914e29140bb0dadebbf417e0a7f16 to your computer and use it in GitHub Desktop.
Dual boot multiple windows operating systems
dism /Apply-Image /ImageFile:c:\tmp\install.wim /Index:1 /ApplyDir:P:\
bcdedit /set "{default}" description "Personal windows"
New-Item -Path c:\tmp -ItemType Directory -Force
DISM /Export-Image /SourceImageFile:E:\sources\install.esd /SourceIndex:6 /DestinationImageFile:C:\tmp\install.wim /CheckIntegrity
DISM /Get-WimInfo /WimFile:E:\sources\install.esd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment