venkataramanaiahsr
asked on
Restricting drive access using group policy
I have a remote user for whom i need to give mapped drive access only. ( i have mapped a shared folder in the server). I want to hide all other drives. But in group policy i have two options " Prevent access to my drive " and " hide these speicfice drive". in these option i have option to hide/restrict only A,B, C, D drives.
how to hide say a g drive or h drive.
how to hide say a g drive or h drive.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Just give the user a mapped drive for what they need. If the other drives are not present then you do not need to hide them.
HKEY_CURRENT_USER\Software
Value name : NoDrives
Type : Reg Dword
Value Data :
Decimal values for the drives .
To hide A: 1,
To hide B : 2,
To hide C : 4,
To hide D : 8,
To hide E : 16,
To hide F : 32,
To hide G : 64
To hide H : 128
By this time you know how this algorithm works, You can calculate the values yourself for a particular number
If you want to hide more than one drive, just sum up the values. Like to hide E and F, the value data would be “16+32¿ = 48