Skip to content

Instantly share code, notes, and snippets.

@themodernpk
Last active August 9, 2021 13:02
Show Gist options
  • Save themodernpk/c859e2243d83edfee26ca0f093b6f7f1 to your computer and use it in GitHub Desktop.
Save themodernpk/c859e2243d83edfee26ca0f093b6f7f1 to your computer and use it in GitHub Desktop.
PhpStorm Trail Reset
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
@we-subrat-b
Copy link

we-subrat-b commented Aug 9, 2021

Step 1: Download this as PhpStormTrailReset.bat file and then open that file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment