Jump to content

Recommended Posts

Posted

Can anyone explain how I can hide a logical drive from another user. I was sure I read it here before but did a quick look through and couldn't find it. This would be for the set up in my sig.


Posted

I banged around and got lost..... I'll keep up the search now that I know the right tool. Thanks

Ok I found what I think you were talking about two questions. How do I specify user's and it only let me hide drives a,b,c,and d. I want to hide f.

Posted

Prevent Access to the Contents of Selected Drives (Windows 2000/Me/XP) - Trouble with this is you have to apply this to HKEY_CURRENT_USER, you'd have to deny access to registry also so they won't go in and unhide.

or Perhap's policy won't be what you need,

Go into My Computer and right click the drive and choose Sharing and Security. Security is what you want. This won't hide it but will Deny access or simply Remove their User names or to anyone except Admin's and System. But be careful, I blocked my backup drive D: once and had to reformat the C:\ to get back to it. I now watch what I'm doing. You have commandline that will do same thing's like this, xcacls.exe and cacls.exe.

Type those at command prompt for more info.

Posted

If this is for WinXP/2k, here's a registry tweak to do your bidding:

Windows Registry Editor Version 5.00

; Will apply only to currently logged-on user
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
; hide F: drive in "My Computer"
"NoDrives"=dword:00000007
;the user cant view the content of the drive and also stop them using - Run, DIR, or Map Network Drive
"NoViewOnDrive"=dword:00000007

Save this text (above "CODE" section) in a new text file as "hide-drive.reg" (see that you haven't accidentally saved as hide-drive.reg.txt). Then log-in with the user name of the user who should be restricted access to the drive, and double-click on hide-drive.reg, and when you are asked "Are you sure you want to add this info to the registry?", click Yes.

The above registry-code will disable viewing/accessing of the partition mapped to your F: drive from Windows.

Posted

I tried to use the script and I also went in to manually edit it with "regedit" the both wouldn't let me do it. The script said keys are in use...Any Ideas?

*edit*

Ok I got it to work. First to take care of the "keys are in use" error I just rebooted (I know I should have done that from the beginning). Second For some how the above code hid my c drive? So I went in a w/ rededit and set it back to default. I did a few more goggles. Well I went in a manually modified the values in binary to read 32 00 00 00. That worked so all is good. Thanks to everyone that helped.

Posted

prathapml

Value of 7 will hide A, B, C link above, I posted wrong one but it has link to hide drive which is what you posted, but its accumulative. For example to hide drive A and drive D, you would add 1 (A) + 8 (D) which means the value should be set to "9".

Hide Drives - http://www.winguides.com/registry/display.php/148/

Note: These drives will still appear in File Manager, to remove File Manager, delete or rename winfile.exe.

Posted

@sead0nkey-

It's nice that you posted some feedback at the end. It's always nice to know whether the solutions offered, worked or not. Well, so now I know how to get this thing working, after seeing what you did to solve your problem. This episode just proves that the learning experience (for me) never ends.

So, is it like this?

A:   = 00000001
B:  = 00000002
C:  = 00000004
D:  = 00000008
E:   = 00000016
F:  =  00000032
........
Z:  = 33554432

So, if I want to block access to Z: and C: drives, I would use the below code, is it?

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoDrives"=dword:33554436
"NoViewOnDrive"=dword:33554436

@maxXPsoft-

Does the code, similar to as posted above for Z:+C: work for you?

EDIT: bah, looks like I wasted time calculating the dword values for each drive all the way to Z. The same info was available in pretty clear terms at the site that maxXPsoft has referred to (above).

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...