This project is read-only.
Following is a simple troubleshooter specification:
<?xml version="1.0" encoding="utf-8" ?> 
<specification>
  <check-regex key="HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesPath" value="C:\Program Files (x86)" />
  <not>
    <check-file-exists path="C:\missing.exe" />
  </not>
  <check-file-exists path="C:\Windows\System32\cmd.exe" />
</specification>

Simply run by:
untroublemaker.exe Example.xml


These following are the accepted checks and conditionals supported:

Check for existance of file

<check-file-exists path="path to file" />

Test registry key

Tests the registry key under the given path, path should be given as copied in regedit plus the key name.
<check-registry key="HKEY_CURRENT_USER\Software\Microsoft\Windows Script\Settings\KeyName" value="the expected value" />

Check if service current run status

Will only test if is running (true) or something else (false). The service name is the one registered in registry and not the display name.
<check-service name="service name" value="true/false" />

Check service startup mode

Will only test if the service has the given startup mode The service name is the one registered in registry and not the display name.

Modes:
  • Manual
  • Automatic
  • Automatic (delayed start)
  • Disabled

<check-service name="service name" startup-type="see list above" />

Invert result of sub conditions

If all child conditions fail the not will reverse the result of that given node to true.
<not>.. child elements .. </not>

The unTroublemaker also comes with a UI that better visualizes what goes wrong.

Last edited Jul 31, 2014 at 12:18 AM by Almund, version 5