Desktop Resolution

(imported topic written by Steve91)

Hi Chaps

Is it possible to retrieve the desktop resolution through BES?

I’m sending out some new wallpaper to NT4 assets.

I’ve looked at querying various registry entries but they are not consistent, in that they appear in different locations for different GFX cards.

Cheers

Steve

(imported comment written by rad.ricka91)

Ugly I know, the below could be a bet(?), but the change control and risk is probably not worth it just to get a wallpaper deployed…

WMI Core 1.5 for NT4

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=AFE41F46-E213-4CBF-9C5B-FBF236E0E875#QuickInfoContainer

concatenation “,” of (string values of selects “BitsPerPel, DeviceName, PelsHeight, PelsWidth from Win32_DisplayConfiguration” of wmi)

(imported comment written by brolly3391)

dang you are fast Rad :wink:

I came up with a different WMI query

q: Concatenation " x " of string values of selects “CurrentHorizontalResolution,CurrentVerticalResolution from WIN32_VideoController” of WMI

A: 1280 x 1024

T: 86.129 ms

I: singular string

(imported comment written by jessewk)

As will all WMI properties, please set these to evaluate less frequently than ‘Every Report’. WMI is a great way to pull information, but it has inherent performance penalties…

(imported comment written by BenKus)

Note that we already provide this property in the Analysis “Hardware Information (Windows)” on the “BES Inventory and License” site. The relevance we use to retrieve the screen resolution is slightly more advanced than what is posted here and I encourage you to use this Analysis (the “Hardware Information (Windows)” is commonly considered one of the most useful Analyses that BigFix offers).

Ben

(imported comment written by Steve91)

Excellent.

Thanks for your help guys

Steve