Tools Incorporated into OSD
Although completely integrated into ConfigMgr, OSD uses and takes advantage of multiple separate tools. Knowing how OSD uses these tools and each tool's function is beneficial and even critical when setting up a deployment and troubleshooting problems. Tools include Sysprep, the Windows Automated Installation Kit (WAIK), and USMT, covered in the next sections.
Sysprep
Sysprep, short for System Preparation, is one of the primary tools used for unattended setup of all flavors of Windows. When used for imaging, Sysprep removes the many unique identifiers specific to a particular installation of Windows and then configures the installation to run a brief, GUI-based, mini-setup when the system restarts. This minisetup provides these benefits:
- Generates new and unique identifiers for the system
- Enables the input of a new Windows product key
- Reruns the plug-and-play hardware detection
- Reruns the driver installation process
For a complete and in-depth discussion of why Sysprep is the only supported method to make a Windows image generic, see Mark Russinovich's blog post at http://blogs.technet. com/b/markrussinovich/archive/2009/11/03/3291024.aspx.
Sysprep in OSDOSD fully automates the mini-setup process with a configuration file. The name of the file varies based on the version of Windows used:
- Unattend.xml for Windows 7
- Sysprep.inf for Windows XP
OSD either builds the appropriate file or uses one supplied to it, inserting the information automatically into the Sysprep configuration file. This information includes the product key, organization name, networking information, and domain credentials.
Incorporating this functionality adds to OSD's flexibility by eliminating the need to maintain multiple Sysprep files supporting multiple deployment scenarios.
Version-Specific FlavorsEach version of Windows has its own specific version of Sysprep. For versions of Windows before Vista, you must make Sysprep available to the setup process separately by creating a package or placing the files in % SystemRoot %\sysprep. You can find these files in the deploy.cab compressed file located in the \Support folder on the installation media or download them from the Microsoft download site, http://www.microsoft.com/downloads.
Note that the deploy.cab contents are dependent on service pack level, so if you are sysprepping Windows XP SP 3, you should use the corresponding available download.
For Windows Vista and later, the Sysprep files come with the OS and are located in % windir %\System32\sysprep.
In this tutorial:
- Operating System Deployment
- What is OSD
- What is New in OSD
- Deployment Scenarios
- Tools Incorporated into OSD
- Windows Automated Installation Kit
- User State Migration Tool and USMT Customization
- OSD Phases
- OSD Building Blocks
- Driver Packages
- Operating System Installers
- Drivers in Boot Images
- Task Sequences
- Task Sequence Properties
- Task Placement
- Task Conditions and Grouping
- Targeting and Execution
- Execution Context
- Customizing Task Sequences
- Site System Roles
- Multicast
- State Migration Point
- Driver Management
- Drivers in the Image
- User State
- USMT
- Computer Associations
- User State Without SMP
- Image Operations
- Manual Image Creation
- Image Upkeep
- Image Deployment
- User Device Affinity
- Deployment Challenges
- Hardware Considerations
- Monitoring Task Sequence Deployments
- Troubleshooting Operating System Deployment
- The Smsts.log File