Skip to content

Instantly share code, notes, and snippets.

@rjescobar
Created August 31, 2021 02:53
Show Gist options
  • 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
@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.

@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

@xcviko
Copy link

xcviko commented May 8, 2024

@aveaxii thanks

@XGilmar
Copy link

XGilmar commented May 8, 2024

@keplerk
Copy link

keplerk commented May 8, 2024

Screenshot from 2024-05-08 09-04-49

Check my script for linux https://gist.github.com/XGilmar/55f6727a40f78979a6a7f8d5885e3bdd

This gist is for windows, no use post things related to linux

@XGilmar
Copy link

XGilmar commented May 8, 2024

This gist is for windows, no use post things related to linux

no problem, I'll post one for windows also

@RobertNickRevnic
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

This did the trick for IntelliJ IDEA Ultimate 2024.1.1.
The script didn't work.

@PRSouzaFM
Copy link

This gist is for windows, no use post things related to linux

no problem, I'll post one for windows also

That is pretty cool. Would you mind doing one for windows?

@PRSouzaFM
Copy link

Screenshot from 2024-05-08 09-04-49

Check my script for linux https://gist.github.com/XGilmar/55f6727a40f78979a6a7f8d5885e3bdd

Also perhaps add Rider support?

@Vladkaznachevski
Copy link

Many thanks to the creator of the script, he saved my graduate work on django, which almost died because of the expired license

@kilobyte3
Copy link

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

it used to work for me like that. But now, with a newly created account, Phpstorm says "There are no valid licenses associated with the account"

@Honghung123
Copy link

THANK YOU SO MUCH :3, IT WORKS ON THE NEWEST INTELLIJ VERSION(2024.1.1). I'M SO HAPPY 🥉

@xamayca
Copy link

xamayca commented May 13, 2024

Work in 2024 ;) Thanks a lot

@Pawahub
Copy link

Pawahub commented May 13, 2024

it's cool, but how to deal with mac os?

@XGilmar
Copy link

XGilmar commented May 13, 2024

330198636-a1fd23ff-209b-4e43-8b0f-8d902f3274f6

Guys, I took the task of making an application that does the process of restoring the free month, at the moment it is only available for Linux and Windows. https://github.com/XGilmar/JetBrains-reset-trial-app

@lariosdje
Copy link

phpstrom works 100% on version 2024.1.1.

Do you know if it works in PyCharm 2024.1.1?

@anderood
Copy link

@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.

Dont work for me - 14/05/2024

@anderood
Copy link

Screenshot from 2024-05-08 09-04-49
Check my script for linux https://gist.github.com/XGilmar/55f6727a40f78979a6a7f8d5885e3bdd

This gist is for windows, no use post things related to linux

I use Linux, and I was also looking for something related to this. Why does it have to be exclusive?

@anderood
Copy link

Screenshot from 2024-05-08 09-04-49

Check my script for linux https://gist.github.com/XGilmar/55f6727a40f78979a6a7f8d5885e3bdd

It worked perfectly, thank you very much!
I gave it one star.

@hassanfayyaz19
Copy link

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