How to uninstall Hyper-V?

Hyper-V isn't uninstalling.  It has had some errors.  Are there any known programs that cause such error?  I need to get rid of the Hyper-V role.  When trying to uninstall, I get this error:

 

Hyper-V: Removal failed


<Error>: Attempt to un-install Hyper-V failed with error code 0x80004005. Error HRESULT E_FAIL has been returned from a call to a COM component.
September 27th, 2011 11:12pm

Have you tried stopping all the Hyper-V services before removing the role?
Free Windows Admin Tool Kit Click here and download it now
September 28th, 2011 2:01am

go to the powershell(select with run as admin)

 

 

Import-Module servermanager

remove-windowsFeature Hyper-V

 

 

 

September 28th, 2011 3:08am

What do you mean by "trying to uninstall"?  The proper way is to remove the role in server manger.  What events are logged?  Can you post them?  80004005 doesn't help a lot; it's a generic EFAIL.

 

J

 

Free Windows Admin Tool Kit Click here and download it now
September 28th, 2011 3:41am

dear john,

 

if it a server core do u have server manager?

 

 

regards

darshana

September 29th, 2011 7:23am

Dism /online /disable-feature /featurename:Microsoft-Hyper-V

Free Windows Admin Tool Kit Click here and download it now
September 29th, 2011 4:57pm

Dear John,

Same as ur ans 

remove-widowsfeature Hyper-v is working properly.

 

what i have asked is u have mentioned that " proper way of removing server role is servermanager"

 

regards

darshana

September 29th, 2011 6:51pm

You can't on core unless you're using sever manager remotely.
Free Windows Admin Tool Kit Click here and download it now
September 29th, 2011 9:29pm

Dear John,

 

please see below mentioned things

http://technet.microsoft.com/en-us/library/dd759202.aspx

 

Tasks that you cannot perform remotely by using Server Manager

Primarily to minimize security risks to your servers, the following tasks cannot be completed in a remote Server Manager session.

  • Add or remove roles, role services, and features

  • Configure Remote Desktop settings

  • Configure System Properties

  • Check for new roles

  • Change Windows automatic updating settings

  • Change network settings

  • Change the computer name or domain membership

  • Change Internet Explorer Advanced Security Configuration settings

  • Run the Security Configuration Wizard, if the source computer is a server that is running Windows Server 2008 R2

you cannot add server roles on remote computer

 

regards

darshana

September 30th, 2011 3:54am

Hi All

i'm having the same problem when try to remove the hyper-v role; i actually need to reinstall it. We had a raid failure with some hd corruption and restored from a sys state backup. it appears the role is installed in the server manager gui, but the service or any of the features of the role are not there. when i try to uninstall through the server manager i get: <error>: attempt to un-install hyper-v failed with error 0x80004005. error hresult e_fail has been returned from a call to a com component.

when i try to uninstall via the powershell i get:

all help is appreciated!!

thanks in advance

john



Free Windows Admin Tool Kit Click here and download it now
April 12th, 2012 5:26pm

any one??

April 17th, 2012 5:20pm

I assume that you are running this hyper-v on a core installation of windows server 2008, and assume that you have no other roles installed on this server, so if all these assumptions are try, then why not just format and reload the OS?

I mean it's much quicker to do that than having to fight a failing removal process.

just a thought.


Free Windows Admin Tool Kit Click here and download it now
June 9th, 2012 6:30am

have you tried this:

Dism /Online /Disable-Feature:Microsoft-Hyper-V-All or Dism /Online /Disable-Feature:Microsoft-Hyper-V

July 6th, 2013 12:30pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics