This fling has been deprecated.

vCloud Director (vCD for short) relies heavily on the vCenter Servers and host machines it uses. And there may be times when you want to "uninstall" all traces of vCD from your servers and machines. CloudCleaner is a free product that helps restore these systems to a clean state. It selectively (or completely) removes all vCD-created virtual machines, resource pools, network pools, and networks. It can also unprepare hosts that have been prepared by vCD.

CloudCleaner Removes:

  • VMs (created by vCD)
  • Resource pools (created by vCD)
  • Datastore folders (created by vCD VMs)
  • Networks (created by vCD)
  • Uninstalls vCD host agents


  • Written in java, so it's cross-platform
  • Easy-to-use UI
  • Intelligent authentication handling - if your login credentials fail, you'll be given the chance to re-auth in realtime
  • Fast! Uses up to 2000 simultaneous threads
  • Single jar deployment - download and run
  • Auto-detects developer settings - vCenter IP and credentials
  • Safe - auto-detects inconsistencies and repairs them
  • Secured - validates vCenter server certificates and encrypts user data

This fling has been deprecated.

You must have administrator access to at least one vCenter server in order to use CloudCleaner. CloudCleaner will run on any OS that has JRE (Java Runtime Environment) 5 or above.

CloudCleaner uses the following open source libraries:

This fling has been deprecated.

Starting CloudCleaner

Important note - make sure CloudCleaner is saved as a .JAR file (and not a .ZIP) file.

  • On Windows, double-click the cloudcleaner.jar file.
  • On other platforms, type: java -jar cloudcleaner.jar

How to Use

  1. Add vCenters you want to clean by clicking the Add vCenter button
    1. You may add as many vCenters to clean as you like
    2. Your vCenters will be scanned, and a tree of items, including host machines, will appear similar to the screenshot above
    3. At this point, no changes will be made to your vCenters
  2. CloudCleaner does its best to only scan items that are created by vCloud. However, look over the list and remove any items you don't want cleaned
    1. Do this by selecting the items you do not want cleaned, and clicking the Remove Selected button
  3. Click Start Cleaning!
    1. The app will clean all items in the list
    2. An extensive debug log will be displayed in the little gray box
    3. If you have any unexpected results, please email the debug log to me (!


Only clean items created by vCloud Director:

  • If you uncheck this, CloudCleaner will also display VC items that are unrelated to vCloud Director. This is useful for general VC management (e.g. wiping an entire VC)
    • You will have to re-add your VCs to CloudCleaner after unchecking this

Running CloudCleaner from the command-line:

You can automatically clean a VC by running CloudCleaner from the command-line. CloudCleaner will clean a single VC and all its hosts, then exit automatically. No dialogs will be displayed; if a connection fails, the app will exit with error code -1. (Error code 0 is returned on a successful run.)

Type this at the command line for help:

java -jar cloudcleaner.jar -help

Command-line help:

Usage: java -jar cloudcleaner.jar -vcIpAddress= -vcLogin=admin   -vcPwd=yourpwd -hostLogin=root -hostPwd=rootpwd [-skipVerify=true -scanOnly=true]

    -vcIpAddress= - the IP address of the VC to clean.
    -vcLogin= - your VC administrator username.
    -vcPwd= - your VC administrator password.
    -hostLogin= - the administrator username for your host machines.
    -hostPwd= - the administrator password for your host machines.
    -skipVerify=true - [optional] disable SSL certificate verification.
    -scanOnly=true - [optional] only scan VC, don't clean! Good for testing.

That's it! Let me know how it works for you, and if you have any feedback.

This fling has been deprecated.

This fling has been deprecated.


  • New in version 3.2.1 minor but important bug fix.
  • New in version 3.2.0 - dramatic performance improvements for large vCenters, especially when run from the command-line.
This fling has been deprecated. New comments are disabled.
This fling has been deprecated. New bug reports are disabled.