How do I remove my IntelliJ license in 2019.3?
Intellij IdeaIntellij Idea Problem Overview
I have JetBrains IntelliJ installed, how do I remove the license settings? I can find the license details in Help > Register...
menu but that does not allow me to remove license settings or to enter invalid data like a nonexisting license server.
Use case: I have a license server installed which is running out of licenses. I want to make sure that my machine does not take a seat if I ever happen to start IntelliJ.
I dont see remove Icon anywhere:
Moderator note: please don't suggest how to crack the software or remove trial period limitation.
Intellij Idea Solutions
Solution 1 - Intellij Idea
To remove the license key:
- Find the IntelliJ configuration directory
- Find the .key license file
- Remove or rename the .key license file
In my case on a Windows 7 machine I could find this license key in C:\Users\you\.IntelliJIdea13\config\idea13.key
Solution 2 - Intellij Idea
For Linux to reset current 30 days expiration license, you must run code:
rm ~/.config/JetBrains/IntelliJIdea2019.3/options/other.xml
rm -rf ~/.config/JetBrains/IntelliJIdea2019.3/eval/*
rm -rf .java/.userPrefs
Solution 3 - Intellij Idea
For Windows : Using batch program.
Write this code in a text file and save it.
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") 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
Now rename the file fileName.txt
to fileName.bat
Close phpstorm if running. Disconnect internet. Then run the file. Open phpstorm again. If nothing goes wrong you will see the magic.
worst case : If phpstorm still shows "License Expired", at first uninstall and then apply the above technique.
Solution 4 - Intellij Idea
Not sure about older versions, but in 2016.2 removing the .key
file(s) didn't work for me.
I'm using my JetBrains account and used the 'Remove License' button found at the bottom of the registration dialog. You can find this under the Help
menu or from the startup dialog via Configure -> Manage License...
.
Solution 5 - Intellij Idea
in linux/ubuntu you can do, run following commands
cd ~/.config/JetBrains/PyCharm2020.1
rm eval/PyCharm201.evaluation.key
sed -i '/evlsprt/d' options/other.xml
cd ~/.java/.userPrefs/jetbrains
rm -rf pycharm*
Solution 6 - Intellij Idea
A slightly modified version for all jetbrains products
rm ~/.config/JetBrains/**/options/other.xml
rm -rf ~/.config/JetBrains/**/eval/*
rm -rf .java/.userPrefs
one thing to mention is that if you use sudo on these commands it will use roots home directory and not your user directory. So either change permissions first or remove the ~/ from the first 2 commands and run from home directory with sudo, like this
cd ~
sudo rm .config/JetBrains/**/options/other.xml
sudo rm -rf .config/JetBrains/**/eval/*
sudo rm -rf .java/.userPrefs
Solution 7 - Intellij Idea
I think there are more solutions!
You can start the app, and here are 3 things you can do:
- If the app shows for the first time the "import settings" dialog and then the "create/open a project" dialog, you can click on
Settings
>Manage License...
>Remove License
, and that removes for all Jetbrains products*. - If you open products like IntelliJ IDEA and have projects currently active (like the app open automatically the all IDE without prompt), then click on
File
>Close Project
, and follow the first step. - Inside any app of IntelliJ, click on
Help
>Register...
>Remove license
.
*In case you have a license for a pack of products. If not, you have to remove the license per product individually. Check the 3rd step.
Solution 8 - Intellij Idea
For PHPStorm 2020.3.2 on ubuntu inorder to reset expiration license, you should run following commands:
sudo rm ~/.config/JetBrains/PhpStorm2020.3/options/other.xml
sudo rm ~/.config/JetBrains/PhpStorm2020.3/eval/*
sudo rm -rf .java/.userPrefs
Solution 9 - Intellij Idea
For Ubuntu Linux
reset trial
shopt -s nocaseglob;
rm -rf ~/.config/JetBrains/phpstorm*/eval;
rm -rf ~/.config/JetBrains/phpstorm*/options/other.xml;
rm -rf ~/.java/.userPrefs/jetbrains;
autoskip lisence window on startup
sudo apt install wmctrl xautomation
#!/bin/bash
x=1
# wait 30 seconds for window
while [ $x -le 150 ]
do
if test $(wmctrl -l | grep "User Agreement" 2>&1 | wc -l) -eq 1; then
wmctrl -va "User Agreement";
sleep 0.2;
xte 'key Tab';
sleep 0.2;
xte 'key Space';
sleep 0.2;
xte 'key Space';
sleep 0.2;
fi
if test $(wmctrl -l | grep "License Activation" 2>&1 | wc -l) -eq 1; then
wmctrl -va "License Activation";
sleep 0.1;
xte 'keydown Shift_L';
sleep 0.005;
xte 'key Tab';
sleep 0.05; # you need to adjust timing (in ms) if script doesn't work
xte 'key Tab';
sleep 0.05;
xte 'key Tab';
sleep 0.005;
xte 'keyup Shift_L';
sleep 0.05;
xte 'key Right';
sleep 0.025;
xte 'key Return';
break
fi
sleep 0.2;
x=$(( $x + 1 ))
done
Source: https://gist.github.com/k1paris/80b65e77342135ae594cf3f52b544900
Solution 10 - Intellij Idea
For new versions of IntelliJ
Redirect to JetBrains configuration directory
cd ~/.config/JetBrains/
Check already installed JwtBrains tools
ls
It shows this list for me
- IntelliJIdea2021.1
- PyCharm2020.3
- PyCharm2021.1
My PyCharm has already activated and I have a pycharm.key
file in PyCharm2020.3
directory
I am just typing
cp ./PyCharm2020.3/pycharm.key ./IntelliJIdea2021.1/idea.key
Then when I trying to run my IntelliJ IDEA it works and doesn't want any activation key or login
Solution 11 - Intellij Idea
for mac
cd ~/Library/Application\ Support/JetBrains/GoLand2020.2/options/
rm -rf other.xml
cd ~/Library/Application\ Support/JetBrains/GoLand2020.2/eval/
rm -rf *
I couldn't find the file mentioned for ubuntu answers (.java/.userPrefs)
But it worked after running the above commands.
Solution 12 - Intellij Idea
Easily find in Menu bar
`Help` > `Register` > `Remove license`