• Home  / 

Deploying Kiosk machines using MDT 2010 Lite Touch

By arwidmark / May 23, 2010

Here is a sample configuration for assigning a few settings via a role to a specific set of machines (mac address), and then a standard set of settings for all other machines. If you are prestaging all the machines into the database this is easy, but what if I don’t want to use the database…

Well , normally we would use the MacAddress and Default Prority in cs.ini for this, but since roles builds as an array we would still get both roles…This is where a userexit script comes to the rescue…

1. create a vbscript named ZTIRolePerMac.vbs and store it in \DeploymentShare\Scripts. Update the script with the mac address you want to set to the KioskPC role.

Function UserExit(sType, sWhen, sDetail, bSkip)
  UserExit = Success
End Function

Function RolePerMac(sMac)
  Select Case sMac
    Case “00:15:5D:0A:65:01”
      RolePerMac = “KioskPC”
    Case “00:15:5D:0A:65:02”
      RolePerMac = “KioskPC”
    Case Else
      RolePerMac = “StandardPC”
  End Select
End Function

2. Update the deploymentshare rules (customsettings.ini) with the following

[Settings] Priority=Default, Role

[Default] userexit=ZTIRolePerMac.vbs
Role1=#RolePerMac(“%MacAddress%”)#

OSInstall=Y
SkipAppsOnUpgrade=NO
SkipAdminPassword=YES
SkipProductKey=YES
SkipBDDWelcome=YES
SkipComputerName=YES
SkipDomainMembership=YES
SkipUserData=YES
SkipCapture=YES
DoCapture=NO
SkipLocaleSelection=YES
SkipTaskSequence=NO
SkipTimeZone=YES
SkipApplications=YES
SkipBitLocker=YES
SkipSummary=YES
SkipBDDWelcome=YES
TimeZone=004
TimeZoneName=Pacific Standard Time

[StandardPC] JoinDomain=TSLAB
DomainAdmin=TSLAB\JoinAccount 
[email protected]
MachineObjectOU=ou=Workstations,dc=tslab,dc=net
Applications001={785633b7-283b-420e-a4a3-2557377d204c}
Applications002={c47087e9-220e-4191-930e-819cf03e7cfe}

[KioskPC] JoinWorkgroup=WORKGROUP
Applications001={5e731fe1-ef93-44f9-bb17-8f7a5734cec8}
Applications002={c47087e9-220e-4191-930e-819cf03e7cfe}

/ Johan

About the author

arwidmark