?
Solved

how can i 'unmount' a drive in win2k ?

Posted on 2004-08-29
7
Medium Priority
?
954 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
7 Comments
 
LVL 40

Accepted Solution

by:
Fatal_Exception earned 375 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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…
Introducing Priority Question, our latest feature.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

777 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