Removing ‘HD Audio’ from VM

This post was originally published on this site

Hi

 

I have recieved a VM running some sensitive software (changes to MAC-addresse, IP-address, Windows settings is not good).

The VM was originally created on VMware Workstation and then imported into an 6.x ESXi/vCenter environment (now running 6.7).

 

vSphere is now complaining when trying to migrate – “Virtual Machine is configured to use a device that prevents the operation: Device ‘HD Audio’…

 

I want to remove the device but the ‘HD Audio’ device cannot be removed under VM Settings (since its not supported on vSphere).

I have read that you can delete it directly from the .vmx-file by removing:

sound.autoDetect = “TRUE”

sound.virtualDev = “hdaudio”

sound.fileName = “-1”

sound.present = “TRUE”

sound.pciSlotNumber = “35”

 

Now for my question: can I just shut down the VM, connect to ESXi-host via SSH and edit the .vmx-file, and then it wil apply at power-on?

Or do I have to first unregister the VM from the inventory and then subsequently re-register it? (and will this operation make canges to MAC-address etc.?!?).

 

Regards,

Soren

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.