Link to home
Start Free TrialLog in
Avatar of dengolding
dengolding

asked on

How do I hide a drive

This question has appeared in a different form but didn't quite meet my need.
One of my clients has hidden the C: drive on all the network computers so that they can't load programmes or data there.
I need to do some testing on my programme to see the effect of this and wish to load it onto my D: drive logged on with admin rights, and then hide it for a user without admin rights, then switch to that user and carry out the tests, then make it visible again. The programme on the hidden drive will have a shortcut on a visible drive otherwise they couldn't boot it of course.
The client has XP and I have Win7
Avatar of yo_bee
yo_bee
Flag of United States of America image

Using group policy.

http://support.microsoft.com/kb/231289

User Configuration, Administrative Templates, Windows Components, and Windows Explorer
ASKER CERTIFIED SOLUTION
Avatar of yo_bee
yo_bee
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dengolding
dengolding

ASKER

I've typed gpedit.mcs and will look through it and get back to you. thanks.
I'm on site for 4 days so please be patient while I try your suggestions
Do you have a domain in place?
My client has a domain and I can't touch their computers. I have workgroup computers I nee to do this test on.
Should be straight forward.

Good luck.
I've found the relevant item in group policies but won't try it out on my laptop today as I'm carrying out some training don't want to risk a situation. However, I'll do it tomorrow - looks like it could be the answer.
I managed to hide the D: drive in windows explorer through user admin templates so the solution worked. However, it didn't solve my problem. Before hiding the drive, I copied my programme and DLLs to that drive and made a shortcut to the desktop. The drive was then hidden and the shortcut clicked. The programme started which is correct but when I queried the drives, the D: drive showed up so it had only been hidden in Explorer and not completely to the user. So, I'm still looking for a way to hide it so it doesn't appear in any folder dialog windows.