Announcement

Collapse
No announcement yet.

XP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Guest's Avatar
    Guest replied
    Re: XP

    Chuck's right. Here's the WMI code for what you want.
    (Gotta love Script-o-matic)

    On Error Resume Next
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\" & strComputer & "\root\cimv2")
    Set colItems = objWMIService.ExecQuery("Select * from Win32_LogicalMemoryConfiguration",,48)
    For Each objItem in colItems
    Wscript.Echo "TotalPhysicalMemory: " & objItem.TotalPhysicalMemory
    Next

    Hope this helps!

    Joel

    Leave a comment:


  • kstanush
    replied
    Re: XP

    Unfortunately, no. There isn't a supported way to get the remote memory for a system (that Microsoft documents), so we use a registry technique that fails on certain types of computers, but we can't detect that the problem exists.

    We hope to start using WMI for some functions like this in the future, which is the only supported way to get an accurate figure.

    Sorry for the limitation.

    Leave a comment:


  • bgcrowley
    started a topic XP

    XP

    On our LAN Hyena seems to have a problem reporting the correct RAM for our XP machines. We have one XP machine with 128MB RAM but Hyena reports it as only 16MB. This only seems to happen on our XP machines. Is there a fix for this.
Working...
X