Cannot fully delete jetBrains folder after uninstall?

Answered

Hi,

 

So i have been using the community edition of intelliJ now for a couple of months with no problems, that is until today, i first noticed that when trying to create and save a new project into my usual folder on the desktop as i have done for countless projects now, it was instead creating some .iml file type within this folder and not a project folder with the name i had specified containing all the usual scr and other folders etc etc, and in the project view instead of seeing my usual package and class (rather small progression of drop downs) there was instead the entire contents of the source folder that i always choose to save all my projects in, i went through a set-up process again of configuring the SDK etc and that is when i noticed that for some reason or another the SDK had been reset to NO SDK!, i thought this might have solved the issue but to no avail the same problem continued even with the SDK set back to what it was previously, it would however let me save projects as i had been doing previously straight onto the desktop in which it would as expected create a project folder with the name of my choosing at the time of creation, and no silly weird never seen before .iml files types, eventually i got tired of the SDK resetting to NO SDK every time i exited the application and also with still be no further forward in figuring out why my projects were no longer saving as they once did i went for the nuclear option and uninstalled, which then brought me to more problems, upon trying to re-install i cannot install it where i would like (which is the jetBrains folder in programs) because the installer tells me i must install to an empty folder, this then led me to realize that the uninstaller had not removed everything, so i navigated to the jetBrains folder in my programs folder to manually delete it in order that i can re-install intelliJ and now im being told "folder access denied" so i cant delete the jetBrains folder as i dont have administrator privileges apparently, which i most certainly do as ive checked my user account (being the only one on the entire system) and it says "administrator", i then went to the properties of the jetBrains folder as well to check and the administrator (i.e. ME) is the owner of that folder, so im now completely stumped, in summary:

 

* I cant re-install intelliJ, until it has an empty folder.

* I cant empty the folder because i cant delete it.

* I cant delete it because i dont have admin privileges(which i definitely do!).

* And ever if i get all of this sorted none of it guarantees that it will solve the whole problem that started this, the project saving issue, i could still after all this end up with my projects not saving as they have been and the SDK resetting every time exit the application.

 

Any help with any and all of these issues would be greatly appreciated.

 

Thanks.

 

D.

 

Edit 1.

My apologies i should have said my OS is Windows 10.

1
5 comments

Could be some file system issue. Perform the disk check and fix it.

You can also try relocating IDE folders to a different location: https://intellij-support.jetbrains.com/hc/articles/207240985.

0
Avatar
Permanently deleted user

I'm working from a brand new laptop, nevertheless i performed the disk check as you said and it returned no errors.

I cant try relocating anything until i get the software re-installed and at the moment that just doesn't look likely to happen anytime soon due to me not being able to delete the offending folder in question that for some reason the uninstaller never removed, in fact here is the full file path of what the uninstaller has left on my machine, that i now cant delete:

 

C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2017.1.2\bin

 

Within the bin is Uninstall.exe, which i cant access because again im being told i dont have permissions.

Any further help would be great but i as i understand it at the moment all my problems are stemming from apparent lack of permissions (nonsense), and so ive contacted Microsoft tech support to help with that in the mean time.

Thanks for your time.

D.

0
Avatar
Permanently deleted user

Its fixed, i used unlocker 1.9.2, and although it couldn't unlock it because it said it wasn't locked, it was able to delete it which was the ultimate goal.

Thanks for your time.

D.

0
Avatar
Permanently deleted user

Hi, I had the same issue and I resolved it by going to root folder (JetBrains) Properties->Attributes ->  Uncheck 'Read-Only' and then I performed a simple delete of the folder.

0

Hi it's June 2021, I was just having the same issue. I finally tried Unlocker (as suggested by Davedouggreen) and I got it deleted.

Now, I selected the "action" to delete from the dropdown arrow, it didn't delete at first but the program prompted me to delete on the next time my computer rebooted (Windows 10). So I rebooted and went to check for the JetBrains folder and the folder was gone.

I hope it work for everyone.

0

Please sign in to leave a comment.