Enabling Hyper-V to automatically start using the BCDEdit command-line utility

Posted: (EET/GMT+2)

 

Hyper-V is an optional part of Windows, and can be used on both the client (Windows 10) and server (Windows Server) operating system variants. Sometimes, you might want to control when Hyper-V starts automatically, and when not.

Windows system-level startup options are configured with the "bcdedit" utility, and this command has an option named "hypervisorlaunchtype" that you can se. For example, to enable automatic startup of Hyper-V services, run the following command:

bcdedit /set {current} hypervisorlaunchtype auto

Hope this helps!