Use customsettings.ini to generate computer name and place computer in OU depending on type

If there is a need to generate a computer name automatically and place the computer in a specific OU depending on if it is a laptop or desktop, this is how it could be done.

The products used in this example is Configuration Manager (SCCM) with the integration of Microsoft Deployment Toolkit (MDT).

I use the MDT integrated Task Sequence in SCCM together with some changes in customsettings.ini. Below is my customsettings.ini that generates the computer name and puts it into the OU.

Use customsettingsini to generate computer name and place computer in OU depending on type

If the deployed PC is a laptop the result will be

Computer name: LT-EEEEEE
OU: OU=Laptop,DC=LAB,DC=DOMAIN

No comments yet.

Leave a Reply