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 votes

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.

No issues there.

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

0 votes

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
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

718 views 3 2
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