Safely Remove Hardware

G

Guest

I was wondering, is the "Safely Remove Hardware" function required under XP Embedded. Upon plugging a Mass Storage Device into the unit the "Safe to Remove Hardware" icon does not appear in the taskbar. I have the "Safely Remove Hardware Program" component installed in my image, and icons in the taskbar option selected, but the icon does not appear. Do i need an extra component, am i missing some setting, or is this not required under XP Embedded

Another option, and probably the best option is to disable write caching to removable drives. How do i go about this

Thanks
 
S

Slobodan Brcin \(eMVP\)

Deon,

I can't help you with enabling such option since I'm more like in the mood how to remove popups, instead of how to show them.

You can always write your application for ejecting disks you want.
Or you can programmatically disable write caching for certain disk.

For certain USB Disk you can go to registry.
HKLM\SYSTEM\CurrentControlSet\Enum\USBSTOR\ .... DiskName.... \ ...DiskInstanceId.. \Device Parameters\ClassPnP\UserRemovalPolicy
DWORD 3

As you can see this can't be used from TD since DiskInstanceId is based on DISK serial number.
You can create custom inf file for your device that will set these values by default.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Deon said:
I was wondering, is the "Safely Remove Hardware" function required under XP Embedded. Upon plugging a Mass Storage Device into
the unit the "Safe to Remove Hardware" icon does not appear in the taskbar. I have the "Safely Remove Hardware Program" component
installed in my image, and icons in the taskbar option selected, but the icon does not appear. Do i need an extra component, am i
missing some setting, or is this not required under XP Embedded.
 
B

Brad Combs

In addition, you can go with your first option if you add "Safely Remove
Hardware Program", and "Tray Icon Add/Remove Support".

HTH,
--
Brad Combs
Imago Technologies, LLC

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell
Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Slobodan Brcin (eMVP) said:
Deon,

I can't help you with enabling such option since I'm more like in the mood
how to remove popups, instead of how to show them.
You can always write your application for ejecting disks you want.
Or you can programmatically disable write caching for certain disk.

For certain USB Disk you can go to registry.
HKLM\SYSTEM\CurrentControlSet\Enum\USBSTOR\ .... DiskName.... \
....DiskInstanceId.. \Device Parameters\ClassPnP\UserRemovalPolicy
DWORD 3

As you can see this can't be used from TD since DiskInstanceId is based on DISK serial number.
You can create custom inf file for your device that will set these values by default.

Regards,
Slobodan

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell Microsoft!
https://www.windowsembeddedeval.com/community/newsgroups
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
XP Embedded. Upon plugging a Mass Storage Device into
the unit the "Safe to Remove Hardware" icon does not appear in the
taskbar. I have the "Safely Remove Hardware Program" component
installed in my image, and icons in the taskbar option selected, but the
icon does not appear. Do i need an extra component, am i
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top