vCenter

 View Only
  • 1.  Guest Customization with a Run Once Command

    Posted Oct 20, 2011 06:24 PM

    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?



  • 2.  RE: Guest Customization with a Run Once Command

    Posted Oct 21, 2011 01:54 PM

    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