Solved

how can i 'unmount' a drive in win2k ?

Posted on 2004-08-29
7
950 Views
Last Modified: 2008-01-09
i have 2 win2k's installed on my system which has 2 logical drives c: and d:
each drive is a root for a different OS (c:\winnt and d:\winnt)
when i run the first OS i don't want to see the drive d: and vice versa for the second OS (running it i don't want to see drive d:)
what i am trying to do is unmount a drive ... how can i do that - win2k always seems to "See" other NTFS drives
0
Comment
Question by:thedrs
  • 5
7 Comments
 
LVL 40

Accepted Solution

by:
Fatal_Exception earned 125 total points
ID: 11925612
I am not sure how you would do this with a script, but you can certainly hide the hard drive (letter) with a registry hack:

Follow these steps:
 
1. Launch the Registry Editor (Regedit.exe).
 
2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\
CurrentVersion\Policies\Explorer.
 
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.
0
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 11925616
BTW:  I meant scripting a dismount of the drive..  you could certainly hide the drive with a script..  :)
0
 

Author Comment

by:thedrs
ID: 11932543
the reason i am asking this is  that the computer holds sensitive work data on one of the drives and the other OS/drive is used for the kids and i don't want them or their, possibly trojan horse/virus, programs to have any normal/api access to the work drive.
the questions is - will this reg hack also help here ?
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 11933831
Correct..  this hack should work in your circumstance.  I suppose another work around may be to use the Device Manager to disable the drive, but if you children have a good understanding of computers (as most I have met) they will be able to circumvent this by turning it back on.  

There are other ways to lock this drive down too.  You could set the ACL's on the drive so only you can access it.  ACL = Access Control List...  meaning using the Security Tab to allow access to those users you choose.  

But if you want to hide it totally, I think that hack would work nicely..

FE
0
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 12325615
Think this one was resolved..
0
 
LVL 40

Expert Comment

by:Fatal_Exception
ID: 12358423
Thanks
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…

789 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