Zero Touch Prerequisties
Dear All, I am looking for a script to achieve my scneario, I am planning for the Windows7 migration for the three specific models and my deployment method is PXE method. My scenario: During the deployment after the client received the TS, a script should run as a prerequisties to check the model and manufactuer of the client laptop. If the condition is met the task sequence [ie: three specific models] should run else the client should skip the deployment and restart the computer. Looking for the reply. Please provide your suggestions and help.
May 24th, 2011 12:21pm

you'll probably want to integrate MDT 2010 update 1 with Configmgr 2007 sp2, that way you can use the gather script (ztigather, or Gather step in the task sequence) to detect if its a laptop (isLaptop=true) and set that as an option on a step in the task sequence, the step can do as you require above. The gather step will gather loads of information about the hardware as you can see by examing the ztigather.log file to integrate MDT 2010 update 1 simply download it and run the installer as an Administrator (right click, choose run as administrator), follow the simple wizard, once done you can create task sequences with MDT steps in configmgr. you can also use WMI queries - here's an example of doing that cheers niall My step by step SCCM Guides I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2011 12:38pm

Hi, You can achieve that without a script.. If you add a group in the begining of the Task sequence and have all the steps in your task sequence after that, then you create a condition on the group with one WMI query per computer model and the option"any" and simply use a wmi query like this: select * from Win32_ComputerSystem where Manufacturer like '%Hewlett-Packard%' and Model like '%HP Compaq dc78%' Then the task sequence will only execute the steps after that if the conditions are met. No scripts used. I hope this solves it. Regards, Jörgen-- visit my System center blog at http://ccmexec.com --
May 24th, 2011 12:38pm

Hi Jorgen Thanks for the reply My one more scenario, if the computer is new bare metal without operating system installed. I am installing the OS using unknown computer support. Will the above method works in that case also. Please suggest.
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2011 12:53pm

yes of course but you'll need the R2 or R3 feature pack installed on SCCM 2007 and Unknown Computer support enabled note that R2/R3 are license specific, if in doubt talk to your Microsoft TAM My step by step SCCM Guides I'm on Twitter > ncbrady
May 24th, 2011 2:30pm

Hi Niall, My site server is SCCM 2007 R2.
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2011 5:39pm

Hi, Yes they will both work. Regards, jörgen-- My System center blog ccmexec.com --
May 25th, 2011 12:59am

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

Other recent topics Other recent topics