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

SourceTree installer can't access c:\programdata\[currentuser]

I am trying to install SourceTree on Windows 7 as an Administrator.  The installer immediately fails saying 'Unable to write to C:\ProgramData\[Current User].' 

[Current User] is the login name of the current user.

Strange that the installer, running under Admin privs, would not have access.

More strange is that ProgramData is supposed to be for shared settings across users. Not sure why the installer would be trying to access (create?) a user-specific folder there, rather than using C:\Users\[Current User]\AppData\Local.

Any ideas?

1 answer

0 votes

Hi Brad! Which version of SourceTree are you trying to install? Can you try with the newest one and let me know if this fixes your issue?




I get the same error with both the 1.10 version and 2.0 versions, running the installer as Administrator.

Hi Brad, that's weird as the installer should be installing SourceTree within C:\Users\[Current User]\AppData\Local directory, and not within C:\ProgramData\[Current User]. Can you follow these steps?:

  1. Uninstall SourceTree
  2. Make sure there's nothing at C:\Users\<username>\AppData\Local\Atlassian. You can delete the directory to be sure.
  3. Install SourceTree again using this link (we need to make sure it's being downloaded from our official site)

Out of curiosity, have you tried installing SourceTree for a different user or on a different computer? Did you get the same problem?

Let us know if this was successful this time!



Hi, i have the exact same problem. Your suggestion doesn't work. Deleted everything, even cleaned the registry by hand.

I had 1.9 installed and trying now.

  1. Hi

    Squirrel.Windows, the installer SourceTree for Windows now uses, attempts to install into %localappdata%, %localappdata%\SourceTree to be more precise. It has a fallback behaviour, to install into %programdata%, if it fails to install into %localappdata%.

    It looks like this behaviour is being triggered, the question is why. Can you check for any entries in the Event Viewer or log files in the following locations


Can't find any files or what so ever (event viewer) with sourcetree or squirrel.

Hi Michel,

I can only assume there is a permissions issue.

Is there a reason you are installing as Administrator, does the install work as a standard user?

Can I also check what you mean by installing as administrator? I rn as a local Administrator on my local Workstation, and the installer works placing the installed app into %localappdata%. But I'm not on a domain and I don' have any extra permissions set on home folders etc.


I'm actually the admin within our company. My user is admin (and domain admin) on the PC and tried 'running as' as well.

%localappdata% is set on C:\users\m.velthuizen\AppData\Local.
This location is fine and writable but the installer wants to install somewhere else.

Hello?! It's been over a month now and support is far to be found! We are paying customers for JIRA/Bitbucket so can you please help us, otherwise we will be forced to look into other software since our business is depending on it!

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted Jan 17, 2019 in Sourcetree

[dev team] Sourcetree for Windows 2019 Preview - Dark Theme

Hi folks, While the full post is over on our blog I'd like to share the dark theme we've got planned for 2019 here directly as well to keep the discussion going.  The ...

1,551 views 13 14
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you