重置Navicat premium试用期

2023-05-02 10:05:36 浏览数 (1)

bat脚本

新建bat文件,复制下方内容并保存

代码语言:javascript复制
@echo off

echo Delete HKEY_CURRENT_USERSoftwarePremiumSoftNavicatPremiumRegistration[version and language]
for /f %%i in ('"REG QUERY "HKEY_CURRENT_USERSoftwarePremiumSoftNavicatPremium" /s | findstr /L Registration"') do (
    reg delete %%i /va /f
)
echo.

echo Delete Info folder under HKEY_CURRENT_USERSoftwareClassesCLSID
for /f %%i in ('"REG QUERY "HKEY_CURRENT_USERSoftwareClassesCLSID" /s | findstr /E Info"') do (
    reg delete %%i /va /f
)
echo.

echo Finish

pause

0 人点赞