USB device connected to a Windows virtual machine gets disconnected if the virtual machine enters the sleep mode

Symptoms

  • After leaving the computer idle for some time, you see that your Windows virtual machine gets suspended.
  • When you reconnect the USB device to your Windows virtual machine, you see a message indicating that the device was not unmounted properly.
  • Windows prompts you to check the drive for errors.
  • You see folders with files having .chk extensions are created in the root folder of the drive.

Cause

By default, power save options are enabled on Windows virtual machines. After 15 minutes of inactivity, the virtual machine goes to the sleep mode. VMware detects that the virtual machine is in the sleep mode and suspends it. When the virtual machine is suspended, the USB drive connected to it is automatically disconnected from the virtual machine. 
 
This issue occurs because the Windows virtual machine did not have an opportunity to safely remove the USB device and save data writes to the device. This causes a loss of data or corruption of the USB disk.

Resolution

To resolve this issue, modify the power options of the Windows virtual machine, so that it will not enter sleep mode.
 
To modify the power options in a Windows Vista/7 virtual machine: 
  1. Click Start Control Panel > Power Options.
  2. Click Change when the computer sleeps link.
  3. Set the Put the computer to sleep option to Never
To modify the power options in a Windows XP virtual machine:
  1. Click Start > Control Panel > Performance and Maintenance > Power Options.
  2. Change the System Standby option to Never.


Based on VMware KB: 2009508
  • 0 أعضاء وجدوا هذه المقالة مفيدة
هل كانت المقالة مفيدة ؟

مقالات مشابهة

Hardware and firmware requirements for 64-bit guest operating systems

PurposeThis article explains the host machine hardware and firmware requirements for installing...

Logging in to the vCenter Server 5.0 Web Client fails with the error: unable to connect to vCenter Inventory Service

DetailsAfter upgrading from vCenter Server 4.1 to 5.0, you experience these symptoms:Cannot log...

Multiple network entries in vCenter Server 5.0.x after migrating virtual machines from a virtual switch to a virtual distributed switch

SymptomsAfter migrating virtual machines from a virtual switch to a virtual Distributed...

Minimum requirements for the VMware vCenter Server 5.x Appliance

PurposeIf you are using the VMware vCenter Server Appliance, beginning with vSphere 5.0 you can...