VMware ESXi and vSphere Cluster Management

How to Remove Virtual Hardware from a Virtual Machine in VMware vSphere

Learn how to safely remove a virtual network adapter or other virtual hardware from a VM using vSphere Edit Settings, with validation, verification, and troubleshooting steps.

VMware vSphere lets administrators manage a virtual machine’s configured devices from its settings. Virtual hardware includes network adapters, virtual disks, CD/DVD drives, controllers, and USB devices.

This guide explains how to remove a virtual hardware device, using an Ethernet adapter as the primary example. Removal deletes the device from the VM configuration. It is different from disconnecting the device, which leaves the device configured but temporarily detached from use.

Prerequisites and safety checks

Before changing the VM configuration, complete these checks:

  • Identify the target virtual machine in the vSphere inventory.
  • Confirm that your account has permission to modify the VM configuration. If permissions are managed centrally, review the relevant VMware permissions.
  • Verify that the selected device is no longer required.
  • Document the current device configuration, especially for a network adapter. Record its adapter number, label, MAC address, connected port group or virtual network, connection state, and the traffic it carries.
  • Check the VM power state. Requirements vary by device type, vSphere version, and environment. If vSphere does not allow the change while the VM is powered on, follow change-control procedures and power off the VM before retrying.

Pre-removal validation checklist

CheckWhy it mattersExample for a network adapter
Target VMPrevents changes to the wrong virtual machine.Confirm the VM name, folder, cluster, and host.
PermissionsThe Edit Settings operation requires suitable VM configuration privileges.Verify that your role can modify virtual hardware.
Device identityPrevents removing a production or management device by mistake.Match adapter number, label, MAC address, and port group.
Network purposeRemoving an active adapter can interrupt traffic.Confirm that the adapter is unused or intentionally being retired.
Power stateSome hardware changes cannot be made while the VM is running.Power off the VM if hot removal is unavailable.

Open the virtual machine settings

  1. Launch the vSphere Web Client or the applicable vSphere management client.
  2. Open the vSphere inventory and locate the target virtual machine.
  3. Select the VM, then open its action menu or right-click the VM.
  4. Choose Edit Settings.

The usual navigation is:

Inventory > select or right-click the virtual machine > Edit Settings

Client labels can vary slightly between vSphere interface versions. The Edit Settings dialog is the configuration area used to view, add, modify, or remove virtual hardware.

Select the virtual device to remove

  1. Open the Virtual Hardware tab, or the equivalent hardware configuration section.
  2. Review the device list and locate the intended device.
  3. Select the device before choosing a removal action.

For a VM with multiple Ethernet adapters, do not rely only on similar labels such as “Network adapter 1” or “Network adapter 2.” Compare the adapter number, device label, connected port group, MAC address, and guest operating system interface information.

For example, if the guest operating system identifies a production interface by its MAC address, match that MAC address with the adapter shown in vSphere. Also determine whether an adapter carries management, backup, application, or other critical traffic.

Remove and apply the change

  1. With the confirmed device selected, choose Remove or the Remove control associated with that device.
  2. Review the pending hardware change. Make sure only the intended device is marked for removal.
  3. Select OK, Save, or the client’s equivalent confirmation action.

The change is committed only after the Edit Settings dialog is saved. Selecting Remove inside the dialog prepares the change; selecting OK or its equivalent applies it to the VM configuration.

Example: remove an unused Ethernet adapter

  1. Select the target VM in the inventory.
  2. Open Edit Settings.
  3. Open Virtual Hardware.
  4. Find the unused network adapter and verify its label, connected network, and MAC address.
  5. Select the adapter and choose Remove.
  6. Review the pending change and select OK.
  7. Reopen the settings to confirm that the adapter is no longer listed.

Remove versus disconnect

ActionEffect on VM configurationTypical use caseRecovery approach
DisconnectLeaves the virtual device configured but detaches it from active use.Temporarily stop network connectivity while preserving the device definition.Reconnect the existing device and restore its connection state.
RemoveDeletes the selected virtual device from the VM configuration.Retire unused hardware or permanently change the VM design.Add a new device and restore its intended settings if removal was incorrect.

Disconnecting an Ethernet adapter is reversible at the device level because the adapter remains configured. Removing it is a structural configuration change, so the original device definition is no longer available in the VM settings.

Verify the removal

  1. Reopen or review the VM’s Virtual Hardware settings.
  2. Confirm that the removed device no longer appears in the device list.
  3. For a removed network adapter, check the guest operating system and confirm that the adapter is no longer reported as present.
  4. Confirm that remaining adapters are still connected to the correct networks.
  5. Test required management, application, and network connectivity.

The guest operating system may retain stale interface configuration after hardware removal. If the adapter still appears in the guest, first confirm removal in vSphere. Then refresh hardware detection or restart the guest according to its operating system procedures. Remove or update stale network configuration only when appropriate for that operating system.

Consequences and recovery

Removing a network adapter can interrupt remote administration and application traffic if that adapter carried management, production, backup, or other required communication. A powered-on VM can also lose connectivity immediately when the committed configuration no longer includes the adapter.

If the wrong adapter was removed, recovery generally requires adding a replacement virtual network adapter, attaching it to the correct port group, and restoring the intended guest operating system network configuration. The replacement adapter may receive a different MAC address or interface identity, so guest configuration and licensing dependencies may need review.

Troubleshooting

The Remove option is unavailable or the settings cannot be saved

  • Confirm that your account has sufficient VM configuration permissions.
  • Check for active tasks, locks, or policy restrictions affecting the VM.
  • Determine whether the selected device supports removal while the VM is powered on.
  • Power off the VM if required by the device type, vSphere, or organizational procedure, then retry.

The wrong network adapter might be selected

  • Cancel the dialog before saving if the device identity is uncertain.
  • Compare vSphere adapter labels, numbers, port groups, and MAC addresses with guest operating system interface details.
  • Use documented adapter names and network assignments to distinguish production, management, backup, and test interfaces.

Network connectivity is lost after removal

  • Determine whether the removed adapter carried production, management, or application traffic.
  • Use console access where available rather than relying on the unavailable network path.
  • Check whether remaining adapters are connected to the correct port groups.
  • Add a replacement adapter if necessary and restore its guest operating system network configuration.

The device still appears in the guest operating system

  • Confirm that the device is absent from the VM’s Virtual Hardware list.
  • Refresh hardware detection or restart the guest according to operating system procedures.
  • Review and clean up stale guest interface or driver configuration when appropriate.

Exam-relevant notes

  • Remove deletes a virtual device from the VM configuration; Disconnect does not.
  • The device must be selected in the Virtual Hardware view before invoking Remove.
  • The change is committed only after saving the Edit Settings dialog with OK or its equivalent.
  • Multiple network adapters must be positively identified using details such as MAC address and port group before removal.
  • Power-state requirements depend on the device and environment. If hot removal is not supported, power off the VM before changing the hardware.

For related administration tasks, see adding virtual hardware to a VM, Raw Device Mapping, and the VMware ESXi online course.