Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

A connected USB storage device may not be removable using “Safely Remove Hardware” feature in Windows Embedded Standard 2009


View products that this article applies to.

Symptoms

On a Windows Embedded Standard 2009 device, a USB storage device may not be removable using Safely Remove Hardware  OS feature.

This may happen if the OS is booted with the USB flush memory device connected when the Registry filter feature is enabled.

↑ Back to the top


Cause

This issue may occur due to an incorrect reference count generated when the OS is created with the Registry Filter feature enabled, and a USB storage device is connected during the boot process.

↑ Back to the top


Resolution

To work around this issue:

Shut down the computer before you remove the USB device. 

To prevent this issue:
  1. Boot the Registry Filter enabled OS without the USB storage device attached to the system. 
  2. After the OS boots successfully, attach the USB storage device to the system.
The USB storage device should now be removable using the Safely Remove Hardware feature.

↑ Back to the top


More Information

Steps to reproduce:
  • Build a WES09 image that includes Registry Filter and USB Mass Storage Device components.
  • After FBA, attach the USB flush memory to the system and reboot. (At this point, Registry Filter service is enabled by default)
  • Logon to the OS.
  • Click Safely Remove icon in notification area.
  • From the device list, select Safely remove USB Mass Storage Device – Drive()

Expected Result:

USB Mass Storage Device is safely removed.

Actual Result:

USB Mass Storage Device cannot be removed, as the device status says - it is still being used.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2641834
Revision : 1
Created on : 1/7/2017
Published on : 11/5/2011
Exists online : False
Views : 298