PDA

View Full Version : This is a tricky one. Explorer.



w926
02-02-2002, 10:28 PM
By rightclicking on a directory or file there is a possibility to look at properties and also share files or directories from the context menu. Is there anyone that knows how to disable those functions for a user or clients machine? I rec it could be done somewhere in the the registry. But where and how? Please help me out!

rjkrash
02-02-2002, 10:51 PM
I don't believe you can selectively remove items from the context menu but you can disable the entire context menu. This is for Win2k and WinXP

For the current logged on user:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Policies\Explorer
VALUENAME "NoViewContextMenu"

Removes shortcut menus from the desktop and Windows Explorer. Shortcut menus appear when you right-click an item.

If you enable this setting, set value to 1, menus do not appear when you right-click the desktop or when you right-click the items in Windows Explorer. This setting does not prevent users from using other methods to issue commands available on the shortcut menus.

For all users created after being enabled...

HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\Cur rentVersion\Policies\Explorer
VALUENAME "NoViewContextMenu"

w926
02-03-2002, 12:16 AM
Thanks for hints, but I still wonder it might not is within the registry, could it be in a dll or some other script? The W2k needs to pick it from somewhere. Its not in the code itself I hope.
Any more ideas?

reghakr
02-03-2002, 04:50 AM
w926,

It could be in the ntshrui.dll file.

reghakr