Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
Search the VMware Knowledge Base (KB)   View by Article ID

Attempting to remove a host from the inventory when it is connected to vDS generates an error (1018181)



This error indicates that you are attempting to remove a host from the inventory that is connect to a vNetwork Distributed Switch (vDS). When the host is connected to a vDS, it cannot be removed from the inventory.

Cannot remove the host hostname because it's part of vDS switch_name.


You are unable to remove the host from the inventory.


Ensure that the host is no longer connected to the vDS, then remove the host.

To ensure that the host is no longer connected to the vDS:

  1. Log in to vCenter Server using the vSphere Client.
  2. Right-click on the host and select Disconnect.
  3. Click Home > Inventory > Networking.
  4. Click on the vDS.
  5. Click Hosts.
  6. Right-click on the host, and click Remove from vDS.
  7. Click Home > Inventory > Hosts and Clusters.
  8. Right-click the host and select Remove.
  9. Re-add the same host back to the inventory.
  10. Re-connect the host back to the vDS.
For more information, see Disabling vNetwork Distributed Switches (1010718).

Note: If the host is still connected to a portgroup, such as management, the portgroup must be migrated to another switch or deleted to allow removal from the vDS.

Additional Information

For translated versions of this article, see:



Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 16 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 16 Ratings