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
@Seres67
Copy link
Copy Markdown

Seres67 commented Jan 6, 2025

@marco-mamani delete only PermanentDeviceId and PermanentUserId in %APPDATA%/Jetbrains instead of the whole folder

@marco-mamani
Copy link
Copy Markdown

@Seres67 Thank you I will try it!

@AlexanderSerov
Copy link
Copy Markdown

Suddenly, it does not work for me second time.
image

@Mardvey-UMA
Copy link
Copy Markdown

working for Arch Linux!!!

#!/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

find ~/ -type d -name ".JetBrains" -exec rm -rf {} + 2>/dev/null
find ~/ -type d -name ".idea" -exec rm -rf {} + 2>/dev/null

echo "Activated succesfull"

@palugadaprogrammer
Copy link
Copy Markdown

is there any update for latest version 2025.1.XX.XX. i tried all above but not work

@MarckTK
Copy link
Copy Markdown

MarckTK commented May 27, 2025

Hey @XGilmar ! I still have the .jar file you shared earlier, but unfortunately, it doesn’t work anymore with versions after 2025.1.X.X — it just won’t activate again. Do you happen to have a fix for this? If so, I’d really appreciate your help. Thanks so much for all the support given to the community!!

@glats
Copy link
Copy Markdown

glats commented May 31, 2025

The repo was taking down. @XGilmar maybe got sued lol

@ulikw
Copy link
Copy Markdown

ulikw commented Jun 11, 2025

It's working. Thank you!

@SamHoque
Copy link
Copy Markdown

Hello, I just coded this plugin to reset eval trials, it can do it automatically every time you exit the IDE, or Reset via a button.
It's fully open source, feel free to build it yourself :)
https://github.com/SamHoque/ide-eval-resetter

@SamHoque
Copy link
Copy Markdown

Hello, I just coded this plugin to reset eval trials, it can do it automatically every time you exit the IDE, or Reset via a button.
It's fully open source, feel free to build it yourself :)
https://github.com/SamHoque/ide-eval-resetter

@salmansayyad
Copy link
Copy Markdown

@SamHoque Not working for Intellij IDEA 2025.1

@SamHoque
Copy link
Copy Markdown

@salmansayyad I am on the latest version 2025.1.3, and its still working for me, I have it reset to everytime I launch the IDE.

image

@aamaanaa
Copy link
Copy Markdown

aamaanaa commented Oct 4, 2025

care full guys. i got a dmca take down on my trial reset on linux

@NotAHacker121
Copy link
Copy Markdown

@SamHoque Your repo was taken down. Any chance you could create a new one or share the code?

@SamHoque
Copy link
Copy Markdown

@SamHoque Your repo was taken down. Any chance you could create a new one or share the code?

I am attempting a counter DMCA atm, since I didn't use any copyrighted code. all I am doing is modifying a file in the users computer, I'll try to fight it. a user should be able to do what they please with their machine.

@aamaanaa
Copy link
Copy Markdown

aamaanaa commented Nov 6, 2025

@SamHoque Your repo was taken down. Any chance you could create a new one or share the code?

I am attempting a counter DMCA atm, since I didn't use any copyrighted code. all I am doing is modifying a file in the users computer, I'll try to fight it. a user should be able to do what they please with their machine.

imagine been banned of github and send to prison all becuase we edit a few files on our own pc....

@official-notfishvr
Copy link
Copy Markdown

😭

@a-smazheuski
Copy link
Copy Markdown

It works on 31.12.2025. Thanks

@vsachinv
Copy link
Copy Markdown

vsachinv commented Jan 2, 2026

@smazhevskiy From where did you download Plugin? If any working link available?

@Seres67
Copy link
Copy Markdown

Seres67 commented Jan 2, 2026

@vsachinv delete PermanentDeviceId and PermanentUserId in %APPDATA%/Jetbrains

@vsachinv
Copy link
Copy Markdown

vsachinv commented Jan 2, 2026

@Seres67 Thanks but I have installed in macbook. Would it be same steps?

@a-smazheuski
Copy link
Copy Markdown

@smazhevskiy From where did you download Plugin? If any working link available?

PyCharm & WebStorm from the official website

@NotAHacker121
Copy link
Copy Markdown

@smazhevskiy From where did you download Plugin? If any working link available?

The jar file is available from when the repo was still up. You can't access the source code now after the DMCA takedown.

@SamHoque Would you be able to share the source code somehow?

@XInfiniterX
Copy link
Copy Markdown

I would also like to get trial reset plugin, i noticed that deleting PermanentDeviceId and PermanentUserId in appdata/roaming/jetbrains folder somehow resets trial.

@c-giacomo
Copy link
Copy Markdown

Intellij Ultimate Version 2025.3.1 (.exe istaller version). I tryed the follow procedure when I have still 16 days of trial.

  1. When the IDE is open you must go to Manage License and:

    • On the left menu under IDE:
      • Select IntelliJ -> Deactivate Subscription
    • On the left menu under Paid Plugins:
      • Select each Plugin -> Remove License
  2. The point number 1 required to restart the IDE. Restart it and shutdown again.

  3. In the folder /AppData/Roaming/JetBrains/ remove the files PermanentUserId and PermanentDeviceId (no need to remove other.xml).

  4. Create new mail

  5. Open your ide go to Trials and Login with new mail (you will be ask to create new account).

You'll have 30 days again.

@c-giacomo
Copy link
Copy Markdown

c-giacomo commented Feb 11, 2026

sorry is a little bit more complex:

in [user]/AppData/Roaming I erase completely the folder JetBrains

on regedit I remove HKEY_CURRENT_USER\Software\JavaSoft\Prefs\JetBrains

This will work on latest version but remove all the configuration! Pay attention

@XInfiniterX
Copy link
Copy Markdown

Does anyone know how to do it on macos?

@arfathyahiya
Copy link
Copy Markdown

arfathyahiya commented Feb 21, 2026

working for Arch Linux!!!

#!/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

find ~/ -type d -name ".JetBrains" -exec rm -rf {} + 2>/dev/null
find ~/ -type d -name ".idea" -exec rm -rf {} + 2>/dev/null

echo "Activated succesfull"

this works but also uninstalls all your plugins and reset your settings etc.
is there any way to keep plugins and other settings?
maybe not remove all of the cache?

UPDATE: No idea what happened but seems like pycharm is now crashing for some reason
UPDATE: After deleting the entire .config/JetBrains/PyCharm* it's working now
UPDATE: It only works for like one or two time then it crashes again. I think PyCharm is bugged on linuxmint?

@churdes
Copy link
Copy Markdown

churdes commented Mar 27, 2026

How to handle it on macOS?

@XInfiniterX
Copy link
Copy Markdown

How to handle it on macOS?

Use this, i tested it on IntelliJ 2025.3
https://github.com/garyjuano/jetbrains-reset-trial-evaluation-mac

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