Please read:
Repairing and re-registering the WMI
http://windowsxp.mvps.org/repairwmi.htm
Works on Windows 7 as well.