Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232869

Re: Remove applied Guest Customization profile

$
0
0

If you haven't powered on the VM yet, you could be in luck.

 

The OSGuestCustomization adds a line to the VMX file of the VM. That line looks something like this

tools.deployPkg.fileName = "imc7200.tmp"

You can't remove entries from a VMX file afaik, but you can change the value of an entry.

The following will do just that for the customisation entry.

 

$vmName="TestVM"$vm=Get-VM-Name$vmName
Get-AdvancedSetting
-Entity$vm|
where
{$_.Name-eq"tools.deployPkg.fileName"} |
Set-AdvancedSetting
-Value""-Confirm:$false

 

Try running this script, copy/clone the VM so you have a fallback and then poweron the VM.


Viewing all articles
Browse latest Browse all 232869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>