Solved

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

Posted on 2007-11-27
5
912 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

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…
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

757 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now