+ Post New Thread
Results 1 to 3 of 3
Windows Thread, WMI Woes in Technical; Finally got SMS 2003 to work (push out Office 2007) but now got another problem WMI seems to have got ...
  1. #1

    Gatt's Avatar
    Join Date
    Jan 2006
    Posts
    6,658
    Thank Post
    858
    Thanked 646 Times in 429 Posts
    Rep Power
    498

    Question WMI Woes

    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
    Code:
    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?

  2. #2

    mac_shinobi's Avatar
    Join Date
    Aug 2005
    Posts
    9,726
    Thank Post
    3,248
    Thanked 1,049 Times in 971 Posts
    Rep Power
    364

    wmi

    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/scr.../help/wmi.mspx

    WMI Diagnosis Util

    http://www.microsoft.com/downloads/d...displaylang=en

    What happens when you try to run those commands in a batch file ?
    Last edited by mac_shinobi; 16th January 2008 at 11:06 AM.

  3. #3
    sahmeepee's Avatar
    Join Date
    Oct 2005
    Location
    Greater Manchester
    Posts
    795
    Thank Post
    20
    Thanked 70 Times in 42 Posts
    Rep Power
    33
    Quote Originally Posted by Gatt View Post
    I found this series of commands to repair WMI
    Code:
    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:

    Code:
    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

SHARE:
+ Post New Thread

Similar Threads

  1. WebDAV Woes...
    By mrforgetful in forum Web Development
    Replies: 19
    Last Post: 4th July 2008, 11:22 AM
  2. USB LPT Printer woes
    By Ste_Harve in forum Hardware
    Replies: 8
    Last Post: 10th August 2007, 04:39 PM
  3. Wireless Woes!
    By CHR1S in forum Wireless Networks
    Replies: 16
    Last Post: 23rd May 2007, 09:08 AM
  4. Ris woes
    By Uraken in forum Windows
    Replies: 3
    Last Post: 4th April 2007, 10:04 AM
  5. More Centrino woes
    By Dos_Box in forum IT News
    Replies: 2
    Last Post: 25th August 2006, 11:07 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •