Applying different settings to unknown computers during OSD based on IP subnet or the name prefix
Hey, I have computers installed using TS advertised to unknown computers with a HTA menu where technicians can choose a computer name, i would like to act based on that info and apply different regional / timezone / domain etc. for example if the computers begins with NYC then have a regional of en-US or if the subnet begins with 10.20.1% i know how to set the regional with ZTIConfigure and it works great with collection variables but this is for unknown computers, i don't use ZTIGATHER anywhere at the moment but i don't know if it could help, anyone familiar with this?
June 28th, 2012 10:49am

Hey, Take a look a this great article by Mikael Nystrom: "Back to Basic - CustomSettings.ini - Explained" http://deploymentbunny.com/2012/04/
Free Windows Admin Tool Kit Click here and download it now
June 28th, 2012 5:47pm

Use wmi query in your task sequence i use something like Select * from Win32_ComputerSystem where Name like '%JPPC%' I just create a group/folder in the task sequence and set this wmi query and tick continue on error. If it finds the pc has those characters in the name it will execute the group. basing it on subnet is not good , because it cannot determine which adapter as there is wifi and lan. Any way try it much easier and I use it for 11 different countries in one task sequence, I then run a regopts batch to set the locale etc.
June 30th, 2012 12:31pm

Hey Michael, Thanks but i'm not using MDT in integrated form just a few scripts and i don't use ZTIGather.wsf the article looks good and i'm planning to integrate MDT (we are about to begin testing of SCCM 2012 on a separate environment) i'll make use of it then for the moment i have realized my advantage lies in using the HTA and added a line of code to crop the 3 letters prefix (part the name convention and procedure) to make a TS Variable and act upon it in the TS.
Free Windows Admin Tool Kit Click here and download it now
July 1st, 2012 6:13am

Hey elshonno, Thanks but the part where i'm setting to local is very early in winpe so this query doesn't resolve correctly, but this is good if i was using it for later steps, in the meantime i solved my issue by using the HTA code to crop the 3 letters prefix of the computer name like i wrote in earlier reply.
July 1st, 2012 6:16am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics