I am in desperate need of a script that will check if WMI is working correctly on winXP and Win7 (can be separate scripts) and only repair or fix if needed. I don't want it to run a repair or fix if WMI is working, only if it is broken. I have about 3400 machines out of about 17000 that I think WMI is broken. I plan to run this in a startup script in group policy. I'm not even sure if this is possible, but if it is I will be very grateful for any help.