How to force VMware to regenerate a MAC address for a virtual machine (or guest OS).
- Shut down the Guest OS.
- Open up the .vmx file.
- Delete the following lines (that begin with…):
PowerShell12345ethernet0.addressTypeuuid.location =uuid.bios =ethernet0.generatedAddress =ethernet0.generatedAddressOffset =
- Boot up the Guest OS again, and it should generate new details in the vmx file (I’d check afterwards to be doubly sure).
The most common scenario for wanting to do this is if you’ve used a “template” Guest OS and copied it to multiple PCs, but accidentally clicked “I moved this Virtual Machine” rather than “I copied this Virtual Machine” when first booting the Guest OS in something like VMware Player.
If you tell VMware that the Guest OS was copied, it automatically generates new UUID info and MAC addresses. If you tell VMware that you moved the Guest OS, all unique identifiers are left alone (including the MAC address). By performing the steps above, you can get VMware to generate you some new, unique identifiers, and stop weirdness on your network 😉