Guest Customization with a Run Once Command

I am trying to run a command on newly deployed VM's by using the Run Once command in the Customization Specifications Manager, but the VM fails with an error.

At first I had the actual command you would run on the command line in Windows, but that failed.  I created a batch file that I am now trying to call but still it fails.

Am I not able to run actual command line commands using the customization wizard?

0 Kudos
1 Reply

I use Run Once pretty heavily, and yes I just use the actual commands that would be sent via the cmd prompt. I'm curious what command you are trying to run and what error it gives when failing.

Here is an example command I run to disable UAC and how it looks in Run Once:

REG ADD HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f
VCDX #104 (DCV, NV) ஃ ஃ @ChrisWahl ஃ Author, Networking for VMware Administrators