Skip to content

Instantly share code, notes, and snippets.

@antoha-sozon
Last active May 15, 2023 15:00
Show Gist options
  • Save antoha-sozon/9773a66ba4b8f377439429dcd16d6ca6 to your computer and use it in GitHub Desktop.
Save antoha-sozon/9773a66ba4b8f377439429dcd16d6ca6 to your computer and use it in GitHub Desktop.
PhpStorm Reset Trail | Evaluation | PhpStorm 2021.1 on Windows!
For PhpStorm 2021.1 on Windows!
(Make .bat)
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 ("%APPDATA%\JetBrains\%%I*") do (
rd /s /q "%%a\eval"
findstr /v /i "evlsprt" %%a\options\other.xml > %%a\options\other1.xml
del /q "%%a\options\other.xml"
ren %%a\options\other1.xml other.xml
)
)
REM Delete registry key and jetbrains folder (not sure if needet but however)
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