New Boundary Support Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Detecting display resolutionExpand / Collapse
Author
Message
Posted 2/18/2008 7:21:14 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 5/26/2008 7:49:47 AM
Posts: 1, Visits: 24

Hi,

I am trying to deploy desktop wallpaper to a group of computers, however, being the perfectionist I am, I want to deploy an image of the correct size depending on the resolution of the client receiving the package.

According to a previous post, detecting screen resolutin was not possible to do with configuration groups.

http://www.nbtnet.newboundary.com/forum/Topic1096-7-1.aspx?Highlight=resolution

My question therefore, is this possible todo with any of the NewBoundary products or not? And if so, how?

Brgds,

Magnus


- - -
brgds
Magnus
Inuit AB

Post #1635
Posted 2/18/2008 5:51:02 PM


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 2/12/2011 11:11:06 PM
Posts: 742, Visits: 1,211

We have a workaround that should do the trick. It involves running a VB script to do a WMI query. The query writes the screen resolution to a registry value, then you can use the registry value as the basis for a configuration group.

 

Here are the steps:

1.       Download the attached  file GetScreenResolution.txt and save it in a shared location. Change the extension from .txt to .vbs. The location where you usually store your Prism packages would be a good choice.

2.       Configure the VB script to run as a Command Task in the Console. The syntax of the command task is : cscript \\server\share\GetScreenResolution.vbs. The task should be configured to run as an admin-level user if your users are not local admins.

3.       Assign the task to the computers in your Channel.

4.       Next create a predefined configuration group by pasting the following syntax into the dropdown box (instead of using one of the provided choices):
<Registry Value> "HKLM\Software\Lanovation\Prism Deploy\VBScriptResults\\Screen Resolution"
This group will populate with the various screen resolutions being used on your managed computers.
 

Try it out on a few test machines to see if it gives you what you need.

 

Watch for exciting WMI enhancements to configuration groups coming in Prism 8.5!



New Boundary Technologies Support
support@newboundary.com

Post #1636
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: New Boundary Support

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 11:41am

Powered By InstantForum.NET v4.1.3 © 2012
Execution: 0.172. 10 queries. Compression Enabled.