studio3t重置码

@echo off
ECHO 重置Studio 3T的使用日期......
FOR /f "tokens=1,2,* " %%i IN ('reg query "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\3t\mongochef\enterprise" ^| find /V "installation" ^| find /V "HKEY"') DO ECHO yes | reg add "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\3t\mongochef\enterprise" /v %%i /t REG_SZ /d ""
ECHO 重置完成, 按任意键退出......
pause>nul
exit

以上不行尝试以下

@echo off
ECHO 重置Studio 3T的使用日期......

ECHO 删除注册表
REG DELETE "HKEY_CURRENT_USER\Software\JavaSoft\Prefs\3t\mongochef\enterprise" /f

ECHO 删除 %USERPROFILE%.3T\studio-3t\soduz3vqhnnja46uvu3szq--
RMDIR /s /q %USERPROFILE%.3T\studio-3t\soduz3vqhnnja46uvu3szq--

ECHO 删除 %USERPROFILE%.3T\studio-3t\Lwm3TdTxgYJkXBgVk4s3
RMDIR /s /q %USERPROFILE%.3T\studio-3t\Lwm3TdTxgYJkXBgVk4s3

ECHO 删除 %USERPROFILE%\AppData\Local\t3\dataman\mongodb\app\AppRunner
RMDIR /s /q %USERPROFILE%\AppData\Local\t3\dataman\mongodb\app\AppRunner

ECHO 删除 %USERPROFILE%\AppData\Local\Temp\t3\dataman\mongodb\app\AppRunner
RMDIR /s /q %USERPROFILE%\AppData\Local\Temp\t3\dataman\mongodb\app\AppRunner

ECHO 删除 %USERPROFILE%\AppData\Local\ftuwWNWoJl-STeZhVGHKkQ--
RMDIR /s /q %USERPROFILE%\AppData\Local\ftuwWNWoJl-STeZhVGHKkQ--

ECHO 删除 %USERPROFILE%\AppData\Local\Temp\ftuwWNWoJl-STeZhVGHKkQ--
RMDIR /s /q %USERPROFILE%\AppData\Local\Temp\ftuwWNWoJl-STeZhVGHKkQ--

ECHO 删除 %USERPROFILE%.cache\ftuwWNWoJl-STeZhVGHKkQ--
RMDIR /s /q %USERPROFILE%.cache\ftuwWNWoJl-STeZhVGHKkQ--

ECHO 删除 C:\Users\Public\t3\dataman\mongodb\app\AppRunner
RMDIR /s /q C:\Users\Public\t3\dataman\mongodb\app\AppRunner

ECHO 重置完成, 按任意键退出......
pause>nul
EXIT

posted @ 2024-01-17 10:19  cchilei  阅读(21)  评论(0编辑  收藏  举报