It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

[Windows 10] Source tree won't update or install (the older version of SourceTree cannot be removed)

A few months ago I upgraded my Windows 7 machine to Windows 10 (on a vm running vmWare fusion on Mac OSX). I had the current version of Source tree at the time (which I believe is 1.6.22). 

Every time an update became available, the installer would start then give me the message "The older version of SourceTree cannot be removed. Contact your technical support group."

I just ignore updates for a time till I finally needed the newer updates and wasn't able to install one. So far I've tried:

All those steps to no avail. It still won't install SourceTree. What else should I do? Anyone else having this problem?



12 answers

1 accepted

0 votes
Answer accepted

Turns out that there was something wrong with the install (I did have it installed on Windows 7 previously before I upgraded). After running CCleaner, the new version installed no problem.

Is there another solution that doesn't involve installing another 3rd party app?

I had to delete the folders SourceTree and Atlassian from c:\users\[username]\AppData\Local before I could install successfully.

To get the latest version working: on Windows 10, I did the following.

I uninstalled SourceTree

Deleted everything in AppData\Atlassian

(running just opened and closed)

Ran the installer

This came up with something about dictionaries, which I clicked delete
(I assumed I would have deleted these, but I didn't stop to look at the paths)

Then the installer wizard came up (for

I closed the installer and opened the installer and that continued.


Hope this helps..

Feedback, please test installers on non-clean machines that have had previous installs.

Thank you!  This was my solution too!

This was my solution too!

After posting the solution, SourceTree now doesn't open after a couple of days, very annoying... do I really need to do this every time?

This is the second solution to keep it running:

Come on Atlassian, sort it out please....

Worked for me as well!

You are a godsend, this worked perfectly.

Thank you very very much. Perfect solution !

worked as well for me!  thank you!

Deleting everything from AppData\Local\Atlassian\ worked for me as well. Thank you!

it's worked

deleting C:\Users\<username>\AppData\Local\Atlassian worked for me.

Thank you!

Worked for me,


I'm using windows 10 and here's what I did:

Go to 


Delete or rename all existing folders in it.

Then run the installer




This worked for me. Thank you.

nice to hear :)

It worked for me as well.

Worked perfectly!

So if you are like me, and tried to uninstall sourcetree manually without any success and failed at installing the latest version here is the solution:

  1. Download the lastest sourcetreesetup eg. SourceTreeSetup_1.8.3.exe
  2. Then, using command line, run [PATH TO SETUP]\SourceTreeSetup_1.8.3.exe /L*v log.txt
  3. open the log file, locate your previous version # ... tips: search for SourceTreeSetup_ and once your found the version # that is lower than the current one, copy it.
  4. In the browser download the previous using the following url: (where offcourse x.x.xx = your previously installed version #)
  5. Install the previous version
  6. Then finally install the latest version

Thanks Robert!


Best answer. Works 100%.

Sorry. The installer doesn't run at all. I looked for the log file assuming it's in the same folder as the setup file and I didn't find it.
But then again... I tried SourceTree 2.

minnsey Atlassian Team Oct 04, 2017

Hi Adrian,

Do you see a splash screen when the 2.x installer runs?
Are there any files in %localappdata%\Sourcetree\app-{version} ?

It look me a long time to figure out on Windows 10 especially after trying to mess with the registry values and deleting anything Atlassian related, but looking at the logs generated by Michael's suggestion above, I thought to find the exact same version that was previously installed (indicated by the logs, luckily). By using the matching installation package and repairing, I was able to accomplish both uninstalling the old corrupted version and installing the latest.

Thanks! Your solution worked perfectly, i posted the exact step , with link to installation package.

Has anyone experienced issues with v2.3.1 on Windows 10?  I can install v2.1.11 fine but when I move to v2.3.1 it will never load.  A peer of mine has it working fine on Windows 7.  Previously I have had older versions of 1.x.y, v2 betas, and v2.1.10 & older.

I have tried the above solutions in this article with nothing working.  I've ran CCleaner, both disk & regedit cleanup.  I've went to C:\Users\user\local... to remove the SourceTree & Atlassian folders.  Nothing seems to allow me to run v2.3.1.  I'm look for any advice here.

Hi, I just ran into the same prolem with you, when I execute SourceTree Setup Exe, the exe run about 10 second and auto close.

Later I try other version installer here:

I dwonload  and install successfully.

Hi, I just ran into the same prolem with you, when I execute SourceTree Setup Exe, the exe run about 10 second and auto close.

Later I try other version installer here:

I dwonload  and install successfully.

I cannot run this either, I am forced to try a previous version as productivity is getting lost.

My solution ended up matching Mark Redman's below.  I deleted the custom dictionary file SourceTree v2.1.11 was complaining about and now v2.3.1 will load.  I find it strange that the latest just closed instead of asking about the file.

I also learned the custom dictionary file didn't even exist on my PC.  Some feedback would be to have SourceTree actually check if the file exists rather than setting a flag for the file and leaving it set.

minnsey Atlassian Team Oct 04, 2017

Hi Sourcetree checks that the files does NOT exist as it is the presence of a reference to a non-existent files that causes performance issues.

0 votes
minnsey Atlassian Team Jan 20, 2016


Its probably worth you creating a support ticket at 

It seems the installer is failing before SourceTree itself every runs. To provide some additional information Could you try running the installer with logging turned on? e.g.
.\SourceTreeSetup_1.6.23.exe /L*v log.txt
And then upload the log.txt tot he support ticket?
It might also be useful to record the process using Windows' Problem Steps Recorder and attaching the generated screenshots.


Well, turns out that running CCLeaner was all I needed to do to get this working :/ 

CCleaner cannot fix reg corruption.

In many cases, the problem is with MSI registry - corrupted reg.

Here is the only tool can fix corrupted MSI registry:

Could not start SourceTree 2.3.1 on Windows10. After trying uninstalling/reinstalling with no improvement, editing the user.config file as described here fixed it for me:

This fixed it for me as well. Before this I tried cleaning the registry, uninstalling and reinstalling, and wiping the AppData/Local directories. Editing the config file as this post mentions finally did the trick.

I was getting installation error on my new Window 10 laptop. Tried few things mentioned above but couldn't resolve the issue. Then ran one utility from Microsoft to cleanup the registry as suggested in Atlassian site:

It worked!

It is a free Mercurial and Git Client for Windows and Mac platforms which is used to provide a graphical interface for repositories, between users and Git. It may raise some issue while update or install process in Windows 10. If you having some problem with Windows 10 then you may visit this link Windows Technical Support to remove your problem form your Windows.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Sourcetree

Sourcetree for Windows - CVE-2019-11582 - Remote Code Execution vulnerability

A vulnerability has been published today in regards to Sourcetree for Windows.  The goal of this article is to give you a summary of information we have gathered from Atlassian Community as a st...

2,848 views 0 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you