SCCM Task Sequences – Windows 7 Build and Capture

Hello friends! I’m going to show you how to construct a Windows 7 “build and capture” task sequence. This post assumes that you’ve already followed the “Getting Started” posts 1 and 2. This task sequence will deploy Windows 7, Install Windows Updates, and capture to an image. In later posts, we’ll explore adding software and customizing the default profile.

The Process

  1. First, right click “Task Sequences” and select New -> Task Sequence.
  2. On the screen “Create a New Task Sequence” select “Build and capture…” and click Next.
  3. On the screen “Task Sequence Information” enter the name “Build and Capture Windows 7″, select a boot image appropriate for your architecture, then click “Next”.
  4. On the screen “Install Windows” select your Windows 7 SP1 package then click “Next”.
  5. On the screen “Configure the network” enter the workgroup “tempgroup” and click “next”. If you’re joining a domain, make sure you enter user credentials. I don’t recommend joining a domain for build-and-capture, since the system will need removed from the domain again before capturing. 
  6. On the screen “Install the ConfigMgr Client” choose your Configuration Manager client package then click “Next”.
  7. On the screen “Include Updates in Image” choose “Don’t install any software updates” then click “Next”.
  8. On the screen “Install Software Packages” click “Next”.
  9. On the screen “System Preparation” click “Next”.
  10. On the screen “Image Properties” enter a name and version then click “Next”.
  11. On the screen “Capture Image Settings” enter the source path “\\sccm\captures$\build1.wim”, enter domain credentials, then click “Next”.
  12. On the “Summary” screen click “Next”.
  13. On the “Wizard Completed” screen click “Close”.
  14. Next, right-click your new task sequence and select “Edit”.
  15. Click Add -> General -> Restart Computer to add a “Restart Computer” task. Place this new task after “Setup windows and ConfigMgr” and choose the radio button “The currently installed default operating system”. Then, uncheck “Notify the user before restarting”.
  16.  Click Add -> MDT -> Use Toolkit Package to add a “Use Toolkit Package” task. Place this task after “Restart Computer” then select your MDT Toolkit package.
  17.  Click Add -> General -> Run Command Line to add a “Run Command Line” task. Rename this task to “Install Windows Updates”. Then enter the command line:
    cscript.exe "%SCRIPTROOT%\ZTIWindowsUpdate.wsf"

    Click “OK” to save these new tasks.

Now, advertise and use your task sequence! It should work properly. Enjoy!

About these ads

One thought on “SCCM Task Sequences – Windows 7 Build and Capture

  1. Pingback: Table of Contents | windowsmasher

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s