MDT task sequence to accomplish prestaging like RIS
I am a long time lurker who has got a load of great info from this site which I have been able to use in the schools I support. I work for an LA as a technician who along with my team support over 120 schools in our county.
I have been playing with deploying Windows 7 from a Server 2008 machine running WDS and MDT2010, I have been able to get the system set up and make changes to the default Windows 7 image which is deployed so that info is pre-filled instead of prompting the user.
I have got a lot of experience with using RIS/WDS Legacy to deploy XP machines which is what we currently use in many of the schools our team support. We use PXE boot to call the standard ms osc screens which prompt for username and password, In each OU we want to add machines to, we will have a user which has rights to join a machine to the domain.
RIS/WDS is set to respond to all machines and to create a computer account in the same OU as the user, this means when we log on with an authorised user we have the computer account automatically created in the correct place so any GPO is applied from the beginning, also it has the advantage that we dont have to prestage any machines in AD as the machine is created with the correct naming convention and incremented automatically (set by the username e.g. Class1 will give a computer name of Class1-01, Class1-02 etc)
The actual install of Windows is achieved by a modified .sif file so we can log on to a new machine and walkaway safe in the knowledge that the machine will do the rest for us.
Okay enough background babble, the actual issue I am having is in emulating the RIS way of doing things, we are not open to the idea of manually prestaging machines due to the fact that we have a lot of schools and would need to set it up in each location, also I will be writing the draft procedures for out team to use and want to keep it as simple as possible.
I would love to be able to PXE boot the machine, be prompted for the username and password and be able to step away. My understanding is that in RIS the machine will check in AD if the GUID/UUID exists for a computer account and if not creates a new machine record populated with the ID in the correct location.
My thinking is that I will need a script to run at the beginning of the task sequence which
1.Prompts for a username
2.Gets the GUID of the machine
3.Makes contact with the AD
4.Checks for the GUID
5(a).If there set the computername and OU settings to be used later,
5(b).If not then create the computer account in the correct place and pass the values for later use.
I have looked over the internet and have so far not managed to find anything which achieves the results I need, I guess its because W7 and MDT2010 are both new. I was lucky to find MSFN's Unattended Windows : Unattended Windows Introduction when I wanted to do research for XP but havent been too lucky yet.
Over to you guys, I am open to ideas/advice/fully formed scripts which do it for me.
Sorry for the length of post but I thought I should give as much info as I could to get started.
Thanks in advance