[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

how can i 'unmount' a drive in win2k ?

Posted on 2004-08-29
7
Medium Priority
?
956 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
Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

 
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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
Working from home is a dream for many people who aren’t happy about getting up early, going to the office, and spending long hours at work. There are lots of benefits of remote work for employees.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

656 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