Hot-swapping drives in Windows 7
by Jon Gjengset
I have recently bought two external SATA docking stations – one internal ( i.e. it fits in a 5.25″ bay, and loads the drive from the outside like a large floppy ), and the other one completely external and connected through eSATA. For the first couple of weeks, I thought hot-swapping was not possible with these, and kept rebooting if I wanted to swap out a drive, however one day I came across a setting in BIOS describing how SATA drives should be treated. It was set to “IDE compatible”.. The other options were “Enhanced” and “AHCI”. I tried googling this, and soon found that AHCI is actually a technology that enables plenty of the cool features of the SATA technology – most notably hot-swapping!
I enabled AHCI, booted up the computer, and Windows 7 presented me with a BSOD… Again, Google was my friend, and I found several other people who got the same problem when enabling AHCI after install. It seems as though Windows 7 checks for AHCI when installed, and determines then whether to load the AHCI drivers or not.. It then never checks again…. Smart…
Luckily, there is a solution.. First you have to get back into Windows my resetting the SATA drives to “IDE compatible” mode. Next, open up the registry explorer, and follow this guide: http://support.microsoft.com/kb/922976. If it is already set to 0, set it to 1, then to 0 again, and reboot. Now, set the drives to AHCI in BIOS, and reboot again. Hopefully your Windows should start up without a bluescreen.
Now, all your SATA drives will appear when you use the “Safely remove device” icon near the clock in the bottom right corner. If you choose to remove a drive, you can eject it from there and then take it out and put in a new one. This is where the problems start to arrive though. Sometimes, this approach works without a problem, but sometimes Windows simply goes silent, and acts as though nothing has been connected at all. Other times, it tells you that it has found partitions, but that they are in RAW format, and have to be reformatted!
After living with this for a couple of days, I decided that there had to be a more stable way of doing this, and that was when I came across HotSwap!. This piece of software is made for managing hot-swap drives in Windows, and once installed, allows you not only to scan for new drives ( and load them properly! ), but also to safely remove them AFTER doing a spin-down.
After running this stand-alone .exe, you can set it to autostart with Windows. After that, whenever you want to swap a drive, just right-click the hotswap icon at the bottom right near your clock, safely remove the device you want to swap, exchange the drives and choose “Scan for changes” in the HotSwap! menu and up comes your drive!
Happy hot-swapping!
[…] Hot-swapping drives in Windows 7 Good details. Nice to know. Click here. […]
Other times, it tells you that it has found partitions, but that they are in RAW format, and have to be reformatted!
I always get this result and haven’t find the solution yet (even with hotswap!). =[
Yes, I have had the same problem occasionally..
It seems it only happens with NTFS, at least as far as I’ve experienced.
I have not come up with a solution yet, but a reboot with the drive attached usually does the trick.
Jon
Thx for the hint. It solved lots of problems in my Win7 System under Hot Swap. Here is a working link to that fine software. http://mt-naka.com/hotswap/index_enu.htm
Thank you guys! You saved my day.
Good work people
Here’s a simpler way to do it, no downloads, no configuration, no driver changes:
1. Open Disk Management (run diskmgmt.msc).
2. In the left column, where it says Disk 0, Disk 1, etc., right-click the disk you want to remove and select “Offline” from the context menu. Wait until “Online” changes to “Offline” and a red down arrow overlay appears.
3. Unplug the power and data connectors from the drive and remove it.
4. Insert the new drive and plug the power and data connectors
5. In Disk Management, select “Rescan Disks” from the Action menu.
This usually works, though I’ve seen rare cases where Windows refuses to recognize the new drive on rescan and you have to reboot. However, I’ve never seen a case where offlining a disk and removing it causes system instability. Also note that this doesn’t work (or doesn’t work well) if you’re using the old style 4-pin white Molex power connectors. I’m not sure why this makes a difference, but apparently it does.
Adi, do you have any resources or links for your post? I’d like to do some more research on what you’ve posted here. Thanks!
Thanks Adi!! It works (-:
this works awesomely – thanks man… Kept pluggin in a drive and having it not show up, and this solved the problem. Cheers.
Anyway to get new posts delivered to my inbox? Or
perhaps simply a message announcing there are fresh posts on your blog?
That would be truly great! Please tell me if that is doable.
You could just use an RSS reader and follow the RSS feed :)
Link down…
As of September 30, 2014,
the Verizon Site Builder tool has been decommissioned
and all online Personal Web Space pages have been deleted.
Thanks! Link fixed.