VMware Auto Deploy already registered / RuleEngine

I had this weird plugin error the other day which bothered me on Friday. I decided to go fixing it. So after poking around in the vCenter installed software list. I couldn’t find the Auto Deploy in the list, so I figured due to my recent vCenter reinstallation while keeping the database, I forgot to reinstall Auto Deploy.

I went ahead and started the Auto Deploy setup from the DVD again, until I received this weird looking error. Apparently the setup thought (and decided correctly) that Auto Deploy was already installed in my vCenter.

So after a bit of googling, I found this nice explanation on how to manually deregister Auto Deploy from my vCenter. So here are steps retyped:

  1. Run the setup an hold at the window where you’re informed that Auto Deploy is already installed. Copy the MSI package from %TEMP%{RANDOM-GUID} to C:TEMP
  2. Unpack the setup files from the msi
  3. Manually deregister Auto Deploy using autodeploy-register
  4. Run the Auto Deploy setup again

2. Unpack the setup files:

Open a command prompt and extract the msi using msiexec

3. Switch to C:TEMPautodeployProgram FilesVMwareVMware vSphere Auto Deploy and run autodeploy-register.exe against your vCenter installation

4. After that command completes, you simply can run the setup from the DVD again. Afterwards the RuleEngine errors were gone (simply because Auto Deploy is installed again) and Auto Deploy is working again.

2 thoughts to “VMware Auto Deploy already registered / RuleEngine”

  1. Ran into this exact issue upgrading a old 5.5 Windows vCenter to the VCSA 6.0. Thank you very much for getting me through the issue!!!

    1. I actually had to switch the command up a little, the Auto Deploy database was missing so I had to use the -n switch:

      autodeploy-register.exe -U -n -a localhost -u administrator@vsphere.local -w “Password”

      Usage: autodeploy-register.exe [options]

      Registration tool for the AutoDeploy service. AutoDeploy needs to be
      registered with vCenter before it can be used. Only one AutoDeploy server can
      be registered with an instance of vCenter and AutoDeploy can only be
      registered with one vCenter.

      Administrator credentials in vCenter are required to register the AutoDeploy

      To register AutoDeploy with the vCenter at “”:
      $ autodeploy-register –register –address= \
      –user=Administrator –password=mypassword \

      To unregister AutoDeploy from the vCenter at “”:
      $ autodeploy-register –unregister –address= \
      –user=Administrator –password=mypassword \

      -h, –help show this help message and exit
      -v, –validate Validate the vCenter arguments.
      -R, –register Register the service with vCenter.
      -U, –unregister Unregister the service from vCenter. NOTE: This will
      delete your AutoDeploy configuration.
      -G, –get Get the vCenter service registration.
      -a ADDRESS, –address=ADDRESS
      The vCenter public IP address.
      -p PORT, –port=PORT The port vCenter is listening on. (default: 80)
      -u USER, –user=USER The vCenter user name.
      -w PASSWORD, –password=PASSWORD
      The vCenter user password.
      -s SETUPFILE, –setupfile=SETUPFILE
      The service configuration file. (Not required on
      -T THUMBPRINT, –thumbprint=THUMBPRINT
      Use the provided SHA1 thumbprint to verify the
      validity of the vCenter Server
      -o THUMBPRINTOUT, –thumbprintout=THUMBPRINTOUT
      Fetch the SHA1 thumbprint from the vCenter Server and
      save it to the specified file
      -f, –force Overwrite an existing registration. (internal)
      -n, –vc-only Do not delete the DB, just unregister from vCenter.
      -l, –local-admin Authenticate with vCenter using its own certificate
      installed on vcva. (internal)
      -m, –prompt Prompt for credentials, if they are not provided on
      the command line using the ‘–user’ or the ‘–
      password’ option
      -t TIMEOUT, –timeout=TIMEOUT
      Maximum number of seconds spent trying to register
      with vCenter

Leave a Reply

Your email address will not be published. Required fields are marked *

I accept that my given data and my IP address is sent to a server in the USA only for the purpose of spam prevention through the Akismet program.More information on Akismet and GDPR.

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