Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LoadPercentage NULL on Windows 2003

118 views
Skip to first unread message

scribby

unread,
Feb 29, 2008, 4:56:01 AM2/29/08
to
I'm developing a PHP script that uses WMI to gather system information. I
currently have Windows 2003 installed in Virtual PC which I am using to test
the script.

The problem I am having is that when I request LoadPercentage it returns
NULL, I have been playing around with WMI for two days now and I have worked
out that when I delete the Repository directory and restart, LoadPercentage
is fine however once I restart again the LoadPercentage value returns to NULL.

All other Win32_Processor values like Name, MaxClockSpeed are fine.

I'm using the following .bat file to remove the Repository directory..

net stop winmgmt
pause
c:
cd %windir%\system32\wbem
rd /S /Q Repository
net start winmgmt

I wouldn't mind doing this each time but I have to change all the
permissions again once its been run.

alexandrerhein

unread,
Dec 8, 2009, 4:06:37 PM12/8/09
to
Scribb

Did you fix your problem ? I?ve got the issue

Did you try to repair WMI using :

rundll32 wbemupgd, RepairWMISetup

or

rundll32 wbemupgd, UpgradeRepository

Thanks a lot

Alexandre


scribb wrote:

LoadPercentage NULL on Windows 2003
29-Feb-08

Previous Posts In This Thread:

On Friday, February 29, 2008 4:56 AM
scribb wrote:

LoadPercentage NULL on Windows 2003


Submitted via EggHeadCafe - Software Developer Portal of Choice
Build a Multi-Provider Async Methods Search Page
http://www.eggheadcafe.com/tutorials/aspnet/10697ee3-bc13-4ca4-9443-988bfcbaaacc/build-a-multiprovider-as.aspx

0 new messages