- Power off the VM
- Go to Summary, right click and select“Browse Datastore”
- Click into “<VM name>” folder
- Highlight “<VM Name>”
Click “Download a file from this datastore to your local machine”
Browse to the destination folder and click OK
Click Yes for any warning - Browse to the destination folder andmake a copy of the .vmx file, name it “<VM Name>-copy.vmx”
- Click open “<VM Name>.vmx” withNotepad
- Scroll to the end of file and manually type the following
sound.present = "true" sound.virtualDev = "hdaudio" sound.fileName = "-1" sound.autodetect = "true" sound.pciSlotNumber = "34" |
- Save the file and go back to theDatastore Browser. Click “Upload files to this datastore” > “Upload File…”
Browse and select the modified “<VM Name>.vmx”.
Click Yes for any warnings.Health check procedures:
- Power on the VM and check if “HD audio” isadded to the VM hardware
- Login the VM andcheck for the speaker icon in the system tray
Rollback procedures:
- Logon vSphere Client console with operator account
- Power off the VM
- Go to Summary, right click and select “Browse Datastore”
- Click into “<VM Name>” folder
- Browse to the destination folder, rename “<VM Name>-copy.vmx” back to “<VM Name>.vmx”
- Go back to the Datastore Browser. Click “Upload files to this datastore” > “Upload File…”
- Browse and select “<VM Name>.vmx”.
- Click Yes for any warnings.
- Power on the VM and check if “HD audio” is removed from to the VM hardware
时间: 2024-12-13 02:34:32