Jump to content

Porting Snipping Tool to Windows 7 from Windows 10


InterLinked

Recommended Posts

On 1/2/2022 at 3:06 AM, vxiiduu said:

It has been done. The delay functionality is working. Works on Vista and 7 (and probably 8, 8.1 as well).

This Snipping Tool is from Windows 10 1507 (the RTM release). The SHA-256 hash of the original SnippingTool.EXE is "fccf231e0e4437baba86f64752e13562c9a2aa2d699a8dae7fafc85b48da4aa8"
Porting requires 2 hex edits: one to change the NT version from 10.0 to 6.0 in order to trick Windows into running it, and the second to bypass some licensing/permission check that Microsoft put in.
Dunno if it's fine to distribute the .EXE here (probably not), hence why I only include instructions.
These instructions ONLY WORK FOR x64 Snipping Tool. If there is a big demand I can also work out how to do it for the 32-bit Snipping Tool as well.

1. Obtain Windows 10 1507 RTM x64 ISO, open with 7-Zip, then open sources\install.wim with 7-zip
2. Go to Windows\system32 and drag SnippingTool.exe to desktop (or some other location)
3. Next to SnippingTool.exe, make a folder called "en-US" (or whatever your language code)
4. From your 7-zip window, go to Windows\system32\en-US (or whatever your language code) and drag SnippingTool.exe.mui into the "en-US" folder you made in step 3
5. Open SnippingTool.exe in HxD or some other hex editor
6. At offset 0x120, change "0A 00 00 00 0A 00 00 00 0A 00 00 00" to "06 00 00 00 06 00 00 00 06 00 00 00"
7. At offset 0x1D19C, change "40 55 41 54 41 55" to "B8 01 00 00 00 C3"
8. At offset 0xF6B0, change "B8 FA 00 00 00" to "B8 2C 01 00 00"
9. Save file and exit hex editor

At this point, you can simply open the edited SnippingTool.exe and get the Windows 10 snipping tool as pictured. You may also replace the Windows Vista/7 stock snipping tool with this one if you desire.
For reference, the SHA-256 hash of the modified SnippingTool.exe is supposed to be "c60898fb4ea6984aaee1f2d3c9b73560bf0aaff64b9855e3d58e9855f3836433"

"It runs but only displays an error box with no text!"
This is caused by incorrect MUI file, or incorrect placement of the MUI file.
As in picture, en-US folder should be next to SnippingTool.exe, and SnippingTool.exe.mui should be inside that folder. And keep in mind, everywhere I say "en-US", this means the language code used by your system. For example, ja-JP or fr-FR for Japanese and French respectively.

Edit: Add bug fix for ghost menu entries in certain circumstances (this bug happens in win10 as well)

Sorry, bit late here, but just getting the opportunity now to go ahead and try this out.

Does it have to be W10 v1507? I do have access to some Windows 10 systems, but they're all newer than that. I'm assuming copying the SnippingTool.exe from those wouldn't work?

Just a bit annoying to have to download an ISO for an OS I don't itself need, but as the hard work here has really been done, I can't complain too much ;)

Thanks again! Now that the one feature out of, uh, one features that Windows 10 actually has that older Windows doesn't, I guess Windows 7 has "useful feature parity" with Windows 10/11! SuperWindows, here we come!

Link to comment
Share on other sites


11 minutes ago, InterLinked said:

Sorry, bit late here, but just getting the opportunity now to go ahead and try this out.

Does it have to be W10 v1507? I do have access to some Windows 10 systems, but they're all newer than that. I'm assuming copying the SnippingTool.exe from those wouldn't work?

Just a bit annoying to have to download an ISO for an OS I don't itself need, but as the hard work here has really been done, I can't complain too much ;)

Thanks again! Now that the one feature out of, uh, one features that Windows 10 actually has that older Windows doesn't, I guess Windows 7 has "useful feature parity" with Windows 10/11! SuperWindows, here we come!

Yes, if you are going to make the EXE yourself, the original source EXE must be from Windows 10 1507. 1809, for instance, doesn't work because they changed the snipping tool to include some annoying UWP banner ad (which you don't want anyway). If you want a pre-made EXE it's available on my github under the SnippingToolEx repo. Obviously MS doesn't care enough to take it down.

Link to comment
Share on other sites

1 minute ago, vxiiduu said:

Yes, if you are going to make the EXE yourself, the original source EXE must be from Windows 10 1507. 1809, for instance, doesn't work because they changed the snipping tool to include some annoying UWP banner ad (which you don't want anyway). If you want a pre-made EXE it's available on my github under the SnippingToolEx repo. Obviously MS doesn't care enough to take it down.

Hmm, when I open the one on the repo, I just get this:

image.png.4c138185785107a6d637c78e83798011.png

Is there something else I need to do besides downloading that? I don't seen an mui, for instance, so I'm assuming that's only for packing and not on the Win7 end.

Link to comment
Share on other sites

2 hours ago, InterLinked said:

Hmm, when I open the one on the repo, I just get this:

image.png.4c138185785107a6d637c78e83798011.png

Is there something else I need to do besides downloading that? I don't seen an mui, for instance, so I'm assuming that's only for packing and not on the Win7 end.

Whoops, I forgot to include the MUI file. I put it in the repo now, just download the whole repo (Code->Download ZIP) and run snippingtool.exe and it should work.

Link to comment
Share on other sites

2 hours ago, vxiiduu said:

Whoops, I forgot to include the MUI file. I put it in the repo now, just download the whole repo (Code->Download ZIP) and run snippingtool.exe and it should work.

Works like a charm, thanks @vxiiduu

Windows 7 Ex, or Windows 7++, whatever you want to call it, is working great!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...