ITman
Ex Member
|
I just did find a work around. You can remove the drive from being displayed in Windows Explorer (Includes My Computer and all windows 'save' dialogs). However, the drive is still available to the system for use. (ie. DBA...) There is a key in the registry to disable the viewing of drives. This is what I did and it worked perfect: 1. [Hkey_CURRENT_USER\Software\Microsoft\Windows\CurrentVesion\Policies\Explorer] 2. Add a Dword Value there called 'NoDrives' 3. Modify it (decimal value) to a number that corresponds to the drive you would like to hide from users. It is binary and the values start at A: and go all the way to Z:. For example, drive A: is 1, B: is 2, C: is 4, D: is 8... etc.. You can disable all drives with a value of 67108863. So, if I want to hide drive M: (the drive I currently mapped to DBA, I used value 4096). You can also add the values together. To hide drive A: and drive C: you would use 5. I used Windows 2000 server with Active Directory and I will be pushing this registry value out to all machines when they logon with group policy. I just tested it with a test machine/user I have setup and it worked excellent. DBA works as normal and the drive is gone. Remember that changing the registry is risky business if your not careful, so make backups (as always...) and watch out. Especially, if you have it to import to all machines on the network... -Just offering advice for other DBA admins that encountered this, I'm not responsible if anything goes south. Also, it's important to note that the drives will be hidden to casual users. You can still get to the drive by going through the command prompt (which I disabled for normal users here anyway) or using winfile.exe (which I will delete from all machines soon). -Keith
|