How to disable Hyper-V in command line?

后端 未结 9 1240
南旧
南旧 2020-11-29 14:32

I\'m trying to open VMware, it says that VMware player and Hyper-V are not compatible. I found it here, but it\'s not working using the command it offers.

I tried to

9条回答
  •  无人及你
    2020-11-29 15:16

    The OP had the best answer for me and it appears that others have figured out the -All addition as well. I set up two batch files, then shortcuts to those so you can set the Run As Admin permissions on them, easy-peasy.

    Batch Off

    Call dism.exe /Online /Disable-Feature:Microsoft-Hyper-V-All
    

    Batch On

    Call dism.exe /Online /Enable-Feature:Microsoft-Hyper-V /All
    

    Right-click -> create desktop shortcut. Right-click the shortcut -> properties -> under the shortcut tab -> Advanced -> Run as admin

提交回复
热议问题