Hello. I'm trying to create a software in VB.Net to disable the following from a Windows 7 pc.

- Cut, copy, paste, rename, delete, open, print, share, create shortcut, open with, send to, properties.

I want to give users the option of disabling them selectively/individually via checkboxes so those options will be disabled in the right-click of a mouse.

I'm aware that to do so I must disable them from the Windows registry.

My problem is I don't know which is the right key to disable as the registry is so huge & some keys are similiarly named.

Could anyone help me to say what are the exact key locations of the above-mentioned right-click functions in the Windows Registry ?

I'd be deeply grateful. Thank you.

If you want to prevent user to doing something you usually can achieve that with (local) group policy objects. You edit LGPOs with Group Policy Editor, but GPOs in fact modify your registry just like you thought.

You can download available Group Policy settings and check if you find those settings you want to disable. Downloadable Excel files also show which registry key will be modified (if I remember right). And those are the registry keys your .NET app will modify.

A word of caution: do NOT test registry modifications in your machine. Get a separate test machine or better yet, use a virtual Win7 machine for testing purposes. A messed up registry is definitely something you don't want to have in your (only) machine :D Good luck!


This article has been dead for over six months. Start a new discussion instead.