Registrations to Open-AudIT forums are now closed. To ask any new questions please visit Opmantek Community Questions.

Open-AudIT

What's on your network?
It is currently Tue Apr 23, 2024 5:20 pm

All times are UTC + 10 hours




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 
Author Message
PostPosted: Wed Oct 11, 2006 3:29 am 
Offline
Contributor

Joined: Fri Jul 14, 2006 1:16 am
Posts: 151
Location: Iowa
I have a couple machines that don't list any physical memory (RAM). I was looking at the machine with WMI Explorer and I see the information is there. What sort of information would the vb wizards need to know fix this? I gave it a try but had no luck.

Here's the information from the machine.

Win32_PhysicalMemory

BankLabel = RAS 0 & 1
Capacity = 536870912
CreationClassName = Win32_PhysicalMemory
Description = Physical Memory
DeviceLocator = DIMM1
FormFactor = 8
MemoryType = 17
Name = Physical Memory
Tag = Physical Memory 0
TypeDetail = 4


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 11, 2006 3:37 am 
Are they all the same brand of computer?


Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 11, 2006 5:12 am 
Offline
Contributor

Joined: Fri Jul 14, 2006 1:16 am
Posts: 151
Location: Iowa
Look like they are all HP. Some are difference models. Some don't list any Physical Ram, only the windows reported ram, and some list the physical and windows reported under the Hardware>Memory report.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 11, 2006 5:57 am 
How many sticks of memory do these computers report (in WMI)? I know that compaq (and so that may include hp now) computers contain 512 KB of some kind of memory, other than that normal memory. So, open audit sometimes wouldn't report this correctly, as the extra memory slot messed it up. I know I'm not explaining this well, but check if there is mention of other memory. That will probably be the case.


Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 18, 2006 12:18 am 
Offline
Contributor

Joined: Fri Jul 14, 2006 1:16 am
Posts: 151
Location: Iowa
I been digging through the script and have a question.

Does anyone know what the [color=green]WHERE Use = '3'[/color] part of this statement does?

[code]Set colItems = objWMIService.ExecQuery("Select MemoryDevices FROM Win32_PhysicalMemoryArray WHERE Use = '3'",,48)[/code]

If I remove it, the script detects the RAM in the HP/Compaq I am testing. Where it's there it does not.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 18, 2006 12:24 am 
What use number is your system?

[url=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_physicalmemoryarray.asp]Win32_PhysicalMemoryArray[/url]
[quote]Use
Data type: uint16
Access type: Read-only

How memory is used in the computer system.
Value Meaning
0
0x0 Reserved
1
0x1 Other
2
0x2 Unknown
3
0x3 System memory
4
0x4 Video memory
5
0x5 Flash memory
6
0x6 Non-volatile RAM
7
0x7 Cache memory


Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 18, 2006 1:22 am 
Offline
Contributor

Joined: Fri Jul 14, 2006 1:16 am
Posts: 151
Location: Iowa
It's blank. Nothing there.

Looks like this goes back to this fix for Compaq/HP.

http: //www.open-audit.org/phpbb2/viewtopic.php?t=1303


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 18, 2006 2:00 am 
In WMI Object browser it is blank!?!


Top
  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 18, 2006 3:03 am 
Offline
Contributor

Joined: Fri Jul 14, 2006 1:16 am
Posts: 151
Location: Iowa
Yep. It's blank. So far it looks like adding a [code]OR Use = NULL[/code] might work. But I can't seem to get my audits to submit to verify this. In a test script, it looks like it will work.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Oct 18, 2006 3:57 am 
Offline
Contributor

Joined: Fri Jul 14, 2006 1:16 am
Posts: 151
Location: Iowa
I added this in and so far so good. RAM is showing up for all the machines I've tested (except for a couple old Compaq servers that don't list their memory in WMI).


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 

All times are UTC + 10 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group