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

and laravel idea plugin? is reset? how do it?

@Duxtie
Copy link

Duxtie commented Dec 4, 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

@XGilmar This has been taken down. can you please share another link?

@Jurgen-DOUCHY
Copy link

Jurgen-DOUCHY commented Dec 4, 2024 via email

@marco-mamani
Copy link

is htere a way to backup your plugins so you dont have to installa everything again after resetting the trial?
Please help!!

@Seres67
Copy link

Seres67 commented Jan 6, 2025

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

@marco-mamani
Copy link

@Seres67 Thank you I will try it!

@AlexanderSerov
Copy link

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

@Mardvey-UMA
Copy link

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

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

@MarckTK
Copy link

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

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