Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[MDT 2010] Set screen resolution dynamically

Featured Replies

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!

  • Author

Based on this tuturial:

http://blogs.technet.com/b/mmodin/archive/2010/02/03/how-to-extend-the-mdt-2010-database-with-custom-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

Edited by bjhs

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

Edited by arwidmark

  • 1 year later...

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!

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

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.