Using arduino to "safely remove hardware" for external HDD in windows.

Hey guys,

I've got a set of 3 hot-swappable USB HDD enclosures. They've just been turned off and swapped every night for the past 4 years, i'd like to be able to eject them first before switching off power. They're used to do a full system ghost every night, and not accessed during the day (whey they are swapped)

Is this even an issue, as the drives should park their heads when removed?

The users swapping the drives don't have the admin password, so they can't just log in and hit the start-menu button.

Anyways, any ideas to have an external button attached to an arduino to "safely remove hardware"/eject the drive before it's removed?

I want this as a standard feature on every external HDD now

I like C# so I would start with http://www.codeproject.com/Articles/13530/Eject-USB-disks-using-C

frank26080115: I want this as a standard feature on every external HDD now

I like C# so I would start with http://www.codeproject.com/Articles/13530/Eject-USB-disks-using-C

What a link! Thanks!

Any thoughts as to getting this working with an arduino?

C# has a serial port class, or if you know how, it's easy to get LibUsbDotNet working with V-USB or even ATmega8U2 or ATmega32U4