BigFix User Group

You are not logged in.

#1 2009-08-24 13:28:46

mcalvi
BES Guru
Registered: 2007-07-24
Posts: 113

Windows 7 Eligibility Information Analysis

Any idea on why the video portion is failing on approx 5k of our systems?

Free Disk Space Check Free Disk Space OK
Memory Check System Memory OK.
Processor Speed Check Processor Speed OK
Video Card Memory Check Video RAM OK
Singular expression refers to non-unique object.

Last edited by mcalvi (2009-08-24 13:29:49)

Offline

 

#2 2009-08-24 23:29:56

Ben Kus
Product Expert
From: California
Registered: 2006-07-18
Posts: 3500
Website

Re: Windows 7 Eligibility Information Analysis

What is the property name/relevance that gives you that error?

Ben

Offline

 

#3 2009-08-25 05:33:52

mcalvi
BES Guru
Registered: 2007-07-24
Posts: 113

Re: Windows 7 Eligibility Information Analysis

The property name is
Video Card Memory Check

the relevance is
(if (it < 128) then ("Insufficient Video Memory. Video Memory in MB: " & (it as string)) else ("Video RAM OK")) of ((numeric value of (first match (regex "\d+$") of it) of ((select "adapterram from Win32_VideoController" of wmi) as string)) / 1048576)

Last edited by mcalvi (2009-08-25 05:34:32)

Offline

 

#4 2009-08-25 10:08:24

noah
Product Manager
From: BigFix
Registered: 2007-05-29
Posts: 190
Website

Re: Windows 7 Eligibility Information Analysis

On the machines that are failing: is there more than one "adapterram"? My laptop requires me to use "selects" instead of "select" with that WMI query as there are two adapterram results.

Offline

 

#5 2009-08-26 05:40:36

mcalvi
BES Guru
Registered: 2007-07-24
Posts: 113

Re: Windows 7 Eligibility Information Analysis

the relevance debugger gives me the following.

q: (select "adapterram from Win32_VideoController" of wmi)
A: AdapterRAM=1824163840
E: Singular expression refers to non-unique object.

q: (selects "adapterram from Win32_VideoController" of wmi)
A: AdapterRAM=1824163840
A: AdapterRAM

q: (if (it < 128) then ("Insufficient Video Memory. Video Memory in MB: " & (it as string)) else ("Video RAM OK")) of ((numeric value of (first match (regex "\d+$") of it) of ((select "adapterram from Win32_VideoController" of wmi) as string)) / 1048576)
A: Video RAM OK
E: Singular expression refers to non-unique object.

q: (if (it < 128) then ("Insufficient Video Memory. Video Memory in MB: " & (it as string)) else ("Video RAM OK")) of ((numeric value of (first match (regex "\d+$") of it) of ((selects "adapterram from Win32_VideoController" of wmi) as string)) / 1048576)
A: Video RAM OK
E: Singular expression refers to nonexistent object.

Offline

 

#6 2009-08-26 09:48:04

noah
Product Manager
From: BigFix
Registered: 2007-05-29
Posts: 190
Website

Re: Windows 7 Eligibility Information Analysis

You can use:

"integer values of selects..." instead of just "selects..."

That will work in the case where there are two adapterrram results but only one has a value associated with it. If you have boxes that return multiple apaaterram values it will probably not work.

Offline

 

#7 2009-08-26 13:48:06

mcalvi
BES Guru
Registered: 2007-07-24
Posts: 113

Re: Windows 7 Eligibility Information Analysis

will it work for systems with one value as well?

Offline

 

#8 2009-08-26 19:32:36

Ben Kus
Product Expert
From: California
Registered: 2006-07-18
Posts: 3500
Website

Re: Windows 7 Eligibility Information Analysis

Yes.

Offline

 

#9 2009-11-05 13:41:48

intrepdmind
Active Member
Registered: 2009-05-01
Posts: 16

Re: Windows 7 Eligibility Information Analysis

Any more updates in this thread? Even using "integer values of selects" I still receive:

<multiple results; error>

Debugger on every one (sample >25) of these machines returning this value report:

q:(if (it < 128) then ("Insufficient. Video Memory in MB: " & (it as string)) else ("Video RAM OK")) of ((numeric value of (first match (regex "\d+$") of it) of ((integer values of selects "adapterram from Win32_VideoController" of wmi) as string)) / 1048576)
A:"Video RAM OK"
E:"Singular expression refers to a non-unique object"

OR

q:(if (it < 128) then ("Insufficient. Video Memory in MB: " & (it as string)) else ("Video RAM OK")) of ((numeric value of (first match (regex "\d+$") of it) of ((selects "adapterram from Win32_VideoController" of wmi) as string)) / 1048576)
A:"Video RAM OK"
E:"Singular expression refers to a non-unique object"

OR

q:(if (it < 128) then ("Insufficient. Video Memory in MB: " & (it as string)) else ("Video RAM OK")) of ((numeric value of (first match (regex "\d+$") of it) of ((select "adapterram from Win32_VideoController" of wmi) as string)) / 1048576)
A:"Video RAM OK"
E:"Singular expression refers to a non-unique object"

Any help would be fantastic!

Offline

 

#10 2009-11-05 15:37:30

Ben Kus
Product Expert
From: California
Registered: 2006-07-18
Posts: 3500
Website

Re: Windows 7 Eligibility Information Analysis

It needed a little work ("numeric value" --> "numeric values" and moving the division to a different place in the expression)... Try this:

q:(if (it / 1048576 < 128) then ("Insufficient. Video Memory in MB: " & (it as string)) else ("Video RAM OK")) of ((numeric values of (first match (regex "\d+$") of it) of ((integer values of selects "adapterram from Win32_VideoController" of wmi) as string)) )


Ben

Offline

 

#11 2009-11-06 14:23:04

intrepdmind
Active Member
Registered: 2009-05-01
Posts: 16

Re: Windows 7 Eligibility Information Analysis

Ben,

Thanks for taking a look! I'll give it a try and post results.

Offline

 

#12 2009-11-06 14:34:27

intrepdmind
Active Member
Registered: 2009-05-01
Posts: 16

Re: Windows 7 Eligibility Information Analysis

Ben,

The relevance actually works a lot better, however now im seeing:

<multiple results>
or
<none> (these didn't exist before)

on several machines. When hovering my mouse over the "<multiple results>" objects, I get:
Video RAM OK
Video RAM OK

if I hover over the "<none>" entries, there are no results.

Again, thanks so much for your help. A lot of this is out of my league.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB