MSFN Forum: [MDT 2010] Set screen resolution dynamically - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[MDT 2010] Set screen resolution dynamically Rate Topic: -----

#1 User is offline   bjhs 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 12-August 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 27 August 2010 - 12:39 AM

Hello!

I'm using MDT 2010 to deploy some workstations.
I'm also using the MDT database to apply the correct name to the machine based on the mac address of the machine.

However, during the population of the DB, I also added the default resolution for each machine.

My problem now rests on how to query the DB for that information on the customsettings.ini.

The variables to alter are for example:
BitsPerPel=32
VRefresh=60
XResolution=1280
YResolution=1024

This works and are also set in the DB, so, is there a way to query the DB for such details?
Has anyone worked on something close to this?

Thanks in advance!


#2 User is offline   bjhs 

  • Newbie
  • Group: Members
  • Posts: 16
  • Joined: 12-August 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 27 August 2010 - 12:53 AM

Based on this tuturial:
http://blogs.technet...m-settings.aspx

The answer to my problem CAN be as simples as referencing as a Property the campus that I want like for example:

Property=XResolution,YResolution

and then do:

XResolution=%XResolution%
YResolution=%YResolution%

Can't test it now as a image is being built and it will take a while, but can it be that simple?

Regards

This post has been edited by bjhs: 27 August 2010 - 12:54 AM


#3 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 27 August 2010 - 08:03 AM

Yes.

#4 User is offline   arwidmark 

  • Member
  • PipPip
  • Group: Members
  • Posts: 102
  • Joined: 22-December 05
  • OS:none specified
  • Country: Country Flag

Posted 27 August 2010 - 08:32 AM

Setting per computer is fine, but I normally use the make / model to set screen resolution on a per model basis rather than on each machine. Anyway, these rules configure MDT to read the database for Computer Settings and Make/Model Settings

[Settings]
Priority=CSettings, MMSettings, Default

[CSettings]
SQLServer=MDT01
Instance=SQLEXPRESS
Database=MDT
Netlib=DBNMPNTW
SQLShare=Logs$
Table=ComputerSettings
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR

[MMSettings]
SQLServer=MDT01
Instance=SQLEXPRESS
Database=MDT
Netlib=DBNMPNTW
SQLShare=Logs$
Table=MakeModelSettings
Parameters=Make, Model

/ Johan

This post has been edited by arwidmark: 27 August 2010 - 08:32 AM


#5 User is offline   MarshalAnson 

  • Group: Members
  • Posts: 1
  • Joined: 25-October 11
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 25 October 2011 - 09:38 AM

Johan,
Once I've entered this into the customsettings.ini how do I get it to apply a screen resolution to that model number? Thanks!


View Postarwidmark, on 27 August 2010 - 08:32 AM, said:

Setting per computer is fine, but I normally use the make / model to set screen resolution on a per model basis rather than on each machine. Anyway, these rules configure MDT to read the database for Computer Settings and Make/Model Settings

[Settings]
Priority=CSettings, MMSettings, Default

[CSettings]
SQLServer=MDT01
Instance=SQLEXPRESS
Database=MDT
Netlib=DBNMPNTW
SQLShare=Logs$
Table=ComputerSettings
Parameters=UUID, AssetTag, SerialNumber, MacAddress
ParameterCondition=OR

[MMSettings]
SQLServer=MDT01
Instance=SQLEXPRESS
Database=MDT
Netlib=DBNMPNTW
SQLShare=Logs$
Table=MakeModelSettings
Parameters=Make, Model

/ Johan


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy