HotSwap!

Copyright (c) 2004-2019 Kazuyuki Nakayama. All Rights Reserved.
View Kazuyuki Nakayama's profile on LinkedIn

Visitors since 11/18/2004 :

Web Analytics
Made Easy - StatCounter




Last modified 01/07/2019
The latest version 6.3.0.0 (01/07/2019 Updated!)

About HotSwap!

This software is developed based on the information Knowledge Base Article #10744 - SATA: Hot Plugging Drives under Win2000/XP (Internet Archive) provided by Silicon Image.

It does the same thing as you can remove device from Device Manager but it provides much friendly user interface as you remove the removable device from the "Safely Remove Hardware" icon in the notification area. It also ensures that all data are written and flushed to the disk before the device to be hot-swapped, so you can use SATA/eSATA drive as a removable device much alike USB/IEEE1394 drive.

Features

Supported Hardware and OS

Tested Hardware

The following hardware have been tested to work.

Directions for use

Extract the downloaded file and run HotSwap!.EXE, the icon will appear in the notification area. The program will automatically start up when user logs on.

 

Left click the icon, a menu will pop up listing drives.

 

To remove a drive, select the drive from the popup menu. A balloon will pop up saying that the device is safely hot-swapped and you can power off the drive to remove it from the system. The drive listed in grey is either selected as non-hotswap device or in use by Windows therefore cannot be removed.

 

Left click the icon while pressing Ctrl key, another menu will pop up and you can select a drive. Once the drive is selected in this menu, it won't appear in the drive listing menu.

 

Right click the icon, the configuration menu will pop up.

Configuration Menu

Scan for hardware changes

Does the same thing as you can do on Device Manager. This is used if the system doesn't automatially recognize new device.


[Device type]

Fixed disk drives
Removable disk drives
BD/DVD/CD-ROM drives
Safely removable devices
Non-hotswap devices

By default, only Fixed disk drives are listed in the popup menu. You can configure other type of devices to be included in the popup menu. The drives removable from the "Safely Remove Hardware" icon can be included. The non-hotswap devices also can be included but not selectable for removable.


[Language]

Chinese - Simplified
Chinese - Traditional
Czech
Dutch
English
French
German
Greek
Hebrew (01/07/2019 Updated!)
Hungarian
Italian
Japanese
Korean
Polish (01/07/2019 Updated!)
Portuguese
Russian
Spanish
Swedish

Select the language for the user interface.


Autostart

Starts automatically when the user logs on.


Display PDO

Display Physical Device Object (PDO) name instead and it is uniquely assigned to the deivce by Windows.


Spindown

Spin-down the drive upon the device removable.


Offline

Take the drive offline before removing the device.


Uninstall

Deletes the registry, disables the auto startup and then closes the program. You can then remove the program file.


Usage

Pops up a dialog showing the usage along with listing devices removable from the command line mode therefore only devices that have drive letter assigned. Invalid command line switch will also result popping up the usage dialog.


Homepage

Opens this homepage.


About

Displays version information.


Exit

Closes the program.

Command line mode examples

Remove a device for hot-swapping

HotSwap! C:
HotSwap! C:\MountPoint
HotSwap! \Device\00000080
HotSwap! \Device\Ide\IdeDeviceP1T0L0-1
HotSwap! DISK=7
HotSwap! \\?\Volume{d2361e8a-2978-10dc-9c18-816e6f6a6963}\


Suppress message popup

HotSwap! C: -Q


Scan for hardware changes

HotSwap! -S


Wildcard characters for PDO

HotSwap! \Device\Ide\IdeDeviceP1T0L0-?
HotSwap! \Device\Ide\IdeDeviceP1*
HotSwap! \*\Ide\*P1T0L0*
HotSwap! *P1T0L0??

ERRORLEVEL

ERRORLEVEL 0

The requested operation completed successfully.


ERRORLEVEL 1

The requested operation failed.


ERRORLEVEL 2

The command line switch was invalid.


ERRORLEVEL 3

The device was not found.


ERRORLEVEL 4

The requested operation was not supported.


ERRORLEVEL 5

The requested operation failed unexpectedly.

FAQ

What's the advantage of SATA/eSATA drives over USB/IEEE1394 drives?

The performance is much better than when converting to USB or IEEE1394. Generally speaking, USB maxes out at around 35MB/sec and IEEE1394(S400) maxes out at around 40MB/sec, whereas SATA/eSATA can go higher as much as 150MB/sec or 300MB/sec. Also the "Turn off hard disks" setting in the Power Schemes is applicable to SATA/eSATA drives.


What's the problem hot-swapping the drives without first removing them?

Windows doesn't expect the drive to be removed therefore the volume and the files may get corrupted if the drive is removed inappropriately. The followings are the typical system events indicationing the problem.


Why "The device 'X' cannot be stopped because a program is still accessing it." warning pops up?

This represents that HotSwap! failed to lock the volumes for exclusive access therefore the device cannot be removed because someone else is still accessing to the volumes. Try closing folders and files on the volume, then try again.

As of Version 6.0.0.0, the volumes are taken offline before the device being removed, the device is now more successfully removed.


Why "The device 'X' cannot be uninstalled right now because the device requested a system restart." error pops up?

Although HotSwap! ensures that the volumes are not in use before attempting to remove the device, however, Windows will deny removing the device if there is any reference remains on the device. This is often caused by the file system filter driver not handling the detach request appropriately but it is also caused by the file system itself. If this problem persists, you have to restart the system. If you have anti-virus software installed on your system, you may try uninstalling it to see if it fixes the problem.

As of Version 6.0.0.0, the volumes are taken offline before the device being removed, the device is now more successfully removed.


Why Windows locks up for seconds after the drive is plugged in?

Windows locks up (for 7 to 10 sec with 3.5" hard disk drives and 3 sec with 2.5" hard disk drives) while the disk spins up and the drive being recognized after the drive is powered on. It is unconfirmed, however, looks like the driver is holding the system while it is recognizing the drive.


Why Windows gets hard hang after the drive is powered on?

It is confirmed to happen when the hard drives are sharing the same power cable in which case if Windows is installed on one of the hard drives sharing the power cable, the hard drive becomes unstable and Windows stops working. This can be fixed by connecting the hard drives to individual power cables.


Why the drive doesn't spin-down after the drive is removed?

HotSwap! sends ATA standby command to the device through ATA pass through I/O request. However, there are requirements to get ATA pass through I/O request to work.


Does HotSwap! support Windows 2000?

Windows 2000 is no longer supported as of Version 3.0.0.0. Please use Version 2.0.0.0.


Does HotSwap! support Windows XP and Server 2003?

Windows XP and Server 2003 are no longer supported as of Version 6.0.0.0. Please use Version 5.0.0.0.


Why Windows Defender blocks to autostart and UAC requests for permission to run?

Autostart was changed to use Task Scheduler as of Version 6.0.0.0. Please upgrade to Version 6.0.0.0 or later.


Why the drive doesn't appear in HotSwap! while Explorer can see the volumes on the drive?

This is often caused by the drive being recognized as unknown class device rather than disk class device and CD/DVD class device. Once the drive is recognized as an unknown class device, it persists across the system reboot. You can fix this problem by uninstalling "Disk Drive" from Device Manager and then performs "Scan for hardware changes".


Why not only eSATA drive but also internal drive appear in the drive listing menu?

HotSwap! cannot distinguish the drive whether internal or external from the information available from Windows. If you don't want the drive to appear in the drive listing menu, you can do so by marking the drive as non-hotswap device.


Why Windows asks "Do You Want To Scan And Fix Removable Disk" for the drive removed on Windows 8?

Windows 8 seems leaving the dirty bit on the volume when the drive is taken offline. Try turning off the offline option from the configuration menu.


Why the balloon [device can now be safely hotswapped] doesn't show up when removing the device on certain configuration (e.g. running under WinXShell on Windows PE)? (01/07/2019 Updated!)

You can enable a workaround by adding the following registry so that HotSwap! uses the dialog instead of the balloon to show [device can now be safely hotswapped] message.

[HKEY_LOCAL_MACHINE\SOFTWARE\HotSwap!]
"NoBalloon"=dword:00000001

Download

HotSwap! Version 6.3.0.0

HotSwap! Version 6.2.0.0

HotSwap! Version 6.1.0.0

HotSwap! Version 6.0.0.0

HotSwap! Version 5.0.0.0

HotSwap! Version 4.5.0.0

HotSwap! Version 4.1.1.0

HotSwap! Version 4.1.0.1

HotSwap! Version 4.1.0.0

HotSwap! Version 4.0.0.0

HotSwap! Version 3.0.0.1

HotSwap! Version 3.0.0.0

HotSwap! Version 2.0.0.0

HotSwap! Version 1.1.0.2

HotSwap! Version 1.1.0.1

HotSwap! Version 1.0.0.0

History

Version 6.3.0.0 (01/07/2019)

Version 6.2.0.0 (02/13/2017)

Version 6.1.0.0 (06/22/2012)

Version 6.0.0.0 (03/09/2012)

Version 5.0.0.0 (11/11/2009)

Version 4.5.0.0 (01/10/2009)

Version 4.1.1.0 (02/09/2008)

Version 4.1.0.1 (01/04/2008)

Version 4.1.0.0 (12/08/2007)

Version 4.0.0.0 (09/17/2007)

Version 3.0.0.1 (06/17/2007)

Version 3.0.0.0 (10/23/2006)

Version 2.0.0.0 (03/25/2006)

Version 1.1.0.2 (04/08/2005)

Version 1.1.0.1 (01/06/2005)

Version 1.0.0.0 (12/31/2004)

Version 0.9.3.0 Beta3 (12/20/2004) - 0.9.3.2 Beta3.2 (12/23/2004)

Version 0.9.2.0 Beta2 (11/20/2004) - 0.9.2.1 Beta2.1 (11/28/2004)

Version 0.9.1.0 Beta1 (11/04/2004) - 0.9.1.3 Beta1.3 (11/21/2004)

Version 0.4.0.0 Alpha4 (10/29/2004)

Version 0.3.0.0 Alpha3 (10/15/2004)

Version 0.2.0.0 Alpha2 (10/11/2004)

Version 0.1.0.0 Alpha1 (10/09/2004)

Dismount (10/01/2004)

Test (09/30/2004)

Software License and Disclaimer

Permission is hereby granted, free of charge, to any person obtaining a copy of the "HotSwap!" software (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Donation

Donate to Kazuyuki Nakayama

Contact

Suggestion, question or comment? Please send a mail at kazuyuki.nakayama+HotSwap@gmail.com. Thanks!