Created
September 13, 2017 14:21
-
-
Save AhmadFCheema/d3e0a1eac74e686a2eb1b9bfa19293f5 to your computer and use it in GitHub Desktop.
Windows context menu, individual Hash calculation shortcut
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[-HKEY_CLASSES_ROOT\*\Shell\Calculating.Hash.Checksums.Cascading] | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD2] | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD4] | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD5] | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.1] | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.256] | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.384] | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.512] | |
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\All.Hash] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\*\Shell\Calculating.Hash.Checksums.Cascading] | |
"Extended"="" | |
"MUIVerb"="Calculate hash checksums" | |
"SubCommands"="MD2;MD4;MD5;SHA.1;SHA.256;SHA.384;SHA.512;All.Hash" | |
"Icon"="imageres.dll,262" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD2] | |
"Icon"="imageres.dll,262" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD2\Command] | |
@="cmd /s /c pushd &call certUtil -hashfile \"%1\" MD2 > \"%1-Hash (MD2).txt\"" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD4] | |
"Icon"="imageres.dll,262" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD4\Command] | |
@="cmd /s /c pushd &call certUtil -hashfile \"%1\" MD4 > \"%1-Hash (MD4).txt\"" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD5] | |
"Icon"="imageres.dll,262" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\MD5\Command] | |
@="cmd /s /c pushd &call certUtil -hashfile \"%1\" MD5 > \"%1-Hash (MD5).txt\"" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.1] | |
@="SHA-1" | |
"Icon"="imageres.dll,262" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.1\Command] | |
@="cmd /s /c pushd &call certUtil -hashfile \"%1\" SHA1 > \"%1-Hash (SHA-1).txt\"" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.256] | |
@="SHA-256" | |
"Icon"="imageres.dll,262" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.256\Command] | |
@="cmd /s /c pushd &call certUtil -hashfile \"%1\" SHA256 > \"%1-Hash (SHA-256).txt\"" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.384] | |
@="SHA-384" | |
"Icon"="imageres.dll,262" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.384\Command] | |
@="cmd /s /c pushd &call certUtil -hashfile \"%1\" SHA384 > \"%1-Hash (SHA-384).txt\"" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.512] | |
@="SHA-512" | |
"Icon"="imageres.dll,262" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\SHA.512\Command] | |
@="cmd /s /c pushd &call certUtil -hashfile \"%1\" SHA512 > \"%1-Hash (SHA-512).txt\"" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\All.Hash] | |
@="*" | |
"Icon"="imageres.dll,262" | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\CommandStore\shell\All.Hash\Command] | |
@="cmd /s /c pushd &(call certUtil -hashfile \"%1\" MD2 & certUtil -hashfile \"%1\" MD4 & certUtil -hashfile \"%1\" MD5 & certUtil -hashfile \"%1\" SHA1 & certUtil -hashfile \"%1\" SHA256 & certUtil -hashfile \"%1\" SHA384 & certUtil -hashfile \"%1\" SHA512) > \"%1\"-Hash.txt" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In
Computer\HKEY_CURRENT_USER\Software\Classes\*\shell\MakeMD5\Command
, I added the following value:cmd /s /c pushd &(call certUtil -hashfile "%1" MD5) > ""%1"-Hash (MD5)".txt
Tested this to be working for an admin account. First, try this one to make sure there weren't any simple typo mistakes.