

It asks if you would like to ignore this in-progress deployment. Right at the end when Windows 7 is booted into Audit Mode a message pops up saying there is a deployment in progress but is not in an expected state.

There is, however, one minor hiccup to this ‘solution’. If you have your Customerttings.ini file configured to hide the Deployment Wizard panes and provide all the answers to the wizard then executing this Task Sequence to deploy Windows 7 and booting into Audit Mode should be fully automated. The Task Sequence steps should look like this: Add the following directory path in the Start in field.Sysprep.exe /generalize /audit /reboot in the Add the following command in the Command line field.Add a Run Command Line step as a last step under PostInstall.Disable all the steps under State Restore in the Task Sequence properties.Created a new Standard Client Task Sequence to deploy the Windows 7 DVD image (I already had the image imported in my deployment share).As with my previous attempts, I knew the only way to get this to work would be to run Sysprep, but the trick was to work out where in the Task Sequence to add the Run Command Line step.Īnyway, here’s how I done this on MDT 2012: I then turned my attention to the Task Sequence steps. I tried adding synchronous commands in the Specialize pass to run Sysprep with the /audit switch to boot into Audit Mode but that didn’t work out very well. My first few attempts were to edit the Task Sequence’s Unattend.xml answer file to run a Sysprep command. I thought the challenge at hand was quite interesting and I think I may have found a workable solution.

I have a healthy curiosity when it comes to these things which is exactly what led me to experiment on how Windows 7 could be deployed straight into Audit Mode using MDT 2012 in my Lab. With no way to do this natively using MDT one would have to do this manually, either by running Sysprep post-install or booting into Audit Mode during the Windows Welcome stage when installing the OS (by hitting Ctrl+Shift+F3). It’s interesting that MDT 2010/12 doesn’t have a native way of deploying Windows 7 in Audit Mode, especially when Audit Mode is often the starting place to building Windows 7 reference or master images.
