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: ,

30 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. Perfect, thank you!

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

    ReplyDelete
  13. Thanks, many many thanks :-)

    ReplyDelete
  14. Thank you, many many thanks :-)

    ReplyDelete
  15. Your rock star status has hereby been elevated...great job!

    ReplyDelete
  16. Thanks, it worked!! ;)

    ReplyDelete
  17. Entonces es probable que tenga más nueva versión de VMWare. ¿Ve usted alguna líneas similares?

    ReplyDelete
  18. Thank man this saved me a lot of effort :)

    ReplyDelete
  19. Thanks a lot !!! you save me !!! it worked !!!

    ReplyDelete