12

I am attempting to remove they Hyper-V role from a Windows Server 2012 R2 machine. When attempting to do so via the "Add Roles and Features Wizard", the check box is grayed out and it will not allow me to uncheck it and therefore will not allow me to uninstall this role.

This was a simple process in 2008 and 2008 R2. Not sure what has changed.

  • 2
    Are you sure you're running the Remove Roles and Features wizard? How about posting a screenshot of that window? – joeqwerty May 23 '14 at 23:35
20

Windows Server 2012 R2 is all about PowerShell and frankly with the redesign of Server Manager I'm quite glad.

PS C:\WINDOWS\system32> Remove-WindowsFeature -Name Hyper-V
14

First start "Add Roles and Features Wizard" and then switch to the "Remove Roles and Features Wizard". And there it is possible to remove Hyper-V role.

enter image description here

enter image description here

enter image description here

enter image description here

enter image description here

  • 1
    Hyper-V is checked and disabled. I can't uncheck this. Any solution..? Also, it is mentioned as Hyper-V (Installed). – shashwat Dec 15 '16 at 12:53
  • 2
    Had the same problem, the Powershell solution here worked for me – Torbjörn Bergstedt Jan 18 '17 at 12:42
3

I had the same problem and @kce's answer of removing Hyper-V using PowerShell cured the problem for me to.

As a few further points, you need to run PowerShell as an Administrator. To do that in the search box on the Start Menu type powershell. It will turn up various variants of PowerShell. I used Active Directory Module for Windows Powershell. It should open with the prompt PS C:\Windows\system32>.

After that type the command given in @kce's answer:

remove-windowsfeature -name Hyper-V

It will take a minute or two to remove the feature. After that you need to restart the machine to complete the removal of Hyper-V.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.