Sunday, July 29, 2007

WINDOWS TIP # 18: Remove unnecessary right-click print context menu items

Uncovered a few right-click context menu items for those of you like me who don't have printers.print delete

Windows Registry Editor Version 5.00

;Remove Print From HTML Files
[-HKEY_CLASSES_ROOT\htmlfile\shell\print]

;Remove Print From Wordpad RTF Files
[-HKEY_CLASSES_ROOT\rtffile\shell\print]

;Remove Print From Batch Files
[-HKEY_CLASSES_ROOT\batfile\shell\print]

;Remove Print From CMD Files
[-HKEY_CLASSES_ROOT\cmdfile\shell\print]

Copy paste the code in notepad and save file as .reg file.

Run the file, double click it and an information box will pop up asking if you want to merge the information in the file into the registry, click yes.

You can now delete the registry file as you won't be needing it any more.

UPDATE: Remove all "Print" item from the context menu(s) of files:

Download

Technorati Tags: , ,

18 comments:

Johnny said...

Awesome, the download was just what I was looking for!

Johnny said...

BTW this works for me in Windows 7

Danial said...

Thanks a tonn :D

Anonymous said...

thanks a lot. this worked perfectly

Anonymous said...

I added
[-HKEY_CLASSES_ROOT\txtfile\shell\print]
to remove the menu from text files also

gorcq said...

Very useful article. Any idea how to get rid of it on PDF files? There doesn't seem to be an HKEY_CLASSES_ROOT\pdffile key in my registry. I'm also noticing the same problem with old-style word files as well as all types of images.

ViRuSTriNiTy said...

The print entry in the context menu is the dumbest thing ever in the windows world.

If you are using the "Open with..." entry very often and you don't have additional software installed that put its own entry between "Print" and "Open with..." you are going crazy very soon.

It happens all the time - i want to click "Open With..." but the click goes on "Print" and Windows immediately prints the file without any further asking.

Thank you very much for this post as it saves a lot of ink / pages.

habibalex said...

Why would anyone want to print a document without opening the printer dialog. Microsoft i hate u so much. Thanks for the reg file.

Fernandinande said...

You can remove the "Edit" context menu items by changing "print" to "edit" in your .reg file - thanks!

Unknown said...

Thanks!

I like this because I never print, in fact I never use text on paper!

The biggest annoyance for me was the Print shell menu for .bat and .reg files for which I often use Edit, and would sometimes accidentally click Print.

Unknown said...

Thanks!

I like this because I never print, in fact I never use text on paper!

The biggest annoyance for me was the Print shell menu for .bat and .reg files for which I often use Edit, and would sometimes accidentally click Print.

Anonymous said...

thank you very very much and love you

Anonymous said...

thanks a ton.. :)
this is the exact solution i was looking for... :)

Anonymous said...

not working on win 7 64 bits.after download and install, print still there, click still print out the attachment.

Anonymous said...

I create remove reg file for all print commands :)

http://speedy.sh/GdzxH/remove-print.reg

Anonymous said...

Same story as the others here, I got sick of accidentally printing my .bat files and stuff. Thanks again!

Anonymous said...

remover cut y copy?

Anonymous said...

"
You can use ShellMenuView to edit or disable any context menu item, and you can also jump to the registry entry for editing.

http://www.nirsoft.net/utils/shell_menu_view.html
"

From https://serverfault.com/questions/436536/disable-right-click-file-printing-in-windows-7/855946#855946