Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,295,429
Community Members
 
Community Events
165
Community Groups

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

1 vote
minnsey Atlassian Team Jul 26, 2017

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.

@minnseyFixing the WMI registry worked for me. Thanks!

@minnsey Fixing the WMI registry also worked for me. Thanks you very much!!!

Fixing the WMI repository worked for me. 

 

Followed first three steps from the below article.

https://community.spiceworks.com/how_to/21413-rebuilding-the-wmi-repository

0 votes
Ana Retamal Atlassian Team Jul 26, 2017

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!

Ana Retamal Atlassian Team Jul 27, 2017

Glad to hear that, Timur! :)

Suggest an answer

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

Bug Fix: Sourcetree for Windows authentication error when updating to app password

Hello Sourcetree users!!! With the recent removal of Bitbucket Cloud account passwords for app passwords (please see our Bitbucket Cloud community post for details on why we made this change for se...

61,023 views 127 27
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