Solved

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

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
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…

830 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