Author Topic: All-in-one WMI repair needs more debug/help  (Read 11868 times)

0 Members and 1 Guest are viewing this topic.

Offline mudman

  • Newbie
  • *
  • Join Date: Oct 2012
  • Posts: 12
  • Location: Oregon
  • Karma: 0
    • View Profile
    • strictly functional ceramics
All-in-one WMI repair needs more debug/help
« on: October 31, 2012, 04:57:05 pm »
First .. thanks for being the only person that has developed a WMI repair (that isn't pages of total geek gobble-de-gook that us users can't figure out) !
Something went wrong (?) and my XP(SP3) no longer recongnize my Norton Internet Security antivirus and firewall. My reading lead me to believe it was an WRI problem and your all-in-one had a repair routine.
I ran it and the log (below) indicated a problem but left me with no next-steps or way to figure out what was missing and/or how to proceed ... some more debug/error info would help
-----------------------------------
Starting Repairs...
   Start (10/31/2012 11:17:29 AM)

Repair WMI
   Start (10/31/2012 11:17:29 AM)
      Step 01/03 - Deleting WMI Repository...
The system cannot find the path specified.
      Step 02/03 - Rebuilding WMI Repository...
      Step 03/03 - Registering WMI...
Invalid Global Switch.
   Done (10/31/2012 11:18:01 AM)

Cleaning up empty logs...

All Selected Repairs Done.
   Done (10/31/2012 11:18:01 AM)
   Total Repair Time: 00:01:28


...YOU MUST RESTART YOUR SYSTEM...

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All-in-one WMI repair needs more debug/help
« Reply #1 on: November 01, 2012, 12:02:30 pm »
I am limited on the amount it can log. Everything is being done from a bat file and I can only have it log what it shows. BUt the errors you see are normal and fine. The system checks for the paths on both 32 and 64 bit.

As for your Antivirus not showing up. This is a common problem. WMI is used to show it. After you repair the WMI it will take a few reboots and maybe even a virus def update in the antivirus to get it to show again.

The Antivirus is the one that controls reporting to the security center. When you repair the security center that is all removed as it is rebuilt. So of course it will report no AV in the security center. However once the AV has done some sort of update it will write itself to the security center again to report its status :wink:

At least that is how it is suppose to work lol

Shane

Offline mudman

  • Newbie
  • *
  • Join Date: Oct 2012
  • Posts: 12
  • Location: Oregon
  • Karma: 0
    • View Profile
    • strictly functional ceramics
Re: All-in-one WMI repair needs more debug/help
« Reply #2 on: November 01, 2012, 02:10:58 pm »
Thanks for the personal reply. Since I can't see your BAT files I don't know what routines they include but would assume the following to rebuild and re-register

rundll32 wbemupgd, UpgradeRepository

cd /d %windir%\system32\wbem
for %i in (*.dll) do RegSvr32 -s %i
for %i in (*.exe) do %i /RegServer

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All-in-one WMI repair needs more debug/help
« Reply #3 on: November 01, 2012, 04:34:06 pm »
The bat file is stored in the temp folder. And this repair makes 3 bat files, but they delete when done. Here is what they do

set path=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem
net stop winmgmt /y
del %windir%\System32\Wbem\Repository\*.* /f /s /q
del %windir%\sysWOW64\Wbem\Repository\*.* /f /s /q
net start winmgmt /y

Rebuilding the repository is based on which OS your on

Visat, 7 & 8
winmgmt  /salvagerepository

XP
IF EXIST %windir%\system32\wbem\wbemupgd.dll rundll32 wbemupgd, UpgradeRepository
   
Windows 2003
IF EXIST %windir%\system32\wbem\wbemupgd.dll rundll32 wbemupgd, RepairWMISetup

Final step

for %%i in (%windir%\system32\wbem\*.dll) do RegSvr32 -s %%i
for %%i in (%windir%\system32\wbem\*.exe) do %%i /RegServer

Thats the whole WMI repair :-)

Shane

Offline mudman

  • Newbie
  • *
  • Join Date: Oct 2012
  • Posts: 12
  • Location: Oregon
  • Karma: 0
    • View Profile
    • strictly functional ceramics
Re: All-in-one WMI repair needs more debug/help
« Reply #4 on: November 01, 2012, 04:56:42 pm »
THANKS yet again ... great support. So, if after running WMI repair I still have problems (1) Security Center does not recognize Norton antivirus or firewall and (2) Diskkeeper's boot call is not recognized [ assuming this is another case of 3rd party program not being recognized ] then what else can I do and/or which of the other routines in the all-in-one program should I try ?

Offline Shane

  • Administrator
  • Hero Member
  • *****
  • Join Date: Sep 2011
  • Posts: 9281
  • Location: USA
  • Karma: 137
  • "Knowledge should be shared not hidden."
    • View Profile
Re: All-in-one WMI repair needs more debug/help
« Reply #5 on: November 01, 2012, 05:10:40 pm »
I found this, try it and let me know how it does, you may need to reboot. If it works I will add it to the repair :-)


Sometimes, unregistering and re-registering WMIUTILS.DLL file will fix this issue.

1. Click the Start button, and then click Run.

2. In the Run dialog box, type the following text:

regsvr32 /u WMIUTILS.DLL

3. Click OK.

4. Restart the computer.

5. Click the Start button, and then click Run.

6. In the Run dialog box, type the following text:

regsvr32 WMIUTILS.DLL

7. Click OK.

8. Restart the computer.


Shane

Offline mudman

  • Newbie
  • *
  • Join Date: Oct 2012
  • Posts: 12
  • Location: Oregon
  • Karma: 0
    • View Profile
    • strictly functional ceramics
Re: All-in-one WMI repair needs more debug/help
« Reply #6 on: November 02, 2012, 10:40:49 am »
Thanks for the suggestion. Ran the commands to re-register the DLLs ... no change.

So ... here is a link to another source of solutions to the WRI problem (which mirrors pretty much the commands in your BAT file) ... http://windowsxp.mvps.org/repairwmi.htm ... but he has a final suggestion that appears to be "comprehensive rebuild" ... first ... are you familiar with this ? and second ... my computer came  preinstalled XP and not sure how I would (as he suggests) "point to the %Windir%\ServicePackFiles\i386 folder for a recent version of the system files required during WMI repair" ... still looking for a solution ... regards ... don

Offline chris635

  • Sr. Member
  • ****
  • Join Date: Nov 2011
  • Posts: 442
  • Location: USA
  • Karma: 11
    • View Profile
Re: All-in-one WMI repair needs more debug/help
« Reply #7 on: November 02, 2012, 11:30:32 am »
Mudman,

   Try this.

http://www.optimizingpc.com/windows7/action_center_windows_7_update.html

Scroll down to the "incorrect action center warnings".

This might get you going. Back up your system first  :wink:.

Chris
Physical Science Technician
Avid Motorcyclist

Have a nice day - Chris

Offline chris635

  • Sr. Member
  • ****
  • Join Date: Nov 2011
  • Posts: 442
  • Location: USA
  • Karma: 11
    • View Profile
Re: All-in-one WMI repair needs more debug/help
« Reply #8 on: November 02, 2012, 11:32:19 am »
I know it says windows 7. But see if xp is set up the same way


Chris
Physical Science Technician
Avid Motorcyclist

Have a nice day - Chris