Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is this possible to disable or remove the right click on a file print option? Seems like it should be possible.

share|improve this question
Why per se is this a problem? If you don't want users to print don't install printers. – Brent Pabst Oct 9 '12 at 18:32
up vote 2 down vote accepted

Those kinds of options on the right-click menu are assigned per file type. If you're only interested in targeting a few file types, you can remove the print command from those file types.

For example, for PDF documents, go to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.pdf and look at the default value. On my computer, the value is AcroExch.Document. So then you would go to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\AcroExch.Document\Shell and delete the print subkey.

share|improve this answer

You can disable Explorer's context menu with a GPO.

share|improve this answer
Is it possible to edit the context menu to only disable the print option? As the other options should still be able – Jjsquared Oct 9 '12 at 18:52
Not that I know of. Why do you need to disable the ability to print? You may need to look into AD RMS. – joeqwerty Oct 9 '12 at 18:56
Is it possible to edit the context menu to only disable the print option? Yes, this is possible, as the context menu (and all its entries) are controlled by simple registry keys. The Print option, however, is held in multiple keys (one per file type), which makes it a pain to get rid of. Maybe I'll post a how-to after work, if my new game isn't waiting for me when I get home, but honestly, the better approach is to just ignore it, and/or severely beat users who bug you about it so they shut up. – HopelessN00b Oct 9 '12 at 19:05

Although you evidently have to remove these registry keys for individual file types, this is the most comprehensive list for it that I've found:

Windows Registry Editor Version 5.00

;-------- Remove "Print" from context menu for image files

;-------- Remove Print From common text-based files

;-------- Remove Print From Internet Shortcut

;-------- Remove Print From Acrobat-/Foxit-registered .pdf files

You can copy and paste this into a file of type .reg and double-click it to run it.

From here

share|improve this answer

For entire classes, and this works especially well to get rid of EDIT and PRINT for all images (which are useless entries, in my opinion), go to:

HKEY_CLASSES_ROOT\SystemFileAssociations\image, go to the node containing the command you want to disable, and make a new STRING value entitled "LegacyDisable" under that node.

So, for example, if you want to disable "print", go to HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit, and make a new STRING value entitled "LegacyDisable" under that node.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.