Solved

Re-read Windows (NT/2000/XP/Vista) Partition Table without reboot?

Posted on 2007-11-27
5
936 Views
Last Modified: 2010-04-21
Hi there,

I was wondering if there was any way to force Windows  (NT/2000/XP/Vista) to re-read the partition table without rebooting, much like partprobe for Linux?

Thank you for any help in this matter!

s_kipjack
0
Comment
Question by:s_kipjack
  • 2
  • 2
5 Comments
 
LVL 7

Expert Comment

by:nttranbao
ID: 20363691
Go to Disk Management, it will automatically refresh the status of the Partition Table.
0
 
LVL 5

Expert Comment

by:pavaneeshkumar
ID: 20363820
right click on Disk Management and select rescan disk.

it will rescan the disk and will reload/re read the partation table.
0
 

Author Comment

by:s_kipjack
ID: 20371707
Thanks for the response!  So, if Disk Management will force a rescan, then I should be able to force a rescan with c++ using win32 api? Correct?

Does anyone know the api call for that?

s_kipjack
0
 
LVL 5

Accepted Solution

by:
pavaneeshkumar earned 500 total points
ID: 20371951
check this link to findout Windows API available for disk management

http://msdn2.microsoft.com/en-us/library/aa363986.aspx
0
 

Author Closing Comment

by:s_kipjack
ID: 31411366
Thanks for the link!
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Migration of Exchange mailbox can be done with the ExProfre.exe tool. But at times, when the ExProfre.exe tool migrates the Exchange Server user profile, it results in numerous synchronization problems. Synchronization error messages appear in the e…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question