June 12, 2012

Remove VMware Workstation or Player when Hyper-V is installed

Challenge

Time to go all in with Windows 8 and migrate development environments to Hyper-V.

When you’re migrating from VMware to Hyper-V, and you happen to install Hyper-V before uninstalling VMware Workstation or Player, you will get warning that VMware uninstall cannot proceed while Hyper-V role is installed on the server or workstation.

Solution

Modify file C:\ProgramData\VMware\VMware Player\Uninstaller\bootstrap.lua, or C:\ProgramData\VMware\VMware Workstation\Uninstaller\bootstrap.lua using text editor and comment out line

CheckForMSHyperV()

with two dashes, so it will become

--CheckForMSHyperV()

Then save file and rerun the uninstall and it will succeed.

 

Technorati Tags: ,

20 comments:

  1. excellent instructions!

    kudos

    ReplyDelete
  2. Thanks for your helpful blog post. :D

    ReplyDelete
  3. Thank you very much - worked like a charm

    ReplyDelete
  4. Thank you!

    Worked as intended.

    ReplyDelete
  5. Terje With LunndalMarch 26, 2013 at 4:43 PM

    Thank you!

    ReplyDelete
  6. Thank you. I knew there had to be a better way than disabling/rebooting/reenabling/rebooting for Hyper V...

    ReplyDelete
  7. Worked great! Thank you!

    ReplyDelete
  8. Thanks a lot for this tip

    ReplyDelete
  9. Excellent, Thank You ! :))

    ReplyDelete
  10. thanks, just now tried and it fixed the issue for me. thanks!

    ReplyDelete
  11. Dude, you rock. MUCH better than the suggestions by VMWare and MS.

    ReplyDelete
  12. Thanks, many many thanks :-)

    ReplyDelete