Skip to content

Instantly share code, notes, and snippets.

@ThioJoe
Last active November 18, 2024 07:54
Show Gist options
  • Save ThioJoe/f4b0799e2f0d95466f4c2bd4e46d1e67 to your computer and use it in GitHub Desktop.
Save ThioJoe/f4b0799e2f0d95466f4c2bd4e46d1e67 to your computer and use it in GitHub Desktop.
Add "Compress To" Option to Old Windows 11 Start Menu - Registry Tweak
How To Use:
1. Choose which version you want to use:
- "Full Menu" Version: The same as the original one in the new context menu, and has multiple sub-menu items
- Other Version: Doesn't have a sub-menu, it just directly opens the "Create Archive" menu. (The equivalent of clicking the "Additional Options" sub-item in the original)
2. Double click the "Add_" reg file of whichever version you choose
3. Restart Windows Explorer
- You can restart it by opening Task Manager with Ctrl+Shift+Esc, then search it for "Windows Explorer", right click that and hit "Restart"
- You can also just restart the whole computer of course
----------------------------------------------------------
Technical Explanation / Notes For Anyone Curious:
- This won't overwrite any existing registry entries or anything, it only creates a couple new ones
- You could add both versions and they'll both be there. They're independent, so if you add both, you'll need to remove both separately too using theire respective "Remove_" reg files.
- The tweak basically works by copying the registry entries that makes the command appear in the 'new' start menu, and adds them to the old menu as well
- Behind the scenes, the "Create Archive" menu is given the command name "Windows.CompressTo.Wizard" which exists at: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.CompressTo.Wizard
- The full "Compress To" menu has the command name "Windows.CompressTo" which exists at: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\Windows.CompressTo
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\CompressToOldMenuEntry]
"CommandStateSync"=""
"ExplorerCommandHandler"="{812EE37B-5065-4C14-B0D1-A2266454B0C1}"
"MUIVerb"="Compress To..."
"Note"="Copied from original Command Store command: Windows.CompressTo.Wizard"
[HKEY_CLASSES_ROOT\Folder\shell\CompressToOldMenuEntry]
"CommandStateSync"=""
"ExplorerCommandHandler"="{812EE37B-5065-4C14-B0D1-A2266454B0C1}"
"MUIVerb"="Compress To..."
"Note"="Copied from original Command Store command: Windows.CompressTo.Wizard"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\CompressToFullMenu_ForOldContextMenu]
"CommandStateSync"=""
"ExplorerCommandHandler"="{7AE6900F-6EB0-44A2-9CA1-DB2F7EF352AF}"
"MUIVerb"="@Windows.UI.FileExplorer.dll,-51797"
"Note"="Copied from original Command Store command: Windows.CompressTo"
[HKEY_CLASSES_ROOT\Folder\shell\CompressToFullMenu_ForOldContextMenu]
"CommandStateSync"=""
"ExplorerCommandHandler"="{7AE6900F-6EB0-44A2-9CA1-DB2F7EF352AF}"
"MUIVerb"="@Windows.UI.FileExplorer.dll,-51797"
"Note"="Copied from original Command Store command: Windows.CompressTo"
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\CompressToOldMenuEntry]
[-HKEY_CLASSES_ROOT\Folder\shell\CompressToOldMenuEntry]
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\*\shell\CompressToFullMenu_ForOldContextMenu]
[-HKEY_CLASSES_ROOT\Folder\shell\CompressToFullMenu_ForOldContextMenu]
@Tech-How
Copy link

Tech-How commented Oct 6, 2024

Hats off for this! I'll have to go through and see if there's any other things that don't show up in the legacy context menu that could be added like this one.

@jamesinsf
Copy link

Thank you, Joe.

@ahmedtalaltwd7
Copy link

Big Thanks....

@lajawi
Copy link

lajawi commented Oct 21, 2024

I didn't even have to restart the explorer for the changes to take effect!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment