添加 Navicat 注册表清理脚本,以删除更新信息、注册信息和 CLSID 相关条目。
This commit message is concise, uses the present tense, and clearly describes the purpose of the change without using any prefixes.
This commit is contained in:
18
Win/17X/17.2.3_navicat.bat
Normal file
18
Win/17X/17.2.3_navicat.bat
Normal file
@@ -0,0 +1,18 @@
|
||||
echo Delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Update
|
||||
reg delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Update /f
|
||||
echo Delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Registration[version and language]
|
||||
for /f %%i in ('"REG QUERY "HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium" /s | findstr /L Registration"') do (
|
||||
reg delete %%i /va /f
|
||||
)
|
||||
|
||||
echo Delete Info and ShellFolder under HKEY_CURRENT_USER\Software\Classes\CLSID
|
||||
for /f "tokens=*" %%a in ('reg query "HKEY_CURRENT_USER\Software\Classes\CLSID"') do (
|
||||
for /f "tokens=*" %%l in ('reg query "%%a" /f "Info" /s /e ^| findstr /i "Info"') do (
|
||||
echo Delete: %%a
|
||||
reg delete %%a /f
|
||||
)
|
||||
for /f "tokens=*" %%l in ('reg query "%%a" /f "ShellFolder" /s /e ^| findstr /i "ShellFolder"') do (
|
||||
echo Delete: %%a
|
||||
reg delete %%a /f
|
||||
)
|
||||
)
|
||||
Reference in New Issue
Block a user