Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Jurgen-DOUCHY/fc773c5c2948f010c912504ef6d159d5 to your computer and use it in GitHub Desktop.
Save Jurgen-DOUCHY/fc773c5c2948f010c912504ef6d159d5 to your computer and use it in GitHub Desktop.
The windows script of the old removed https://github.com/XGilmar/JetBrains-reset-trial
@echo off
echo [ INFO ] Removing JavaSoft key from current user...
reg delete "HKEY_CURRENT_USER\Software\JavaSoft" /f
if %ERRORLEVEL% equ 0 (
echo [ OK ] JavaSoft key removed successfully.
) else (
echo [ ERROR ] Failed to remove JavaSoft key or it does not exist.
)
echo [ INFO ] Removing PermanentUserId file...
del /F /Q "%APPDATA%\JetBrains\PermanentUserId"
if %ERRORLEVEL% equ 0 (
echo [ OK ] PermanentUserId file removed successfully.
) else (
echo [ ERROR ] Failed to remove PermanentUserId file or file not found.
)
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment