Hyper V removal fails (w8.1 pro)

all,

some time ago I experimented a bit with hyper-v -- so added the feature to 8.1 pro x86_64.

All fine and dandy. However I want to remove it again, in order to be able to use VMware workstation.

Obviously, this can't work with the hyper-v role installed. So I decided to uncheck and remove hyper-v.

What happens is that Hyper-V removal is scheduled but after the necessary reboots and all it ends up with "cannot complete your request' and rolls back whatever was performed ....

Now, I know that refreshing windows could work. Reinstall could work as well. But those wreck the installed software.

Same for reverting tol an older snapshot (or whatever it's called in windows).


Initiating changes to turn off update Microsoft-Hyper-V of package Microsoft-Hyper-V-ClientEdition-Package. Client id: DISM Package Manager Provider.

A reboot is necessary before the selectable update Microsoft-Hyper-V of package Microsoft-Hyper-V-ClientEdition-Package can be turned off.

Update Microsoft-Hyper-V of package Microsoft-Hyper-V-ClientEdition-Package failed to be turned off. Status: 0x800f0922.

I I did a scanhealth, restorehealth and even dism.exe /online /cleanup-image /StartComponentCleanup /ResetBase.

I reverted to the last known snapshot that works -- also no way to remove hyper-v.

Is there anyone who could give a hint / help to remove the role? Google itself comes up with several ways and all

fail the same way. 

July 23rd, 2015 7:04am

Hi Roeland,

I had the same issue a while ago (Hyper-V vs. VMware clash).
Ended up reverting to an earlier system state with the use of System Restore.

Regards,

Matthijs

Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2015 7:09am

Hi Roeland,

0x800f0922 -- I have seen this error caused by some patches installed. Can you remove the recently installed windows patches and see if you can remove hyper-v feature after that?

-Umesh.S.K

July 23rd, 2015 7:20am

that's what I also have done, on a copied disk , Matthijs. The one that definitely was before enabling Hyper-V was corrupt. The latest one halfway June failed to restore to a version that could disable and  afaik it is a full restore so will loose quite some work/time. 

Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2015 9:16am

Umesh,

I have _all_ patches installed for both the OS and the added software. That's quite a list. 
(268 currently)
I did a sysrestore on a copy halfway june and that didn't help either.

You probably can't tell me what particular "well tested" patch causes this?


July 23rd, 2015 9:19am

You can disable the hyper-V Hypervisor without uninstalling Hyper-V, and that would allow you to run VMWare.  That's what I do.  (I actually have boot options to either boot for Hyper-V or without for VMWare.

http://blogs.technet.com/b/gmarchetti/archive/2008/12/07/turning-hyper-v-on-and-off.aspx


That way you can go back and forth...

Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2015 11:48am

thanks Bob. Nice to know.

In my case:

The boot configuration data store could not be opened. The system cannot find the file specified.

Forgot to say that this is a grub2 based dual boot (windows 8.1 pro as well as linux)


July 23rd, 2015 1:18pm

Ugh.  The Windows BCD is there somewhere.   You would need to issue a /store command to tell you where the BCD Store is, like:   bcdedit /store c:\Boot\BCD   But I wouldn't know if BCDEdit is going to mess grub any, so it's risky.   Mostly likely there is some kind of Windows Update corruption that is stopping the uninstall of Hyper-V, but that's beyond what I can tell you about...    
Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2015 2:04pm

hi Bob,

what I did is -- specify the store and yeps. the BCD whas there.

So somewhere the syste has forgotten where to look for the BCD. Can this be set somewhere?

I disk duped the disk and entered

bcdedit /store c:\boot\BCD /set hypervisorlaunchtype off

I did see the bits were flipped as long as I reference the BCD with /store... and so far I got vmware workstation to install -- it starts too so next is to see if I can run a vm.

Still, the unable to removal part ... stays weird. 

July 23rd, 2015 4:04pm

Did you install GRUB2 after Hyper-V was enabled?  If so, that's likely the issue Hyper-V doesn't know how to modify the BCD.
Free Windows Admin Tool Kit Click here and download it now
July 23rd, 2015 8:22pm

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

Other recent topics Other recent topics