Showing posts with label VMWare. Show all posts
Showing posts with label VMWare. Show all posts

Wednesday, 30 January 2013

Remove Safely Remove Hardware option from Virtual Desktop

My windows 7 Virtual Machines hosted on VMWare ESX 5.0 were showing users a "Safely Remove Hardware" Prompt in their systray.

This showed the NICs and the Harddisk as removal devices.

If the users click to remove the NICs they remove and lose their connection.
The hard disk cannot be removed as its in use.

To remove this un-required icon perform the following action for VMware ESX environments.


Click the VM, Select Edit Settings, Click Option, Click General under the advanced section.
Click Configuration parameters and click “Add Row” enter devices.hotplug and a value of false
Click OK and click OK to save the changes.

Friday, 23 November 2012

VMWare set vCPU allocation with CLI


In order to change the Vcpu allocation to a number of virtual machines you will need to install the VMware CLI and perform the following commands

Connect to the Vcenter
connect-viserver servername.domain.com

Set teh VCpu count
get-vm -Location 'NAME' |set-vm -numcpu 2