Lock Out the Windows Taskbar

If you are a administrator and you are getting fed up of people making changes to your systems that means your workload shoots up, well here is a great tip on how to lock out the taskbar.  We created a REG file that will take care of this change for you. To reproduce the REG file, run Notepad and enter the following information. Where you see the words BLANK LINE GOES HERE, press Enter to enter a blank line. Do not type in BLANK LINE GOES HERE.

REGEDIT4
BLANK LINE GOES HERE
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion Policies\Explorer]
"NoTrayContextMenu"=dword:00000001
BLANK LINE GOES HERE

Choose File, Save As, and name the new file lock.reg. Locate a folder for the file and click Save. When you double-click lock.reg, the information will merge with the Registry. After a restart, a right-click will have no effect. This also prevents users from right-clicking the Start button and choosing Open (or any other command). Since you may want to remove this protection at times, you can generate the following file to turn the right-click response back on:

REGEDIT4
BLANK LINE GOES HERE
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoTrayContextMenu"=dword:00000000
BLANK LINE GOES HERE

Name this one Unlock.reg and use it to gain access to the right-click menu again.

Win NT Index

Main Index

Search RD Techbase