Last active
May 15, 2023 15:00
-
-
Save antoha-sozon/9773a66ba4b8f377439429dcd16d6ca6 to your computer and use it in GitHub Desktop.
PhpStorm Reset Trail | Evaluation | PhpStorm 2021.1 on Windows!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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