Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Disabling the HotAdd/HotPlug capability in ESX/ESXi 4.x and ESXi 5.0 virtual machines
Symptoms
-
NICs and SCSI controllers appear as removable devices.
-
The Safely Remove Hardware option for the virtual hardware appears in the Windows System Tray.
Purpose
This article describes how to disable the HotPlug capability on removable devices.
Resolution
You can disable the HotPlug capability using vSphere Client or by editing the .vmx file.
Note: You can disable the HotPlug capability for PCI devices such as e1000 or vmxnet2 NICs.
To disable the HotPlug capability using vSphere Client:
-
Connect vSphere Client to ESX or vCenter Server.
-
Power off the virtual machine.
-
Right-click the virtual machine and click Edit Settings.
-
Click the Options tab.
-
Click General > Configuration Parameters > Add Row.
-
Insert a new row with the name devices.hotplug and value false.
-
Power on the virtual machine
To disable the HotPlug capability by editing the .vmx file:
-
Power off the virtual machine.
-
Access the ESX service console using an SSH client.
-
Open the virtual machine configuration file (.vmx) in a text editor. The default location is /vmfs/volumes/<datastore_name>/<vm_name>/<vm_name>.vmx.
-
Add the line:
devices.hotplug = "false"
Note: This setting does not interfere with HotPlug CPU/memory. -
Save the file.
-
Power on the virtual machine.
Tags
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.
Actions
KB:
- Updated:
- Categories:
- Product Family:
- Product(s):
- Product Version(s):

