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

azatsh commented Apr 14, 2026

Copy link
Copy Markdown

Apart from reset trial approach I also could activate JetBrains using jetbra jar file.
I can share the instructions if needed.

@v1ptyoz

v1ptyoz commented Apr 14, 2026

Copy link
Copy Markdown

Cannot activate the latest GoLand with jetbra file (251031) on MacOS 26. I added string to vmoptions, but now app is crashed. Can anyone provide instructions?

@azatsh

azatsh commented Apr 14, 2026

Copy link
Copy Markdown

@v1ptyoz
Here is md file with instructions:

Click to expand

Installing the IDE

Download and install the latest IDE version

As of July 1, 2024, JetBrains restricted downloads of its products for users from Russia and Belarus. Neither the official website nor JetBrains Toolbox works directly.

Workarounds:

  1. Use a VPN and download from the official website.
  2. Download from the repository https://306.antroot.ru/jetbrains-download (no VPN required).
  3. Download a pre-activated version from torrents (example: https://rutracker.org/forum/viewtopic.php?t=6812673).

Editing the hosts file

To prevent the IDE from validating the license online, you must block access to the JetBrains account server via the hosts file. This step is recommended for both activation options below.

Hosts file location

  • Windows: C:\Windows\System32\drivers\etc\hosts (edit as administrator)
  • Linux / macOS: /etc/hosts (edit via sudo)

Add the following lines to the end of the file

# All requests to the JetBrains account server are sent nowhere (a non-existent address).
# This blocks online license validation.
0.0.0.0 account.jetbrains.com
# The main site itself remains reachable
#0.0.0.0 www.jetbrains.com

Option 1 (pseudo-activation)

Installing the activation agent

Get the jetbra files

For 2025+ versions: see the ../jetbra/ folder next to this guide.

!!! Legacy link (may work for older versions up to 2024): Download

It contains the full set of files required for successful activation.


Extract the archive contents, for example to the root of drive C:

Unpacked files

Unpacked files


Next, go to the scripts folder and run the appropriate script

  • install-current-user.vbs — for the current Windows user
  • install-all-users.vbs — for all Windows users
  • install.sh — for macOS and Linux

On Windows you should see the following result.
Click OK.

Windows result

The script may take a few seconds to run.
Press 'OK' and wait for the 'Done' window to appear!


Wait for the script to finish (there may be a few seconds of delay).
Click OK.

Done window

The 'Done' window


Result of running the script on Linux:

Linux result

Done. You should log out of your system!

On Linux and macOS, a reboot is required after the script runs successfully.

Configuring VM Options

The VM Options configuration file must contain the following line:

-javaagent:C:\jetbra\ja-netfilter.jar=jetbrains

Where C:\jetbra\ja-netfilter.jar is the path to your unpacked archive.
In most cases this line is added automatically, but if it's not, add the path to ja-netfilter.jar manually, using the same pattern.


❓ How to locate the VM Options file

Typical files:
JetBrains\{Product}\bin\{product}.exe.vmoptions
JetBrains\{Product}\bin\jetbrains_client64.exe.vmoptions

For example:
C:\Program Files\JetBrains\JetBrains.Rider-2026.1.0.1.win\rider64.exe.vmoptions
C:\Program Files\JetBrains\JetBrains.Rider-2026.1.0.1.win\jetbrains_client64.exe.vmoptions

You can also edit it from within the IDE: Help → Edit Custom VM Options.

If the license notification prevents you from reaching the welcome screen, activate the Trial version first.

VM Options path in JetBrains IDE

Path to the VM Options file in a JetBrains IDE

VM Options file contents

VM Options configuration file contents

License activation

Go to https://3.jetbra.in, which lists available hosts, and pick any working one

The site also has mirrors (if the original is down), find them via search.

Users recommend the hardbin.com host.

🙁 upd 2024-02-12 | Recently some hosts have been temporarily unavailable — if that happens, come back and try again later.

⚠️ On the gateway.pinata.cloud host the [ Copy to clipboard ] button is broken.

3.jetbra.in site

The 3.jetbra.in site


Pick the product you need

List of products available for activation

List of products available for activation


Click Copy to clipboard

Copy to clipboard

Copy the activation key.

A few ready-made keys (alternative)

Rider 2025


In the IDE, open the license management section

Path to license management

Path to the license management section


Click Activate New License or Remove License

Select Activation Code and paste the code you copied earlier.

Activation dialog

IDE activation

Result

You now have an activated IDE valid until September 2026.

Activated IDE

Activated IDE


Paid plugins can be activated the same way from the list on 3.jetbra.in. For example, Extra Icons and Code With Me have been successfully activated.

Activated plugins

Activated plugins

Option 2 (trial reset)

An alternative approach — periodically resetting the trial period. Doesn't require installing an activation agent or keys. Suitable if Option 1 doesn't work for some reason.

Get the script

The scripts are in the ../reset_trial/ folder next to this guide:

  • reset_trial.cmd — for Windows
  • reset_trial.sh — for macOS / Linux

Resetting the trial

Before running, close all JetBrains IDEs.

Windows: run reset_trial.cmd.

The script will prompt you to enter the path to your JetBrains config (if you use a non-standard location), or press Enter to use the default paths.

macOS / Linux: run reset_trial.sh in a terminal:

chmod +x reset_trial.sh
./reset_trial.sh

The script automatically removes:

  • Evaluation (eval) keys for all JetBrains products
  • evlsprt entries from configuration files
  • License files and device identifiers
  • Registry entries HKCU\Software\JavaSoft (Windows only)

Once finished, launch the IDE — the trial period will be reset.

You can repeat the reset procedure every time the trial period (30 days) expires.

@azatsh

azatsh commented Apr 14, 2026

Copy link
Copy Markdown

There is a mirror of 3.jetbra.in, that currently available:
https://kdaiyu.com/3.jetbra.in/

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

@WadyTupiza

Copy link
Copy Markdown

Any key or patch for JetBrains 2026.1?

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

EDIT

al know documented methods or nuking files and folders IS NOT NEEDED AND DELETES YOUR SETTINGS LICENSES FOR EXTENSIONS AND SO ON

@simfra

simfra commented Jul 7, 2026

Copy link
Copy Markdown

@aamaanaa can you share it via email ?

ghost commented Jul 7, 2026

Copy link
Copy Markdown

@aamaanaa can you share it via email ?

you do not have a public mail or any contact info, or even just a profile picture, 6 old repos, and no starred repos

are you a jetbrains inc. empoyee?

@sahyung

sahyung commented Jul 8, 2026

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.

EDIT

al know documented methods or nuking files and folders IS NOT NEEDED AND DELETES YOUR SETTINGS LICENSES FOR EXTENSIONS AND SO ON

@aamaanaa please send your tool to my email.
actually I still have the Intelij plugin from @SamHoque installed on my old vm, but I lost the original zip file.
I tried to copy the whole folder from the Intelij plugin to new installation, but failed to install on the new machine

@Jurgen-DOUCHY

Copy link
Copy Markdown

Maybe this would help.
I have the old tool and analyzed it with copilot.

This is wat you certainly never shoud do if you want to keep your trial licence:

OS Target Action Notes
Windows HKEY_CURRENT_USER\Software\JavaSoft Deletes the registry key Uses reg delete ... /f
Windows %APPDATA%\JetBrains\PermanentUserId Deletes the file Uses del /F /Q
macOS ~/Library/Preferences/com.apple.java.util.prefs.plist Removes the plist entry from the cleanup list, then deletes matching files Part of a loop over preference files
macOS ~/Library/Preferences/com.jetbrains.*.plist Deletes matching plist files Wildcard-based removal
macOS ~/Library/Preferences/jetbrains.*.plist Deletes matching plist files Wildcard-based removal
macOS ~/Library/Preferences/$product_name/eval Deletes the eval folder Product-specific
macOS ~/Library/Application Support/JetBrains/$product_name/eval Deletes the eval folder "Latest version" path
macOS ~/Library/Preferences/$product_name/options/other.xml Removes lines containing evlsprt Uses sed -i ''
macOS ~/Library/Application Support/JetBrains/$product_name/options/other.xml Removes lines containing evlsprt "Latest version" path
Linux ~/.config/JetBrains/$product_name/eval Deletes the eval folder Product-specific
Linux ~/.config/JetBrains/$product_name/options/other.xml Removes evlsprt text Uses sed -i 's/evlsprt//'
Linux ~/.java/.userPrefs Deletes Java user preferences Uses recursive delete

ghost commented Jul 8, 2026

Copy link
Copy Markdown

Maybe this would help. I have the old tool and analyzed it with copilot.

This is wat you certainly never shoud do if you want to keep your trial licence:
OS Target Action Notes
Windows HKEY_CURRENT_USER\Software\JavaSoft Deletes the registry key Uses reg delete ... /f
Windows %APPDATA%\JetBrains\PermanentUserId Deletes the file Uses del /F /Q
macOS ~/Library/Preferences/com.apple.java.util.prefs.plist Removes the plist entry from the cleanup list, then deletes matching files Part of a loop over preference files
macOS ~/Library/Preferences/com.jetbrains.*.plist Deletes matching plist files Wildcard-based removal
macOS ~/Library/Preferences/jetbrains.*.plist Deletes matching plist files Wildcard-based removal
macOS ~/Library/Preferences/$product_name/eval Deletes the eval folder Product-specific
macOS ~/Library/Application Support/JetBrains/$product_name/eval Deletes the eval folder "Latest version" path
macOS ~/Library/Preferences/$product_name/options/other.xml Removes lines containing evlsprt Uses sed -i ''
macOS ~/Library/Application Support/JetBrains/$product_name/options/other.xml Removes lines containing evlsprt "Latest version" path
Linux ~/.config/JetBrains/$product_name/eval Deletes the eval folder Product-specific
Linux ~/.config/JetBrains/$product_name/options/other.xml Removes evlsprt text Uses sed -i 's/evlsprt//'
Linux ~/.java/.userPrefs Deletes Java user preferences Uses recursive delete

for linux, this deletes licenses and settings. not needed.

ghost commented Jul 8, 2026

Copy link
Copy Markdown

@Jurgen-DOUCHY @sahyung please add me on Discord....

shmimoris (reshena)

i am looking for a way to distrubute online without it been taken down... at the moment gitflic.ru seems a good choice... Put it on github and it gets taken down and one more time on my account and i get perma banned xd

i do not think modifying software on my own computer is illegal.

for anyone intrested here is the take down i got from github

"The repositories in question provide methods of avoiding or modifying the original JetBrains software/activation in order to obtain unauthorized access to the copyrighted work. Such methods include but are not limited to modification of the software in order to (i) prolong a trial period indefinitely; (ii) disable online verification with simultaneous unauthorized offline activation; (iii) access un-authorized 3rd party license server; etc."

While GitHub did not find sufficient information to determine a valid anti-circumvention claim, we determined that this takedown notice contains other valid copyright claim(s).

---

One or more repositories in this DMCA takedown notice has been processed in accordance with GitHub's prohibition on sharing unauthorized product licensing keys, software for generating unauthorized product licensing keys, and/or software for bypassing checks for product licensing keys.

You can learn more in [GitHub's Acceptable Use Policies](https://docs.github.com/en/github/site-policy/github-acceptable-use-policies).

---

**Are you the copyright holder or authorized to act on the copyright owner's behalf? If you are submitting this notice on behalf of a company, please be sure to use an email address on the company's domain. If you use a personal email address for a notice submitted on behalf of a company, we may not be able to process it.**

Yes, I am authorized to act on the copyright owner's behalf.

**Are you submitting a revised DMCA notice after GitHub Trust & Safety requested you make changes to your original notice?**

No

**Does your claim involve content on GitHub or npm.js?**

GitHub

**Please describe the nature of your copyright ownership or authorization to act on the owner's behalf.**

I am an [private] (employee) of the sole copyright owner JetBrains s.r.o.

**Please provide a detailed description of the original copyrighted work that has allegedly been infringed.**

PhpStorm, WebStorm, PyCharm, RubyMine, IntelliJ IDEA, AppCode, ReSharper, CLion, DataGrip, etc. are JetBrains s.r.o. proprietary desktop software products.

**If the original work referenced above is available online, please provide a URL.**

The originals of the products can be found at JetBrains s.r.o. official website: https://jetbrains.com

**We ask that a DMCA takedown notice list every specific file in the repository that is infringing, unless the entire contents of the repository are infringing on your copyright. Please clearly state that the entire repository is infringing, OR provide the specific files within the repository you would like removed.**

**Based on the above, I confirm that:**

The entire repository is infringing

**Identify the full repository URL that is infringing:**

**https://github.com/aamaanaa/jetbrains-trial-reset**

**Do you claim to have any technological measures in place to control access to your copyrighted content? Please see our <a href="https://docs.github.com/articles/guide-to-submitting-a-dmca-takedown-notice#complaints-about-anti-circumvention-technology">Complaints about Anti-Circumvention Technology</a> if you are unsure.**

Yes

**What technological measures do you have in place and how do they effectively control access to your copyrighted material?**

JetBrains tools are protected with the two mechanisms: an activation code that can be downloaded legitimately from account.jetbrains.com website only, and a user credentials checked against the users database at this web service.

**How is the accused project designed to circumvent your technological protection measures?**

The repositories in question provide methods of avoiding or modifying the original JetBrains software/activation in order to obtain unauthorized access to the copyrighted work. Such methods include but are not limited to modification of the software in order to (i) prolong a trial period indefinitely; (ii) disable online verification with simultaneous unauthorized offline activation; (iii) access un-authorized 3rd party license server; etc.

**If you are reporting an allegedly infringing fork, please note that each fork is a distinct repository and <i>must be identified separately</i>. Please read more about <a href="https://docs.github.com/articles/dmca-takedown-policy#b-what-about-forks-or-whats-a-fork">forks.</a> As forks may often contain different material than in the parent repository, if you believe any of the repositories or files in the forks are infringing, please list each fork URL below:**

https://github.com/scriptshadow/jetbrains-trial-reset

**Is the work licensed under an open source license?**

No

**What would be the best solution for the alleged infringement?**

Reported content must be removed

**Do you have the alleged infringer’s contact information? If so, please provide it.**

N/A

**I have a good faith belief that use of the copyrighted materials described above on the infringing web pages is not authorized by the copyright owner, or its agent, or the law.**

**I have taken <a href="https://www.lumendatabase.org/topics/22">fair use</a> into consideration.**

**I swear, under penalty of perjury, that the information in this notification is accurate and that I am the copyright owner, or am authorized to act on behalf of the owner, of an exclusive right that is allegedly infringed.**

**I have read and understand GitHub's <a href="https://docs.github.com/articles/guide-to-submitting-a-dmca-takedown-notice/">Guide to Submitting a DMCA Takedown Notice</a>.**

**So that we can get back to you, please provide either your telephone number or physical address.**

JetBrains s.r.o., [private]

**Please type your full name for your signature.**

[private]

@sahyung

sahyung commented Jul 8, 2026

Copy link
Copy Markdown

@aamaanaa friend request on Discord sent.

@oexza

oexza commented Jul 8, 2026

Copy link
Copy Markdown

@sahyung please add me too to the discord....

orexza

@simfra

simfra commented Jul 10, 2026

Copy link
Copy Markdown

@aamaanaa i've updated on my github profile link to my website .. you can send via contact form :)

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