NEW Context Menu - Edit for Desktop

How to Edit the Desktop "NEW" Context Menu in Windows 7

This tutorial shows you how to do this

BEFORE
before.png
AFTER
after.png



Here's How:
1. To delete all the items from the new list run this reg file:
View attachment clear.reg
2. To add HTML, BAT, REG to the new list run this reg file:
View attachment addregbathtml.reg
3. To remove HTML, BAT, REG from the list run this reg file:
View attachment removeregbathtml.reg
4. To restore all default items run this reg file:
View attachment restore.reg
   Tip
To add extensions of your choice to the list write in notepad below, save it as "whatever.reg" and run it.
NOTE: Replace .png with the file extension you want to add and replace whatever with anything you want.

Code:
Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\[B][COLOR=red].png[/COLOR][/B]\ShellNew]
"NullFile"=""









 
Last edited by a moderator:
Hi.

I am new to registry editing, and having some trouble getting this to work with some filetypes. I have been at it for a couple of hours now, and I am about to give up.This is what I would like to do:

As I recently have started java programming I would like to have the option to right click, and choose new java document.

I have sucsessfully added other filetypes such as HTML, XML and REG files to the "new" context menu. The ".JAVA" file type however, will not show up.

I have used this registry entry:
Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.java\ShellNew]
"NullFile"=""

It shows up correctly when I look for it in Regedit, and also when I look in this program: ShellNewHandler (ShellNewHandler | Download ShellNewHandler software for free at SourceForge.net). I also noticed in this program(see jpg attachment) that .BMP and .TRC filetypes should be visible in the new context menu - but they are not. There is also no description to any of the three file types (.JAVA,.BMP and .TRC) - could this be the problem? If so, how can I add a file type description?

I also read on some forum that it may be because the file type has no associated class(?) but there was no solution, and I do not remember where I read it. I also have tried setting Notepad to be the default editor, but it does not seem to help...

Does anyone have any idea that can help? I am getting pretty frustrated not getting this to work..


I would appreciate any help :)
try this

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\.java\ShellNew]
"ItemName"=hex(2):00,00
"NullFile"=""
 

My Computer

OS
windows 7 Ultimate 32bit
CPU
intel c2d e7200 2.53ghz
Motherboard
asus p5gcmx/1333
Memory
2gb DDR2
Graphics Card(s)
nvidia GeForce 7300SE
Monitor(s) Displays
samsung sync master 793s
Screen Resolution
1280X1024
Hard Drives
250gb seagate
Case
Circle
Keyboard
iball
Mouse
iball
Internet Speed
512kbps
Hello,

I can't add the Microsoft Office Word option (.doc).
I have installed Office 2003 and only Word, Excel, PowerPoint.
Excel & PowerPoint are shown, but not the Word.

Any ideas?
Thank you in advance.

(language is Greek)
dfsa.jpg
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 32bit
^^
Uninstall and reinstall Office, still nothing...

Any fix on this?
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 32bit
Is there a way to use this method to restore Word to the context menu?

For some reason, all of the other Office applications show up there but Word does not. It used to but I had to reinstall my OS. After I reinstalled Office, it was gone!

I've tried uninstalling, reinstalling, repairing ...nothing so far has brought Word back to "New" in the context menu.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS 8900
OS
Windows 7 Pro 64bit
Hello WebPixie, :)

Which Office do you have installed?

I'll see if I can install it in a VM, and post back with a .reg file to add it back for you.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Employer provided Dell Latitude
OS
W7 Pro SP1 64bit
CPU
i7
Memory
8GB
Graphics Card(s)
Intel HD Graphics
Hard Drives
crappy SSD
Antivirus
Employer mandated Symantec Endpoint Protection
Browser
Pale Moon 64bit, IE11 64bit & Chrome 64bit
Hello WebPixie, :)

Which Office do you have installed?

I'll see if I can install it in a VM, and post back with a .reg file to add it back for you.
Hi Brink, :geek:

It's Office 2000 Pro.

I have the Office 2000 SP3 and the "Microsoft Compatibility Pack for Word, Excel, and PowerPoint File Formats" installed also.

Thanks!
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS 8900
OS
Windows 7 Pro 64bit
It seems that Office 2000 is no longer available to download from MSDN. If you can export these two registry keys below and upload them, I should still be able to create a .reg file for you.

HKEY_CLASSES_ROOT\.doc

HKEY_CLASSES_ROOT\.ppt
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
It seems that Office 2000 is no longer available to download from MSDN. If you can export these two registry keys below and upload them, I should still be able to create a .reg file for you.

HKEY_CLASSES_ROOT\.doc

HKEY_CLASSES_ROOT\.ppt
Thank you but I'm so sorry. I don't know how to do that. Is that something you could walk me through?

I've tried uninstalling and reinstalling Office but that didn't work. As it turns out, I didn't uninstall the Office Updates when I did that. I was considering uninstalling Office as well as the Updates when I was directed to one of your other tutorials. I appreciate your help and your efforts to create a .reg for me, but I hate to impose. Shall I try uninstalling and reinstalling everything first?

Word was on the context menu prior to my recent OS reinstall. It's puzzling that it's not there now. There was another anomaly with Word when I first installed Office after that recent OS reinstall. I don't recall exactly what the anomaly was but I remember that I had to go to Program Files to open the Word application the first time, probably because Word wasn't on the Start Menu.

I'm happy to do either: Uninstall and reinstall everything associated with Office, or exporting the registry keys as you suggest (with help, that is). Which would you recommend?

Thanks again :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS 8900
OS
Windows 7 Pro 64bit
Another option is to do a system restore using a restore point dated when it was in the New context menu to hopefully sort it for you.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Another option is to do a system restore using a restore point dated when it was in the New context menu to hopefully sort it for you.
That would've been prior to the clean Windows 7 install that I did in early October so, unfortunately, there is no restore point like that.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS 8900
OS
Windows 7 Pro 64bit
In that case WebPixie, let's see if the .reg file below may sort this for you. It'll restore the default registry entry for .doc files for the "New" context menu.

You'll just need to download it to your desktop, double click on it to merge it, then approve all prompts.
 

Attachments

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Yay!!! Word is right back there where it belongs!
Thanks so very much!!!
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dell XPS 8900
OS
Windows 7 Pro 64bit
Well WebPixie I see that between you and Brink you got your problem taken care of.

Happy computing.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Home made Desktop
OS
Windows 10 Pro. 64/ version 1709 Windows 7 Pro/64
CPU
Intel i7-6800K @ 4.3
Motherboard
ASUS X-99 Deluxe II
Memory
Corsair Platinum 16 gig @2400
Graphics Card(s)
EVGA GTX 1070 OC
Monitor(s) Displays
Asus 27" LED LCD/VE278Q
Screen Resolution
1920-1080 or 1280-720 HDMI
Hard Drives
INTEL SSD 730-240 Gb Sata 3.0/
PSU
EVGA Platium 1200W
Case
Phanteks Luxe Tempered Glass 8 fans/ one radiator
Cooling
XSPC/ Water Cooled CPU
Keyboard
Das 4 Professional
Mouse
Logitech M705/MX Anywhere 2-S
Internet Speed
100 mbits
Antivirus
Microsoft Security Essentials/ Malwarebytes Premium 3.0/ SAS
Browser
I.E. 11 default/Firefox/ ISP Time Warner Cable/Spectrum
Other Info
LG BluRay Burner/
Sound system-KLipsch-THX/
Icy Dock ssd Hot Swap bays.

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
I would like to thank Brink for his "doc.reg" file in post #32, that fix my problem also.
 

My Computer

Computer type
PC/Desktop
OS
Windows 7 32bit
I would like to thank Brink for his "doc.reg" file in post #32, that fix my problem also.

I'm glad it could help gogos7. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
How to add 7zip to Windows 7's right-click New context menu

How to add 7zip to Windows 7's right-click New context menu

I'm using Windows 7 Professional x64. If you're using another version of Windows, this may or may not work for you.

1. Back up your Registry or take a system snapshot just in case you mess something up.

2. If, at some time in the past, you already right-clicked on a 7zip file, clicked Properties, clicked on Change next to Open With, selected 7zip, and checked the box for "Always use the selected program to open this kind of file", or if, at some point, you right-clicked and chose Open With – Choose Default Program – 7zip, you might need to undo that action. The reason is because the User Choice overrides the normal file extension actions (including, I think, the ability to add 7zip to the right-click New menu). If so, open the Registry and search for 7zFM.exe in the Open With list. Delete this key, resetting your 7zip back to a pristine state. Hit F5 to Refresh the Desktop and confirm that when you double-click on a 7zip file, Windows doesn't know what program you want to use.

3. Use Notepad or your favorite text editor to create a simple text document containing a few words.

4. Using 7zip, add this simple textfile into a new 7zip file and save to the Desktop as 7z.7z. In my case, my resulting 7z.7z file was about 220 bytes.

5. Re-open 7z.7z and delete the text file so that now, the 7z file is empty. The reason for steps 3 to 5 is so that the file will have the proper binary format for opening with 7z. If you simply create a random empty text file and change the extension from .txt to .7z, or a zero-byte .7z file, the file probably won't open with 7zip.

6. Right-click on the altered 7z.7z, choose Properties, and confirm that it is now fewer bytes than the original. In my case, my empty 7z.7z was 32 bytes. Those 32 bytes probably contain the code that 7zip needs to be able to open the file.

7. Confirm that 7z.7z still opens properly in 7zip.

8. Copy 7z.7z to your Windows folder. You can copy the file somewhere else if you prefer, but you will need to change the subsequent instructions accordingly. Just make sure to copy it somewhere that is safe from meddling and accidental deletion.

9. Open the Registry Editor (Start – Run – regedit) and scroll down to HKEY_CLASSES_ROOT\.7z.

10. Right-click on the .7z key and Export to the Desktop, so that you can go back to original settings if necessary.

11. In the right-hand pane of .7z, change the (Default) value to 7z_auto_file. I chose this name because Windows 7 automatically creates a key with this name when you right-click a .7z file and choose to open with 7zip. You could probably use another name if you changed the subsequent instructions accordingly.

12. Right-click on the .7z key and choose New Key. Name the key ShellNew.

13. Click on the ShellNew key.

14. In the right-hand pane of ShellNew, right-click and create a new String Value named FileName.

15. Double-click on the FileName string and change the value to C:\Windows\7z.7z. Note that if you try to use %SystemRoot% here, the resulting 7zip file from a right-click New menu probably won't open properly or at all. When I used %SystemRoot%\7z.7z, my 7zip file was 0 bytes and refused to open. So I changed the path back to C:\Windows\7z.7z. I think this might have something to do with ShellNew requiring a "fully-qualified name" also known as a fully-qualified file path.

16. Right-click on HKEY_CLASSES_ROOT and create a New Key called 7z_auto_file.

17. In the Registry Editor, click on Favorites – Add to Favorites to create Favorites for HKCR .7z and HKCR 7z_auto_file, so that you can return to each one quickly with a couple of mouse clicks.

18. Go to HKEY_CLASSES_ROOT\7z_auto_file.

19. Change the (Default) value to Compressed (7zipped) Folder.

20. Right-click on the 7z_auto_file key and create a New Key called DefaultIcon.

21. Right-click on the 7z_auto_file key again and create another New Key called shell.

22. Click on the DefaultIcon key.

23. In the right-hand pane, change the (Default) value to point to your favorite 7zip icon. You can download miscellaneous 7zip icons online. I used one named 7z_blue_icon.ico that is 72 x 72 pixels and displays 7z on a blue and white background. I copied my ICO file to Windows and set the value to C:\Windows\7z_blue_icon.ico,0. Be sure to include the comma zero after the file path.

24. Go to the shell key that you created a few minutes ago.

25. Right-click on shell and create a New Key called Open.

26. Right-click on Open and create a New Key called Command.

27. Click on Command. In the right-hand pane, change the (Default) value to point to 7Zip's File Manager (not its GUI), with %1 to indicate that 7zFM should open a file. Put both components in double quotation marks to accomodate any long filenames. For me, the value was "C:\Program Files\7-Zip\7zFM.exe" "%1".

28. Hit F5 within Registry Editor and on the Windows Desktop to refresh Explorer. You shouldn't need to reboot.

29. Try the right-click context menu on the Desktop. You may have to try twice or wait about 5 seconds before you see any change. You should ultimately see a new entry, New – Compressed (7zipped) Folder.

30. Create the new 7zip file and confirm that the file opens properly when double-clicked. Confirm that you can add files to the 7zip compressed file and can save the edited file.

If everything works as expected, go back to Registry Editor and Export the keys for .7z and for 7z_auto_file so that you can Import them in the future; when you reinstall Windows, for example. Note that in the exported reg files, the Windows folder is enclosed in double backslashes for some reason: C:\\Windows\\7z.7z.

Good luck.

 

Attachments

  • 7z_new_menu_pic_worth_1000_words.jpg
    7z_new_menu_pic_worth_1000_words.jpg
    1.3 MB · Views: 134
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
MacBook Pro A1261
OS
Windows 7 Professional 64-bit running in Parallels virtual machine
CPU
Intel
Motherboard
Apple
Memory
4 GB
Graphics Card(s)
MacBook Pro integrated
Sound Card
MacBook Pro integrated
Back
Top