none
How can I add Hyper-V Mgmt GUI feature through PowerShell without a Restart? RRS feed

  • Question

  • If I go into Add Windows Feature applet, I can add the Hyper-V management feature and it does not require a restart. I want to script this process to use on a non-persistent VDI workstation (can't restart it without losing changes) without going through the Windows features GUI. When I try to add it via PowerShell it enables more than the management feature and requires a restart. If I leave off the -All switch it gives me an error about parent features not being enabled. Here's my command line:

    Enable-WindowsOptionalFeature -Feature Microsoft-Hyper-V-Tools-All -Online -All


    • Edited by RNoa Thursday, November 7, 2019 4:20 PM
    Thursday, November 7, 2019 4:11 PM

All replies

  • Works fine for me. I can enable and disable all tools without a reboot.

    I recommend posting issues with Hyper-V in the HV forum.


    \_(ツ)_/

    Thursday, November 7, 2019 4:22 PM