Switch with a BCDEdit boot Entry in Windows

For example, to switch between Hyper-V ON and OFF:

C:\WINDOWS\system32>bcdedit /copy {current} /d "No Hyper-V"
The entry was successfully copied to {d13254aa-39b8-11ea-805f-9c0329762c7e}.

C:\WINDOWS\system32>bcdedit /set {d13254aa-39b8-11ea-805f-9c0329762c7e} hypervisorlaunchtype off
The operation completed successfully.

Comments