Skip to content

Instantly share code, notes, and snippets.

@rjescobar
Created August 31, 2021 02:53
Show Gist options
  • Star 54 You must be signed in to star a gist
  • Fork 22 You must be signed in to fork a gist
  • Save rjescobar/4b7200d7b2274c029107ca8b9d02f3a3 to your computer and use it in GitHub Desktop.
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
@Darkfllame
Copy link

HAHAHA thanks bro you're my savior, sadly clion is paid which is a bit sad, but anyway you help me hehe, oh btw, NOTHING WRONG HERE JETBRAINS :)

@turbosnek
Copy link

Works fine with PHPStorm 2023.2.3

@hirebirhan
Copy link

Does it work for rider as well?

@PRSouzaFM
Copy link

Does it work for rider as well?

Yes, it does. It does however reset plugins/settings you have installed.

@toannguyen3105
Copy link

Webstorm 2023 still working. Haha

@Bergi-bear
Copy link

Its working WebStorm 2023.3.2

@keplerk
Copy link

keplerk commented Jan 25, 2024

Its working WebStorm 2023.3.2

Really? i tried but nothing happened.

@AregGhazaryan
Copy link

As of 2024 works for Ryder wtf? 😂

@zenhuw
Copy link

zenhuw commented Feb 26, 2024

do i need to activate it while trial is still active or can i do this after trial period ended?

@PRSouzaFM
Copy link

do i need to activate it while trial is still active or can i do this after trial period ended?

You can do it after it has ended.

@DTHRT
Copy link

DTHRT commented Mar 2, 2024

You DO NOT need to use any script. Just click the trial button after your trial ends. Works for me (2024.03.02)

@mloner
Copy link

mloner commented Mar 27, 2024

@DTHRT
Doesn't work. After clicking "Start trial" It says "Existing trial license for Rider 2023.3 is expired"

p.s. It worked when I logged out of my account.

@keplerk
Copy link

keplerk commented Mar 27, 2024

I think the way Jetbrains handle trial licenses, has changed guys, so i don't think this would even work again.

@PRSouzaFM
Copy link

This still works for me for Rider as of 27/03/24. If you guys are not being able to do this to work you're probably doing something wrong

@PRSouzaFM
Copy link

  1. Open jetbrains software and start the trial
  2. Use the trail up to a point that you wan't to reset it
  3. Back up your settings and plugins. I don't remember the exact folder but you can find it quickly with a google search
  4. Run this script as a .bat
  5. Open jetbrains software and start trial
  6. Repeat

@DTHRT
Copy link

DTHRT commented Mar 29, 2024

@PRSouzaFM thank you for the good tutorial! But I would like to add, that for me it works even in a simpler way:

  1. Open JetBrains software (do not login to your jetbrains account, but you can login to your GitHub account)
  2. Start trial
  3. When a trial ends, click the trial button again.

So even no need to erase your settings data or plugins.

It still works for me, and my friend mentioned that JetBrains probably introduced this feature intentionally because it didn't function like this previously.

@RobertNickRevnic
Copy link

RobertNickRevnic commented Apr 4, 2024

You DO NOT need to use any script. Just click the trial button after your trial ends. Works for me (2024.03.02)

@DTHRT Thanks for the tip. My IntelliJ IDEA Ultimate trial expired today and when I started it again, for some reason it worked. 🥳

Guess it's not a bug, but a feature. 😄

@santoshanand
Copy link

santoshanand commented Apr 6, 2024

Open the terminal and copy past following code


for product in IntelliJIdea WebStorm DataGrip PhpStorm CLion PyCharm GoLand RubyMine Rider; do
    echo "[+] Resetting trial period for $product"

    echo "[+] Removing Evaluation Key..."
    rm -rf ~/.config/$product*/eval 2> /dev/null

    # Above path not working on latest version, Fixed below
    rm -rf ~/.config/JetBrains/$product*/eval 2> /dev/null

    echo "[+] Removing all evlsprt properties in options.xml..."
    sed -i 's/evlsprt//' ~/.config/$product*/options/other.xml 2> /dev/null

    # Above path not working on latest version, Fixed below
    sed -i 's/evlsprt//' ~/.config/JetBrains/$product*/options/other.xml 2> /dev/null

    echo
done

echo "Removing userPrefs files..."
rm -rf ~/.java/.userPrefs 2> /dev/null



Original Post https://gist.github.com/h3ssan/9510fbb2291d41b090cf52adb2edd1c4

@pletnev-aleksandr
Copy link

pletnev-aleksandr commented Apr 10, 2024

Doesn't work for me anymore (windows) for Pycharm. If you found solution, please share

@PRSouzaFM
Copy link

Doesn't work for me anymore (windows). If you found solution, please share

Yes it does work. I have just tried it in windows for Rider in the newest version
You are doing something wrong

@pletnev-aleksandr
Copy link

I am trying to do so for Pycharm. I manually tried deleting in

  • HKEY_CURRENT_USER\Software\JavaSoft
  • "%APPDATA%\JetBrains"

PyCharm doesn't have a folder here: "%USERPROFILE%/PyCharm

@PRSouzaFM
Copy link

I am trying to do so for Pycharm. I manually tried deleting in

* HKEY_CURRENT_USER\Software\JavaSoft

* "%APPDATA%\JetBrains"

PyCharm doesn't have a folder here: "%USERPROFILE%/PyCharm

Are you trying to run the script or deleting manually?

@Wooooooooooooooooooooooooo1
Copy link

In the P e r m a n e n t U s e r I d file in Appdata Roaming JetBrains you must the last letter change

Maybe you need to rename JetBrainsClient233.11555.11 to another name as well

@m0lDaViA
Copy link

You DO NOT need to use any script. Just click the trial button after your trial ends. Works for me (2024.03.02)

2024.04.14 not working anymore.

@DTHRT
Copy link

DTHRT commented Apr 15, 2024

You DO NOT need to use any script. Just click the trial button after your trial ends. Works for me (2024.03.02)

2024.04.14 not working anymore.

yeah. maybe somebody from dev team read this thread ahaha

@iidea123
Copy link

iidea123 commented Apr 15, 2024

In the P e r m a n e n t U s e r I d file in Appdata Roaming JetBrains you must the last letter change

Maybe you need to rename JetBrainsClient233.11555.11 to another name as well

First line from the quote and deleting ...\config\options\other.xml and registry entry did the trick for me under Windows, Idea finally entered trial mode again.
Can confirm that the Trial button stopped working a couple of days ago.

@axipro1995
Copy link

Tks u, this still work on my IntelliJ 2023 👍

@aveaxii
Copy link

aveaxii commented Apr 29, 2024

In the P e r m a n e n t U s e r I d file in Appdata Roaming JetBrains you must the last letter change
Maybe you need to rename JetBrainsClient233.11555.11 to another name as well

First line from the quote and deleting ...\config\options\other.xml and registry entry did the trick for me under Windows, Idea finally entered trial mode again. Can confirm that the Trial button stopped working a couple of days ago.

work on 2024-04-29

@tohik05
Copy link

tohik05 commented Apr 29, 2024

Hi guys, could somebody help me?
I used trial one-by-one for year and now i can't put one more trial. I immediatly get error message:
"You have already started a trial of IntelliJ IDEA Ultimate 2022.2. To continue using it, try logging in or out of your JetBrains Account."
What can i do with that?

@aveaxii
Copy link

aveaxii commented Apr 29, 2024

Hi guys, could somebody help me? I used trial one-by-one for year and now i can't put one more trial. I immediatly get error message: "You have already started a trial of IntelliJ IDEA Ultimate 2022.2. To continue using it, try logging in or out of your JetBrains Account." What can i do with that?

Hello,

Before:

  1. Log out from your account in IDE (Press Left Shift double, then write Manage Licenses, it will open window, there will be your account in left bottom corner)
  2. Close IDE
  3. Create new email

Then:

  1. Press Win + R and write there appdata
  2. Go to Roaming -> JetBrains
  3. There will be file called PermanentUserId
  4. Open it and change last letter to something

After this:

  1. Go to "\AppData\Roaming\JetBrains\WebStorm2023.3\options\other.xml"
  2. Delete other.xml

Finally:

  1. Open IDE and Log in via new email
  2. Press trial on all you want
  3. Enjoy

UPD: maybe I misread your problem but anyway this instruction can be useful for someone

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