Gatt Posted January 16, 2008 Posted January 16, 2008 Finally got SMS 2003 to work (push out Office 2007) but now got another problem WMI seems to have got corrupted on over 3/4 of the PC's and I need a way to repair it and repair SMS Client to the PCs.. I found this series of commands to repair WMI cd /d %windir%\system32\wbem for %i in (*.dll) do RegSvr32 -s %i for %i in (*.exe) do %i /RegServer but it doesn't like being run from a batch file Is there an easier way to repair WMI & SMS Adv Client on startup?
mac_shinobi Posted January 16, 2008 Posted January 16, 2008 (edited) WMI Repair ( MVPS Site ) http://windowsxp.mvps.org/repairwmi.htm Referenced on the above site http://www.lissware.net/ Alain Lissoir's home page that has loads of stuff regarding wmi and repairing it, the diagnosis tool etc. Repair WMI MS Site http://www.microsoft.com/technet/scriptcenter/topics/help/wmi.mspx WMI Diagnosis Util http://www.microsoft.com/downloads/details.aspx?familyid=d7ba3cd6-18d1-4d05-b11e-4c64192ae97d&displaylang=en What happens when you try to run those commands in a batch file ? Edited January 16, 2008 by gecko
sahmeepee Posted January 16, 2008 Posted January 16, 2008 I found this series of commands to repair WMI cd /d %windir%\system32\wbem for %i in (*.dll) do RegSvr32 -s %i for %i in (*.exe) do %i /RegServer but it doesn't like being run from a batch file Is that not just because of the percent signs? Try the same script, but with double percents: cd /d %windir%\system32\wbem for %%i in (*.dll) do RegSvr32 -s %%i for %%i in (*.exe) do %%i /RegServer Further info: http://www.robvanderwoude.com/escapechars.html
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now