Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Hide Open and Open as option

Status
Not open for further replies.

vicentell

Technical User
Sep 18, 2003
84
MX
Hi everyone

Is there anyway to hide or do not show the “open with” and “open” options on the program checkbox?
The one appears on the right click on your mouse

I found that from any program, let said mspaint you can open text files using the “open” or “open with” options I want to avoid that

I know there is a way changing a key on the registry but is not working I am looking for an alternative way to accomplish it.

[HKEY_CLASSES_ROOT\Unknown\shell\openas\command]

To disable the check box change the value of "(Default)" to "rundll32.exe shell32.dll,OpenAs_RunDLL %1 %2".

To enable the checkbox change the value to "rundll32.exe shell32.dll,OpenAs_RunDLL %1".



Thanks in advance.



 
You could pass explorer.exe as the underlying object program; or define all instances you might see in Explorer for only allowed underlying object programs; or use Group Policy to allow only certain .EXE programs to be used; or strip the right-click contect menu of the Open with object verb:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top