Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 14579
  • Last Modified:

DISABLE Right-click in windows XP

i've been searching around and haven't had much luck in what im looking for.

I'm Locking down a few hundred computers, and i need the right-click function disabled on the desktop.

also if possible disabling right-click in windows explorer but NOT my computer and my network places

please help
0
lgropper
Asked:
lgropper
  • 5
  • 2
  • 2
  • +4
1 Solution
 
jhanceCommented:
I don't think there is any Windows setting or registry value you can change to accomplish this quickly and easily, nor have I seen any software to do this.  It's kind of an odd request.

I'm sure it can be done using the same techniques that keystroke loggers use.  They capture the Windows message that they are interested in and do their thing.  In your case you would want to capture the WM_RBUTTON messages and examine the application they are coming from.  If it's one of the non-allowable apps, you would "eat" the message, otherwise you'd pass it on to Windows for normal processing.
0
 
lgropperAuthor Commented:
how abuot removing things like:

-rename
-copy
-paste

etc when you right click
0
 
jhanceCommented:
I suppose anything is possible.  To do that you're going to have to intercept the message that create the context menu and disable or remove the undesirable items.  Not impossible but certainly non-trivial.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
lgropperAuthor Commented:
how would i go about doing this.  i just want to disable some of the right clicking features not all of them, just the most important ones, EX copy, deleting and cutting
0
 
Yancey LandrumTechnical Team LeadCommented:
Well, we can disable the context menu, but it will happen for everything except Internet Explorer. My Computer and My Network Places are both really Windows Explorer; I know of no way to allow the context menu for certain folders while disabling it for others.

This can be done for either individual users, or on a per-machine basis.

To Enable/Disable for Current User

Registry Key:  HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Data Type: DWORD
Value Name: NoViewContextMenu
Value Data: [0 = Disabled / 1 = Enabled]
Exit Registry and Reboot

To Enable/Disable for Local Machine

Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer
Data Type: DWORD
Value Name: NoViewContextMenu
Value Data: [0 = Disabled / 1 = Enabled]
Exit Registry and Reboot

If you just want to disable certain items on the context menu, you can use ShellMenuView (http://www.nirsoft.net/utils/shell_menu_view.html) or ShellExView (http://www.nirsoft.net/utils/shexview.html). Alternatively, you can do it manually via registry; here is a fairly comprehensive guide: http://www.jfitz.com/tips/rclick_custom.html

0
 
lgropperAuthor Commented:
i attempted to  

To Enable/Disable for Current User

Registry Key:  HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Data Type: DWORD
Value Name: NoViewContextMenu
Value Data: [0 = Disabled / 1 = Enabled]
Exit Registry and Reboot

but it seems that you cannot right click anywhere including my computer,internet explorer and my network places.
0
 
lgropperAuthor Commented:
sorry about that i don't have internet explorer on my desktop so i'm not sure if it work or not, but my computer doesn't let your right click
0
 
Yancey LandrumTechnical Team LeadCommented:
Yeah, that's why I said, "we can disable the context menu, but it will happen for everything except Internet Explorer." It is a global setting.

Also, it appears that you cannot disable copy, paste, or rename with the tools I mentioned. As I think about it more, even if we disable the menu items the actions themselves can still be accessed via keyboard shortcuts. What we want to do instead is stop the behavior itself; no easy task.
0
 
lgropperAuthor Commented:
any ideas on how to stop this function via the keyboard and also using the right clicking the mouse. I'm aslo wondering if theres another way other then right clicking to get for example manage, properites, Map network from my computer and my network when the right click is disable, thanks sorry to bother you but i must find a way in order to do this
0
 
WickedMetalHeadCommented:
I highly doubt there is any method of removing copy/paste as it is a core function to Windows. Not allowing access to properties and other "config" dialog's is doable, its been awhile but I believe its done in the registry.
0
 
freshprince27Commented:
lgropper,

It is possible to disable all the keyboard shortcuts; therefore, a combination of disabling the keyboard shortcuts and disabling the right-click menu might solve your problem.  If you have Windows 2000 the following website explains thoroughly how to disable the keyboard shortcuts.

http://support.microsoft.com/?kbid=181348

Or, you can use this program

http://malektips.com/2000wt0013.html

If you have Windows XP, I am still trying to find a method to use.  

Hope this helps,
freshprince27
0
 
NelsonTorresCommented:
I recently had to remove right click function from several comps.
I used TweakXP

http://tweakxp.com/tweakutility/

its not free but i bought it. Its great
0
 
nmgstgCommented:
I created the "NoViewContextMenu" DWORD entries for HLKM and HKCU, and set the value to 1. The only place where this appeared to have any effect at all on my WinXP SP2 system was in Windows Explorer. Everywhere else was totally unaffected. From what I read above, this is not the expected behavior.

What I am really trying to do is to disable the right-click menu on an Adobe PDF that is displayed through Internet Explorer, and I cannot use any means of restriction in the PDF itself to do this. Any thoughts?

Thanks!
0

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

  • 5
  • 2
  • 2
  • +4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now