Computing.Net > Forums > Windows 2000 > Regedit to hide CD-ROM and USB

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Regedit to hide CD-ROM and USB

Reply to Message Icon

Name: jimmy510
Date: April 8, 2005 at 23:16:58 Pacific
OS: Win 98
CPU/Ram: 512
Comment:


How can i change some registery setting to stop user viewing the CD drive so that the can not us it or even let me know that how can i stop ppl from using CD rom and Usb drives



Sponsored Link
Ads by Google

Response Number 1
Name: Rambler
Date: April 9, 2005 at 03:12:47 Pacific
Reply:

You can certainly do what you want - see here but it can be tricky to get it right unless you know a little HEX.

The value for all 26 drive letters visible is "03ffffff" in HEX, where the last "f" signifies drives D through A. To just hide drive D, the value would be "03fffff7".

If you want to proceed, but can't get the value right, post back and let us know which drive letters you want to hide.


0

Response Number 2
Name: Curt R
Date: April 9, 2005 at 06:10:33 Pacific
Reply:

I don't know how you'll prevent access to the USB but the CD-ROM is easy enough, just unplug it (the power and IDE cable).


0

Response Number 3
Name: CharlesAnderson
Date: April 10, 2005 at 08:03:28 Pacific
Reply:

You can go into local security policy in Admin tools & set the cd-rom acess (cannot access cd-rom locally), but i dunno about the usb

Heres another way of hiding the drives in my computer

User Key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

System Key:

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Key: NoDrives

Type: REG_DWORD

The "NoDrives" value uses a 32-bit word to define local and network drive visibility for each logical drive in the computer. The lower 26 bits of the 32-bit word correspond to drive letters A through Z. Drives are visible when set to 0 and hidden when set to 1.

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

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".

To disable all the drives set the value to "67108863".

Charles Anderson

cba@cfanderson.co.uk

228 London Road
Marks Tey
Colchester
Essex
CO6 1HD

Tel: 44 01206 211666
Fax: 44 01206 212363
http://www.cfanderson.co.uk


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Regedit to hide CD-ROM and USB

Can;t find cd-rom nor USB CDR www.computing.net/answers/windows-2000/cant-find-cdrom-nor-usb-cdr/43933.html

CD ROM AND BIOS SETTTINGS www.computing.net/answers/windows-2000/cd-rom-and-bios-setttings/29758.html

How to stop CD rom access www.computing.net/answers/windows-2000/how-to-stop-cd-rom-access/61832.html