欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

详解Navicat Premium 15 无限试用脚本的方法

程序员文章站 2022-03-08 21:49:40
具体内容如下所示:@echo off echo\echo\echo 适用于 navicat 12.0.29echo 正在清除试用信息。。。 for /f %%i in ('reg query hkcu...

具体内容如下所示:

@echo off
 
echo\
echo\
echo 适用于 navicat 12.0.29
echo 正在清除试用信息。。。
 
for /f %%i in ('reg query hkcu\software\classes\clsid') do call:checkdelclsid %%i
 
reg delete hkcr\navicatprofilebackup /f 1>nul 2>nul 
reg delete hkcr\navicatprofilebatchjob /f 1>nul 2>nul
reg delete hkcr\navicatprofiledatasync /f 1>nul 2>nul
reg delete hkcr\navicatprofileexport /f 1>nul 2>nul
reg delete hkcr\navicatprofileimport /f 1>nul 2>nul
reg delete hkcr\navicatprofilemodel /f 1>nul 2>nul
reg delete hkcr\navicatprofilestructuresync /f 1>nul 2>nul
reg delete hkcr\navicatprofiletransfer /f 1>nul 2>nul
reg delete hkcu\software\premiumsoft /f 1>nul 2>nul
 
rmdir /s /q c:\users\xxxx\documents\navicat
rmdir /s /q c:\users\xxxx\appdata\local\temp\navicatcloud
 
echo\
echo\
echo 清除试用信息成功!
echo 请重新运行navicat。
echo\
pause
exit
 
 
:checkdelclsid
echo filtering %1
echo %1|findstr "{cafeefac-" 1>nul 2>nul
set result=%errorlevel%
if %result%==0 goto:eof
 
echo checking %1
reg query %1\info 1>nul 2>nul
set result=%errorlevel%
if %result%==1 goto:eof
 
echo deleteing %1
reg delete %1 /f 1>nul 2>nul
 
goto:eof

1.新建文本文档,建上面语句放入文本中

2.更改文件名后缀为 .bat

3.执行文件

到此这篇关于详解navicat premium 15 无限试用脚本的方法的文章就介绍到这了,更多相关navicat premium 15 无限试用内容请搜索以前的文章或继续浏览下面的相关文章希望大家以后多多支持!