Advertisement

06.26.2008 at 04:59AM PDT, ID: 23517767
[x]
Attachment Details

Run "Rescan Disks" from command line

Asked by Tomer73 in SBS Small Business Server, Windows XP Operating System, Windows 2003 Server

Tags: Microsoft, XP >> Disk Management

Is there a way to execute the service "Rescan Disks" from the command line.
The manual way to run it is right click my computer then Manage >> Storage. Right click on "Disk Management" and there is an option to "Rescan Disks" but I'd like to run it using an automated scheduled task.

I need this in order to automate the "hot swap" of our SBS Server's mobile rack hard drives that are used for daily backup. That is, when using SNT's ST-136SATA mobile rack, which is supposed to be hot swappable, there is an option to turn off the hard drive power and switch with another drive while the server is running. Unfortunately, when replacing the drive with another one the drive is removed from the drives list available in the Windows Explorer and in the "Disk Management". The only thing that makes windows to recognize the disk is "Rescan Disks" command.

If not, is there any other alternative to make windows recognize the hot swapped drive?


Thanks,
Tomer.
Start Free Trial
[+][-]06.26.2008 at 05:02AM PDT, ID: 21873813

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.26.2008 at 05:05AM PDT, ID: 21873832

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: SBS Small Business Server, Windows XP Operating System, Windows 2003 Server
Tags: Microsoft, XP >> Disk Management
Sign Up Now!
Solution Provided By: KCTS
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628