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.

If you don't want it anymore:
C:\WINDOWS\system32>bcdedit /deletevalue {d13254aa-39b8-11ea-805f-9c0329762c7e} hypervisorlaunchtype

Comments

Popular posts from this blog

How to delete / clear queue of PowerMTA