Windows Deployment, Part 8: Automating our OS Deployment
Now we need to get our OS deployment as automated as possible.
First of all, right click on the Windows 8.1 Deployment Share and select properties.
Select the Rules tab
In the rules tab, you will see a small selection of commands to automate our install.
Copy the items here in italic and replace what you have on screen.
Note that some changes will be required:
This option brands the installer with your IT company’s name: _SMSTSORGNAME=My Computer Business Ltd
If you’re not using a volume licence key, change the SkipProductKey=NO
If you don’t care what your computers called, leave SkipComputerName=YES as YES, otherwise change it to NO
This section joins the computer to the domain, using your domain (demo), your new os.rollout account, and the new OU where the computers should be stored (which you can then handily apply a GPO to!) – remember you don’t have to join the computer to the domain!!
The rest of the settings deal with language and skipping various confirmation screens.
_SMSTSORGNAME=My Computer Business Ltd
TimeZoneName=GMT Standard Time
Next up, you will need to edit the Bootstrap.ini
Remaining on the rules page, select Edit Bootstrap.ini
Copy and paste the following items into the notepad file that appears (remember to change the settings based on your environment, and to save when complete!)
Next, as an optional task, select the Windows PE tab.
To make the install look “nice”, and company branded, select browse on each platform – select a 800 x 600 image. Remember to do this for each platform!
We’re very close to deploying our first Windows 8.1 machine!
You now need to update the deployment share and attach the resulting .wim to WDS (or indeed use the .iso on bootable media if that’s your thing).
Right click on Windows 8.1 Deployment share and select Update Deployment Share.
It’s optional and takes slightly longer, but I prefer to compress the boot image to save space on the share. There are times when you have to completely regenerate the boot images, but it’s a bit trial and error.
Any changes you make to the deployment share will need a “re-update” and “re-attach” of the .iso files.
Wait…. Possibly time for another cuppa.
Once the wizard has completed, click finish.
The last step on the server is to attach the bootable .wim to WDS – this allows our PXE clients to boot to our server and download data from MDT.
In this demo the .iso file is located here: E:\Deployment_Share\Boot
Under the default name of: LiteTouchPE_x64.wim
Open Windows Deployment Services
Drill down to servers\dc.demo.local\boot images
Right click on Boot images and select Add Boot Image…
Browse to our .wim file
Give it a meaningful name. ie Windows 8.1 Enterprise x64
Review and confirm
Our deployable image will be listed:
Next up, lets deploy our first VM!