Windows 10 Reset navicat 16.2.x

发布时间 2023-09-15 09:23:36作者: jianmuzi

Reset navicat 16.2.x to 14 days trial in PC with Windows 10 system

1.Create a new file with the suffix bat,And fill in following content:

@echo off

echo Reset Navicat remaining 14 days trial  
echo.

set update=HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Update

echo 1) Delete HKEY_CURRENT_USER\Software\PremiumSoft\NavicatPremium\Update
echo delete: %update%
reg delete %update% /va /f
echo.

echo 2) 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 (
    echo delete: %%i
    reg delete %%i /va /f
)
echo.

echo 3) Delete  folder including Info  under HKEY_CURRENT_USER\Software\Classes\CLSID 
for /f %%i in ('"REG QUERY "HKEY_CURRENT_USER\Software\Classes\CLSID" /s | findstr /E Info"') do (
    echo info:  %%i
    set all_info=%%i
)
set p_info=%all_info:~0,-5%
echo delete: %p_info%

reg delete %p_info%  /f

echo.

echo 4) Delete  folder including ShellFolder under HKEY_CURRENT_USER\Software\Classes\CLSID 
for /f %%i in ('"REG QUERY "HKEY_CURRENT_USER\Software\Classes\CLSID" /s | findstr /E ShellFolder"') do (
    set all_ShellFolder=%%i
)
echo ShellFolder:  %all_ShellFolder%
set p_ShellFolder=%all_ShellFolder:~0,-12%
echo delete: %p_ShellFolder%
reg delete %p_ShellFolder%  /f

echo.

echo Finish, Enjoy it !

pause


2.Run the bat file

3.enjoy it