bjhs Posted August 27, 2010 Posted August 27, 2010 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=32VRefresh=60XResolution=1280YResolution=1024This 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!
bjhs Posted August 27, 2010 Author Posted August 27, 2010 (edited) Based on this tuturial:http://blogs.technet.com/b/mmodin/archive/2010/02/03/how-to-extend-the-mdt-2010-database-with-custom-settings.aspxThe answer to my problem CAN be as simples as referencing as a Property the campus that I want like for example:Property=XResolution,YResolutionand 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 August 27, 2010 by bjhs
arwidmark Posted August 27, 2010 Posted August 27, 2010 (edited) 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=MDT01Instance=SQLEXPRESSDatabase=MDTNetlib=DBNMPNTWSQLShare=Logs$Table=ComputerSettingsParameters=UUID, AssetTag, SerialNumber, MacAddressParameterCondition=OR[MMSettings]SQLServer=MDT01Instance=SQLEXPRESSDatabase=MDTNetlib=DBNMPNTWSQLShare=Logs$Table=MakeModelSettingsParameters=Make, Model/ Johan Edited August 27, 2010 by arwidmark
MarshalAnson Posted October 25, 2011 Posted October 25, 2011 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=MDT01Instance=SQLEXPRESSDatabase=MDTNetlib=DBNMPNTWSQLShare=Logs$Table=ComputerSettingsParameters=UUID, AssetTag, SerialNumber, MacAddressParameterCondition=OR[MMSettings]SQLServer=MDT01Instance=SQLEXPRESSDatabase=MDTNetlib=DBNMPNTWSQLShare=Logs$Table=MakeModelSettingsParameters=Make, Model/ Johan
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now