If you use Group Policy, this is easy. Here’s how:
-
Open the application in question (it was MS Word for me). Hit Alt-F11 to open the VBA window. If you have not opened this before, do not be overwhelmed by the looks of it; our task is simple.
-
Open the Immediate Window from the View menu.
-
Paste this code, and change it to exactly match the menu item that is to be disabled. Make sure you have any punctuation.
? commandbars("menu bar").controls("**file**").controls("**save as...**").id
-
When you have typed that, hit Enter. You should see a number just below what you typed. Make a note of that, and close the VBA window.
-
In the Group Policy editor, navigate to user configuration, Administrative Templates, Microsoft Office Word 2003, Disable items in user interface, custom. If you have not added the MS Word 2003 Administrative Template, you will need to do that first.
-
Add the code to the this item.
-
Close out of the GP editor, and wait for the policy update to propagate across the domain. You can force propagation immediately on a workstation by typing “gpupdate” in the Run box or command line.
If this was helpful to you, please leave a comment below!