⑴Win系统自身是支持文件哈希校验的,不过操作比较麻烦,为了让大家操作更方便一些,这里小编提供一下Win右键添加文件哈希校验功能方法,只要右键点击文件,校验就可以查看文件哈希值了,非常方便。
⑵首先右键新建一个文本文档,然后复制下面的注册表代码:
⑶Windows Registry Editor Version .
⑷[HKEY_CLASSES_ROOT*shell文件哈希校验]
⑸"Submands"="MD;SHA;SHA;SHA;"
⑹"MUIVerb"="文件哈希校验"
⑺[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorermandStoreshellMD]
⑻[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorermandStoreshellMDmand]
⑼="PowerShell Get-FileHash -Algorithm MD \"%\" | format-list;“按任意键退出...”;[Console]::Readkey() | Out-Null;exit"
⑽[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorermandStoreshellSHA]
⑾[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorermandStoreshellSHAmand]
⑿="PowerShell Get-FileHash -Algorithm SHA \"%\" | format-list;“按任意键退出...”;[Console]::Readkey() | Out-Null;exit"
⒀[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorermandStoreshellSHA]
⒁[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorermandStoreshellSHAmand]
⒂="PowerShell Get-FileHash -Algorithm SHA \"%\" | format-list;“按任意键退出...”;[Console]::Readkey() | Out-Null;exit"
⒃[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorermandStoreshellSHA]
⒄[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorermandStoreshellSHAmand]
⒅="PowerShell Get-FileHash -Algorithm SHA \"%\" | format-list;“按任意键退出...”;[Console]::Readkey() | Out-Null;exit"
⒆然后另存为,命名为“Win 右键添加文件校验.reg”,注意去掉.txt后缀名
⒇接下来就是双击导入,大家就可以看到效果了。