I had this issue for an external USB Hard Drive. I fixed it by opening Device Manager,
Under USB controllers, right-click on USB Mass Storage Device and select Properties. Click on the Power Management tab and uncheck "Allow the computer to turn off this device to save power".
Now my external HD keeps running instead of powering up and down at the whim of the stupid OS.