Using Autopatcher With MDT2012
sdetech
07 Feb 2013
Not a request for help but rather just wanted to report that Autopatcher seems to work well enough with the Microsoft Deployment Toolkit. While MDT 2012 has built in tools to install updates I already knew how to use Autopatcher and it just seemed a lot easier.
I wrote a simple batch file to map a drive and invoke Autopatcher with an answer file. I used a converter to turn the batch file into an EXE and then added it as an application to be "installed" during the deployment. I set a dependency up so that it runs towards the end of the deployment. The commands I used:
I'm actually in an environment with a WSUS server but patches are only pushed out over night and I found myself needing an easy way to deploy an OS to a machine and get it fully patched immediately. So Autopatcher did the trick.
One tip... Don't use z:\ to map the drive to the Autopatcher share because z:\ will already be mapped to the deployment share by MDT.
I wrote a simple batch file to map a drive and invoke Autopatcher with an answer file. I used a converter to turn the batch file into an EXE and then added it as an application to be "installed" during the deployment. I set a dependency up so that it runs towards the end of the deployment. The commands I used:
net use w: [url="file://\\server\share$"]\\server\share$[/url] w:\AutoPatcher\Windows7x86Updates\autopatcher.exe /noreboot /unattend /answerfile:w:\AutoPatcher\Windows7x86Updates\win7x86.aaf net use w: /delete /yes
I'm actually in an environment with a WSUS server but patches are only pushed out over night and I found myself needing an easy way to deploy an OS to a machine and get it fully patched immediately. So Autopatcher did the trick.
One tip... Don't use z:\ to map the drive to the Autopatcher share because z:\ will already be mapped to the deployment share by MDT.


