WMI Repair ( MVPS Site )
Referenced on the above site
Alain Lissoir's home page that has loads of stuff regarding wmi and repairing it, the diagnosis tool etc.
Repair WMI MS Site
WMI Diagnosis Util
What happens when you try to run those commands in a batch file ?