Recently I had to change the password for the vCenter DB. This can be done with starting the vpxd.exe with the –p or –P ‘password’ command. After finishing this task I was curious for the other flags so I started vpxd.exe /?.

The following options are available:

C:\Program Files\VMware\Infrastructure\VirtualCenter Server>vpxd.exe /?

Usage: vpxd.exe [FLAGS]
      -r          Register VMware VirtualCenter Server
      -u         Unregister VMware VirtualCenter Server
      -s         Run as a standalone server rather than a Service
      -c         Print vmdb schema to stdout
      -o         port Listens on the specified port instead of 902
      -b         Recreate database repository
      -p         Reset the database password interactively
      -P pwd  Reset the database password to the specified password
      -v         Print the version number to stdout


One thought on “VMware: VPXD.exe flags

  1. Nice options.
    I use the -s parameter whenever my service fails to start. Starting it with the -s option shows you a lot of information and offcourse what’s going wrong.
    If you ever messed up your database you can create an empty one with the -b parameter.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

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