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

This widget could not be displayed.

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!

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

723 views 1 3
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