Win10右键添加文件哈希校验功能方法
更新日期:2024-10-15 13:50
来源:互联网
Win10系统本身支持文件哈希校验,但操作较为繁琐。为了让大家更便捷地进行操作,我将分享Win10右键添加文件哈希校验功能的方法。只需右键点击文件,便可查看文件的哈希值,非常方便。操作步骤如下:
首先,在桌面新建一个文本文档,然后复制以下注册表代码:
```WindowsRegistryEditorVersion5.00
[HKEY_CLASSES_ROOT*shell文件哈希校验]
“SubCommands”=“MD5;SHA1;SHA256;SHA512;”
“MUIVerb”=“文件哈希校验”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellMD5]
@=“MD5”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellMD5command]
@=“PowerShellGet-FileHash -Algorithm MD5 ”%1“ | format-list; “按任意键退出。..”; [Console]::Readkey() | Out-Null; exit”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellSHA1]
@=“SHA1”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellSHA1command]
@=“PowerShellGet-FileHash -Algorithm SHA1 ”%1“ | format-list; “按任意键退出。..”; [Console]::Readkey() | Out-Null; exit”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellSHA256]
@=“SHA256”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellSHA256command]
@=“PowerShellGet-FileHash -Algorithm SHA256 ”%1“ | format-list; “按任意键退出。..”; [Console]::Readkey() | Out-Null; exit”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellSHA512]
@=“SHA512”
[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerCommandStoreshellSHA512command]
@=“PowerShellGet-FileHash -Algorithm SHA512 ”%1“ | format-list; “按任意键退出。..”; [Console]::Readkey() | Out-Null; exit”
```
然后另存为,命名为“Win10右键添加文件校验.reg”(注意去掉.txt后缀名)。接着双击导入,即可看到效果。
通过以上步骤,您就可以在Win10系统中方便地进行文件哈希校验了。希望这个方法能够帮助到您!