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

azatsh commented Apr 14, 2026

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

@v1ptyoz
Copy link
Copy Markdown

v1ptyoz commented Apr 14, 2026

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

azatsh commented Apr 14, 2026

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

azatsh commented Apr 14, 2026

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

@sahyung
Copy link
Copy Markdown

sahyung commented Apr 15, 2026

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?

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