Skip to content

Instantly share code, notes, and snippets.

@rjescobar
Created August 31, 2021 02:53
Show Gist options
  • Select an option

  • Save rjescobar/4b7200d7b2274c029107ca8b9d02f3a3 to your computer and use it in GitHub Desktop.

Select an option

Save rjescobar/4b7200d7b2274c029107ca8b9d02f3a3 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
@sahyung

sahyung commented Apr 15, 2026

Copy link
Copy Markdown

Hi @SamHoque any chance you can share the file?

@lusanter

Copy link
Copy Markdown

@SamHoque Tu repositorio ha sido eliminado. ¿Podrías crear uno nuevo o compartir el código?

@Wady-Tupiza

Copy link
Copy Markdown

Any key or patch for JetBrains 2026.1?

@aamaanaa

aamaanaa commented Jun 5, 2026

Copy link
Copy Markdown

@JimAlex927 Let me post it here as code block:
Click to expand

@rjescobar @azatsh Can you provide a linux script please ? i'm also using intellij 2026

READ FIRST! i released a trail reset for jetbrains on linux, and shared on serveral gist, but i got a DMCA warning from JETBRAINS THEM SELF!!!!

But well it indicates it works and is indicated a threat by jetbrains themself lol

i have a trial reset tool for linux that can reset the trial while keeping all extension settings and so on. i could share, but not here. Since i already got one DMCA.

Also notice that anything hosted and shared on git hub is instantly taken down. So do not bother.

i can send a proof video that this tool i made works. otherwise they would ofc not DMCA me ;)

why i share it? because i do not find it ilegal to modify some of the users files and some other stuff to reset shitty trial software, and most certainly not becuase x company should decide what kind of instructions my cpu execute for a device i have worked and payed for.

@dovanmanh080485

Copy link
Copy Markdown

READ FIRST! i released a trail reset for jetbrains on linux, and shared on serveral gist, but i got a DMCA warning from JETBRAINS THEM SELF!!!!

But well it indicates it works and is indicated a threat by jetbrains themself lol
i have a trial reset tool for linux that can reset the trial while keeping all extension settings and so on. i could share, but not here. Since i already got one DMCA.
Also notice that anything hosted and shared on git hub is instantly taken down. So do not bother.
i can send a proof video that this tool i made works. otherwise they would ofc not DMCA me ;)
why i share it? because i do not find it ilegal to modify some of the users files and some other stuff to reset shitty trial software, and most certainly not becuase x company should decide what kind of instructions my cpu execute for a device i have worked and payed for.

@aamaanaa

I am using it for non commercial projects, just open source, so i don’t think that’s illegal. I also just find it difficult to get a license from jetbrains for free, so I didn’t bother asking and just used a trial resetter.

If you’d like please, you can share the linux script here for like 24h and then remove it, I will stay alert and copy it asap, cuz i don’t see any messaging feature in github.

thanks

I have tested it with Ubuntu and the latest PhpStorm.

#!/bin/bash

products=("WebStorm" "IntelliJIdea" "CLion" "Rider" "GoLand" "PhpStorm" "PyCharm")

for product in "${products[@]}"; do
find ~/.config/JetBrains/ -maxdepth 1 -type d -name "${product}*" -exec rm -rf {}/eval ;

find ~/.config/JetBrains/ -maxdepth 1 -type d -name "${product}*" -exec rm -f {}/options/other.xml \;

done

jetbrains_dirs=(
~/.cache/JetBrains
~/.local/share/JetBrains
~/.java/.userPrefs/jetbrains
~/.java/.userPrefs/prefs.xml
)

for dir in "${jetbrains_dirs[@]}"; do
if [ -e "$dir" ]; then
rm -rf "$dir"
fi
done

echo "Activated succesfull"

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