I'm in the midst of migrating our virtual machines (VMs) from VMware to Hyper-V to dodge an outrageous renewal fee. The conversion using Starwind went smoothly, and I worked through some network adapter quirks, so everything seems to be functioning well. However, I'm running into a snag trying to uninstall VMware Tools—it keeps crashing the installer. I couldn't remove it before migration because we need the network adapter driver intact in case we have to revert back. I've noticed from various forum posts that the uninstaller tries to log the removal status to the host, which isn't possible now since I'm not on the VMware host anymore. I've tried using `setup.exe /c` for a clean removal but that didn't work either. Does anyone have any tricks up their sleeve for removing VMware Tools? I need to script this for dozens of VMs.
1 Answer
I was in a similar situation but with Azure migration. I found a PowerShell script that can forcibly remove VMware Tools. I'll look for it and share the link in a bit. Edit: [here it is](https://gist.github.com/broestls/f872872a00acee2fca02017160840624).
Cool, thanks for that!