Thursday, November 8, 2012

How to stop file copy on a VMware ESXi 5.0 which is started by vSphere client

When you start a file copy on a VMware ESXi machine by using vSphere client, you will find that you cannot "stop” (Cancel this task) it.


The workaround is SSH to the ESXi host and run the following command from the vCLI

# /sbin/ restart

It will restart the management agent (Include All management services, including: hostd, ntpd, sfcbd, slpd, wsman, vodb), the vSphere client connection will be disconnected.

Print Friendly and PDF


  1. I disabled 'Start and Stop Virtual Machines with the system' in vSphere (host > Configuration > Virtual Machine Startup/Shutdown > Properties).
    I logged into the ESXi host via SSH and ran: /etc/init.d/hostd restart
    I then logged back into vSphere and the file copy process was gone.
    I then re-enabled 'Start and Stop Virtual Machines with the system'.

  2. Thanks /sbin/ restart worked for me

  3. Thank you to comment by Temp, that worked great!

    Stopped the copy. And no service interruption. Gave it 10 mins then re-logged into vsphere client, started the VM i was copying. Up and running again

  4. /sbin/ restart worked for me too.