My problem was that I could not start the ”Windows Management Instrumentation” service in Windows XP. The application I am working on uses WMI so I needed this to work. The error message in the eventlog said that it could not initialize.
This is what worked for me as a solution:
1. I deleted all files in %SystemRoot%\System32\Wbem\Repository
2. Started cmd.exe and ran the following commands
3. Started the WMI service and it worked for me…