locked
Unable to remove virtual switch and Hyper-V role RRS feed

  • Question

  • Unable to remove virtual switch in Hyper-V (Windows 8.1 x64 enterprise). Getting error:

    None of solutions provided in forums (running scripts, command with admin rights) worked.

    Tried to remove Hyper-V role from Windows - no luck, after restart i get "undoing changes" message.

    Any ideas? I've no system restore available and wouldn't like to reinstall Windows just for this error.



    • Edited by Rim Vel Sunday, June 29, 2014 5:49 PM
    Sunday, June 29, 2014 5:46 PM

Answers

  • Hello,

    Couldn't wait. Did fresh install of Windows. 

    Thank you all anyway.

    • Marked as answer by Rim Vel Thursday, July 24, 2014 10:17 AM
    Thursday, July 24, 2014 10:16 AM

All replies

  • Just an idea: This processs is held by something. Try to tune propeties of virtual switch.

    Brure force path: Use system account to do what you want (I do it with scheduler).

    Rgds

    Milos

    Sunday, June 29, 2014 7:14 PM
  • Interesting.

    A Private Virtual Switch cannot be shared with the Management OS.  It is blocked.

    And from your screen shot, you have managed to do just that.

    Try PowerShell.  Open an elevated PowerShell console.

    Get-VMSwtich | Remove-VMSwitch -Force


    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

    Monday, June 30, 2014 6:37 PM
  • Not able to tune much - getting "failed", "unable", etc. That screenshot is made after I've tried MANY things to remove switch or hyper-v role.

    Powershell doesn't work too:

    Monday, June 30, 2014 7:19 PM
  • What does "Get-VMSwitch" gives you?

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Milton Goh
    MCSE, MCSA, MCITP, MOF, ITIL, AIIM SharePoint Specialist

    Blog | Twitter

    Thursday, July 24, 2014 9:59 AM
  • Hello,

    Couldn't wait. Did fresh install of Windows. 

    Thank you all anyway.

    • Marked as answer by Rim Vel Thursday, July 24, 2014 10:17 AM
    Thursday, July 24, 2014 10:16 AM
  • what is 'brure force' genius.
    Thursday, September 24, 2015 4:47 AM