Windows XP SP3 & broken DCOM, WMI RRS feed

  • Question

  • Good day.

    I have a problem with 90 computers in my network. Problem is that a long time ago some virus (or something else) disables (brokes) DCOM on computers. I need this components runnig because we are deploying SCCM and it is didnot works without WMI.

    So what is the problem - i couldnot connect from sccm server to clients through wbemtest.exe util. When DCOM disabled it shows me RPC unreachible 0x800706ba. When i enable DCOM on client and setups it, wbemtest shows me error 0x800706ba the parameter is incorrect.

    What i have already done:

    1. I`ve reinstalled WMI components using this script:

    REM Check if WMI is functioning correctly or not
    REM Get computername from WMI
    wmic computersystem get name
    IF %ERRORLEVEL% EQU 0 goto success
    net stop ccmexec /y
    net stop VMAuthdService /y
    net stop winmgmt /y
    cd %systemroot%\system32\wbem
    rd /S /Q repository
    regsvr32 /s %systemroot%\system32\scecli.dll
    regsvr32 /s %systemroot%\system32\userenv.dll
    mofcomp cimwin32.mof
    mofcomp cimwin32.mfl
    mofcomp rsop.mof
    mofcomp rsop.mfl
    for /f %%s in (‘dir /b /s *.dll’) do regsvr32 /s %%s
    for /f %%s in (‘dir /b *.mof’) do mofcomp %%s
    for /f %%s in (‘dir /b *.mfl’) do mofcomp %%s
    net start winmgmt
    net start VMAuthdService
    net start ccmexec
    goto end
    goto end

    2. I`ve tried to run sfc /scannow

    3. I`ve tried to copy dll files (that are using WMI) from working machine on this

    It doesnot helps me the same error  0x800706ba the parameter is incorrect.

    One way i found to fix it - if i am starting OS installation from CD and choosing "upgrade existing Windows", after install completes i could connect to this machine through wbemtest util, everything fine. But it is very hard way to reinstall OS on 90 clients. I want to find some other way, i hope you help me.

    I forgot to say that it is not firewall issue, i`ve turned off all firewalls in this network.


    • Edited by aaamoto Friday, May 25, 2012 8:38 AM
    Friday, May 25, 2012 8:21 AM