Assuming I have a 100GB drive and I want to put reinstallation software using 1GB. I would like that 1GB to he hidden - not from users but from the OS. Assuming Windows XP and later. Is there a series of API calls I can use to do that? What other techniques are there to 'hide' a portion of a hard drive?
Simply assign the hidden flag to that partition. gparted does that quite well.
Alternately change its type to compaq diag.
If it is GPT style disk, you can change GPT type GUID to OEM GUID. That will make that partition hidden from all the disk tools (Explorer, Disk Mgr etc).
From the first google search for "hide a drive in Windows"
How to hide a drive in Windows XP:
Navigate to:
HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\ Explorer
From the menu, navigate to Edit -> New -> DWORD Value
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.