SourceTree crashes on launch Edited

Application: SourceTree.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.Management.ManagementException at System.Management.ManagementException.ThrowWithExtendedInfo(System.Management.ManagementStatus) at System.Management.ManagementObjectCollection+ManagementObjectEnumerator.MoveNext() at SourceTree.Utils.WindowsOSHelper.GetWindowsVersion() at SourceTree.App..ctor() at SourceTree.App.Main()

What I tried with no luck:

  • Reinstall
  • Latest beta (2.1.7.0)
  • Cleaning AppData/Local/ 

2 answers

0 vote

Hi
It is possible the WMI registry has become corrupted. Could you try the following for me?

  • Open up 'Computer Management'
  • Select 'Services and Applications' (left side panel)
  • Right click on 'WMI Control' > 'Properties'
  • Check and see if the description under "General" lists any error or warning

If there are errors. this link is easy to follow to try and correct it.

@Michael MinnsFixing the WMI registry worked for me. Thanks!

0 vote

Hi Timur! Can you try a clean install following these instructions:

  1. Wipe SourceTree preferences
  2. Uninstall SourceTree.
  3. Backup then delete the directory below before proceeding with next step
    • Navigate to C:\Users\<UserName>\AppData\Local and delete SourceTree & SourceTree-Settings folder
    • Navigate to C:\Users\<UserName>\AppData\Local\Atlassian and delete all SourceTree Files/Folder.
  4. Download SourceTree and install it. 

If this doesn't work for you, please let us know which Windows version are you using.

Regards,

Ana

This helped with additional restart of PC before instaling SourceTree back.

Thank you!

Glad to hear that, Timur! :)

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 11, 2018 in Sourcetree

Tip from the team: debugging Sourcetree

Supported Platforms macOS Windows If you're reading this and it's not just educational… we know you're unhappy right now and apologize for that   We're dedicated to improving yo...

114 views 0 5
Read article

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