Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nodrives

Status
Not open for further replies.

Cocallis

MIS
Nov 29, 2001
10
TH
I am using W98 w/s with NT4.0 server. I am trying to hide the drives in My Computer using user policies and I have been sucessful in only showing a: and a network drive g:. I did this by editing common.adm, category shell, policy HideDrives and changing the value to hide all drives except a and g. No problems and this has been working for about 6 months. However now I want to add a new drive, I changed the value (converting in my best binary...) but nothing happened. I then decided to try another way and to show all drives except c:. I changed the value in common.adm to 4, but again nothing.
Please can anyone shine some light on this, I really don't understand why this is happening!

 
Try this (extract from the Registry helpfile):
___________________________________________________________
Hide Drives in My Computer (All Versions)
This setting controls which drives are visible in 'My Computer', it is possible to hide all drives or just selected ones.
The value of 'NoDrives' defines which drives are visible. The low order (right most) bit is drive A: while the 26th bit is Drive Z: To hide a drive, turn on it's bit.

If your not happy working in Hex, add these decimal numbers to hide the drive(s):

A: 1, B: 2, C: 4, D: 8, E: 16, F: 32, G: 64, H: 128, I: 256, J: 512, K: 1024, L: 2048, M: 4096, N: 8192, O: 16384, P: 32768, Q: 65536, R: 131072, S: 262144, T: 524288, U: 1048576, V: 2097152, W: 4194304, X: 8388608, Y: 16777216, Z: 33554432, ALL: 67108863

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

Settings:
Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\PoliciesExplorer]
Name: NoDrives
Type: REG_DWORD (DWORD Value)
__________________________________________________________ -----------------------------------------------------
"It's true, its damn true!"
-----------------------------------------------------
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top