Hide the drive icons

  • 1>>>>> Create Legal Notice Logon Dialog Box

In situations where you need users to read a legal notice before logging on, this tweak will create the caption for the notice.

Start] [Run] [Regedit]

Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Modify/Create String Value of Data type REG_SZ Named [LegalNoticeCaption]
Value Data for LegalNoticeCaption: [Type the Caption for the Dialog Box]

Modify/Create String Value of Data type REG_SZ Named [LegalNoticeText]
Value Data for LegalNoticeText: [Type the Data for the Legal Notice]

Exit Registry / Reboot




  • 2.>>>>>>>>> to disable folder options:

REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoFolderOptions"=dword:00000001


to enable write dword:00000000





  • 3...>>>>> to hide the drive icons
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

In the right hand pane of the Explorer key create a new DWORD value named NoDrives

Double click it and use the following guide to determine what number to enter as the decimal value data

To hide ALL drives, enter this decimal number:
67108863

which is the equivilant of 0x3FFFFFF in hex


To hide any specific drive, enter the number corresponding to your drive letter as shown in the list below:
i.e. to hide drive C: enter 4

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

To hide any combination of drives, simply add up the values for each drive and enter the total as your value.
For example, say you want to hide D: and G:
D=8
G=64
Total =72 which is what you would enter


Reboot or log off and log in again for the changes to take effect.

Note - this only hides your drives in My Computer and Explorer. It does not prevent someone from using the command line from accessing the drives.


  • Making drives inaccessible

As an alternative to hiding a drive, you can opt to make it inaccessible so that an error messagw will pop up when the drive is double clicked.
Here's how to do that:

Go to the same key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

In the right hand pane for the Explorer key, create a new DWORD value named NoViewOnDrive

Double click the new value and use the same method as used for hiding drive icons to determine the decimal number to enter.

Once done, reboot or log off and login in again. Then try double clicking the drive you made inaccessible. You should receive a message stating that the drive cannot
be accessed.

0 comments :

+