Skip to content

Instantly share code, notes, and snippets.

@Cesio137
Created September 16, 2021 21:19
Show Gist options
  • Save Cesio137/5a9f9052af4f647375d2255c33a0cc7a to your computer and use it in GitHub Desktop.
Save Cesio137/5a9f9052af4f647375d2255c33a0cc7a to your computer and use it in GitHub Desktop.
JetBrains IDE trial reset windows
REM Delete eval folder with licence key and options.xml which contains a reference to it
for %%I in ("WebStorm", "IntelliJ", "CLion", "Rider", "GoLand", "PhpStorm", "Resharper", "PyCharm") do (
for /d %%a in ("%USERPROFILE%\.%%I*") do (
rd /s /q "%%a/config/eval"
del /q "%%a\config\options\other.xml"
)
)
REM Delete registry key and jetbrains folder (not sure if needet but however)
rmdir /s /q "%APPDATA%\JetBrains"
reg delete "HKEY_CURRENT_USER\Software\JavaSoft" /f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment