PDA

View Full Version : Hiding Partitions in XP


Henhead
24-01-05, 23:11
I have recently setup my pc a dual boot system (2 instances of XP pro) I have two drives installed. The first drive has one partition, the second I have split into 3 partitions.

Can you hide a specific partition from the running os, as I want to hide one xp installation partition from the other one?

I can hide the icon for one partition by adding a line to the registry

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer/nodrive
And adding these values as a REG_DWORD

1 = A Drive
2 = B drive
4 = C Drive
8 = D Drive
16 = E Drive
32 = F drive

And adding two values together to hide two drives eg. The value 12 would hide drives C + D.

However if I type in the drive letter for the hidden drive in explorer or Firefox I can access the folders/files etc.

Can anyone give me an alternative method that will hide the partition from xp so that it can not be found/touched in anyway?

Joseph
24-01-05, 23:29
Hi Henhead, are you sure you want it to NOT be found in any way? Then i suggest you edit the boot.ini file and delete the line for that disk. Only don't know how you are going to access the disk again after?

[EDIT: yes i know, you can access it after, via the WinXP installation you have visible and openly. Just go via My Computer / *Partition to your 'hidden' disk.

[ 25. January 2005, 00:34: Message edited by: joseph ]

Henhead
24-01-05, 23:47
Hi Joseph http://www.tombraiderforums.com/images/smilies/wave.gif

I have these hard drive partitions on my system now

C: XP installation 1
D: XP installation 2
E: Data drive
F: Data drive

I am using the boot menu that XP uses automatically when you install more than one OS on your system.

My boot.ini looks like this at the moment

[boot loader]
timeout=180
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Win XP - Internet - Games - Other - etc (Normal)" /fastdetect /NoExecute=OptIn
multi(0)disk(0)rdisk(1)partition(1)\WINDOWS="Win XP - DVD - TV - Music Setup (Multimedia)" /fastdetect /NoExecute=OptIn

What I want to happen is that if I boot XP1 I want drives C:, E: and F: available only, and if I boot XP2 I want drives D:, E: and F: available to me.

So if I remove either partition from the boot.ini I will no longer be able to boot from that partition.

Hope this information makes what Iím trying to achieve a bit clearer
http://www.tombraiderforums.com/images/smilies/whistle.gif

Bokkie
25-01-05, 06:42
Right click My Computer, choose Manage. Computer Management should open. In the left tree click on Disk Management. On the right side in partition list, right click on your desired partition and choose Change Drive Letters and Paths.

http://www.tombraiderchronicles.com/~bokkie/hide_partition1.gif

When you click on this option, you'll get the next window. There you may Add, Change and Remove drive letter for selected disk/partition

http://www.tombraiderchronicles.com/~bokkie/hide_partition2.gif

You need to repeat this procedure for each partition/drive you need to hide. Just choose Remove. Also, you need to repeat the same for each Windows XP instance.

This procedure removes the partition/drive to be displayed in Windows XP. It does not delete partition or drive. Also, if you change your mind, you may add a drive letter for partition that has been removed at any time ;)

Hope that helped http://www.tombraiderforums.com/images/smilies/smile.gif

[ 25. January 2005, 14:02: Message edited by: Bokkie ]

SpArKy
25-01-05, 09:06
Hmm thats interesting to know Bokkie thanks, theres a lot of talk about Partitioning at present, i may have to try it. As well as read some info on it first as well, lol.

Henhead
25-01-05, 22:18
Thanks Bokkie http://www.tombraiderforums.com/images/smilies/wave.gif , I have had some joy with this I could hide drive D: from XP1, but could not hide drive C: from XP2. I received this error

'Windows cannot remove the drive letter of your system volume or boot volume' http://www.tombraiderforums.com/images/smilies/c-1.gif

Is there an easy way to move my boot volume from C: to say drive E: Or F: and leave drives C: and D: purely as system volumes? :confused:

Bokkie
26-01-05, 07:42
You may not change the letter for system volumes. However, you may change drive letters for other partitions http://www.tombraiderforums.com/images/smilies/smile.gif