Question Locked

Hide a system folder...

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Ok, so I have this dual-boot setup that has to run until semester break when I can redo it yet again. Ubuntu on the Primary Master and WinXP on the Secondary Master - with the exception of the boot files which sit in a little bitty partition on the primary.

No problem goofing it up in Ubuntu as it is clearly labeled as the XP bootloader stuff. But in XP it is just a drive letter:System. I want to hide this from me because I am goofy and may inadvertently write to it which I do not want to do. Is there a way to hide this part of the primary partition from XP?

No, hiding essential system files and folders doesn't work, probably because it sits on a completely different hard drive.

Yes at semester redo XP goes back on the primary partition. Poo. But I was kind of afraid it wouldn't load boot files to the secondary, and I was right. :(

Thanks.

4 replies

by rob miners

Wouldn't it be nice to be able to hide that drive from users to prevent any mischievous exploration? You can do so with a simple registry edit.

Follow these steps:

1. Launch the Registry Editor (Regedit.exe).
2. Navigate to HKEY_CURRENT_USERSoftwareMicrosoftWindows CurrentVersionPoliciesExplorer.
3. Right-click the Servers key, and select New | DWORD value.
4. Name the value NoDrives.
5. Press [Enter] twice to open the Edit DWORD Value dialog box.
6. Using the list below, type a number that corresponds to the drive you want to hide in the Value Data text box, and click OK.
A: 1
B: 2
C: 4
D: 8
E: 16
F: 32
7. Close the Registry Editor.

You must restart the system or log out of Windows XP in order for the change to take effect.

To hide other drive letters that we didn't list, follow the pattern of doubling the number for each successive drive. For example, drive G: would have a value of 64.

To hide multiple drives, add the values together. For example, to hide drives A: and B:, use a value of 3. If you want to hide all drive letters, use a value of 67108864.

Note: Editing the registry is risky, so be sure you have a verified backup before making any changes.

by boxfiddler Hot topic

Haven't implemented it yet, but it's on the weekend agenda along with re-installing Ubuntu.

No worries, will back up the reg and set a restore point as well. A little redundance never hurts! :)

by rob miners

it reminds me of the days when we had to hide drives from the students.

This discussion is closed to new replies.