@Echo Off
Title regsvrHashtab
Rd "%WinDir%\system32\test_permissions" >NUL 2>NUL
Md "%WinDir%\System32\test_permissions" 2>NUL||(Echo 请使用右键管理员身份运行！&&PAUSE >NUL&&EXIT)
Rd "%WinDir%\System32\test_permissions" 2>NUL
SetLocal EnableDelayedExpansion
regsvr32 /u /s "%WinDir%\System32\HashTab32-5.2.0.14.dll">NUL
regsvr32 /u /s "%WinDir%\System32\HashTab64-5.2.0.14.dll">NUL
del /q /s "%WinDir%\System32\HashTab32-5.2.0.14.dll">NUL
del /q /s "%WinDir%\System32\HashTab64-5.2.0.14.dll">NUL
regsvr32 /u /s "%WinDir%\System32\HashTab32-6.0.0.8.dll">NUL
regsvr32 /u /s "%WinDir%\System32\HashTab64-6.0.0.8.dll">NUL
del /q /s "%WinDir%\System32\HashTab32-6.0.0.8.dll">NUL
del /q /s "%WinDir%\System32\HashTab64-6.0.0.8.dll">NUL
REG delete "HKEY_CURRENT_USER\SOFTWARE\HashTab" /F>NUL
exit