Jump to content


Using Autopatcher With MDT2012


1 reply to this topic

#1 sdetech

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 07 February 2013 - 08:02 PM

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:

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.

#2 ViroMan

    Just an awesome guy.

  • Project Manager
  • PipPipPipPipPipPip
  • 1,160 posts
  • Gender:Male
  • Location:California, USA, Earth, SOL, Milkyway
  • Interests:Programming and being a know it all pest.

Posted 07 February 2013 - 10:21 PM

good stuff, thanks for the share.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users