windows disable hyper-v 10 code example Example: how to disable hyper-v in windows 10 using command prompt bcdedit /set hypervisorlaunchtype off