Execute a program when a USB stick is removed
USB Safely Remove has such a feature: it can start a program when a USB device is removed.
Another USB Safely Remove feature that distinguishes it from similar software is starting any applications not only after connecting a device, but also before removing it. The autorun feature allows you to set up data backup before disconnecting a removable hard drive, to run Total Commander with the contents of the pen-drive, automatically unmount an encrypted TrueCrypt drive before disconnecting the USB media, etc.
USB Safely Remove works great on Windows 7 (also in 64-bits).