August 27, 201015 yr 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!
August 27, 201015 yr 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.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, 201015 yr by bjhs
August 27, 201015 yr 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, 201015 yr by arwidmark
October 25, 201114 yr 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
Create an account or sign in to comment