Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 


April 2006

Deploy an OS by Using SMS

With help from SMS 2003's OSD Feature Pack, you can perform mass OS installs and upgrades
RSS
Subscribe to Windows IT Pro | See More Systems Administration Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!
SideBar    Customizing an OSD Deployment, A New Image Format

Task 3: Upgrading an Existing OS
Installing the OS on a fresh system is one thing, but how can you use the OSD to upgrade an existing OS? When upgrading an OS, the main challenge is to install the OS while maintaining the user and computer states. The OSD addresses this challenge by using phases, which let you define or perform custom actions.

When you upgrade an OS on a system, the OSD captures the user's state (i.e., user profiles and documents from the original OS), then restores this information after the new OS is deployed. To perform these user-state actions, the OSD uses User State Migration Tool (USMT) 2.6, which is integrated with the OSD, although you need to download and install USMT 2.6 separately. (You can download USMT 2.6 via a link on the SMS 2003 OSD Feature Pack Web site.) USMT 2.6 captures all profiles on the existing OS and not just the currently logged-on profile. If you don't want to use USMT, you can run another application or script to capture and restore the state.

By default, the OSD saves the user-state information to the local disk in a subfolder of C:\minint. (The minint directory stores other data besides the state data; furthermore, it's the only directory that isn't deleted when the OSD cleans the disk to prepare for the new OS extraction.) You can save the user state to a Universal Naming Convention (UNC) path if you want (which you'd have to do in machine-refresh scenarios—that is, when a user gets a new machine). However, the best practice is to store the state data on the local disk; doing so is much faster than saving and restoring the potentially large state data to a share on the network.

The process of deploying the OS upgrade is the same as delivering any other application via SMS. SMS creates an advertisement and assigns the OS installation program to a collection. (The collection computers must be running the SMS 2003 Advanced Client SP1 to be able to recognize OS programs.) Typically, via SMS you'd offer the new OS to the collection perhaps two weeks before the mandatory install date, so that users can install the OS when it's convenient for them, but enable a data and time for an automatic installation for clients that haven't had the OS installed. In this situation, because SMS contains complete software and hardware inventory data for all the machines you want to target, you can customize the upgrade—for example, upgrade only Windows 2000 systems that are at least Pentium 3 machines with 128MB memory and 10GB C drive partitions. The OS advertisement appears to end users just like any other advertisement; they're prompted that a new program is available and can install it via the standard Add or Remove Programs Control Panel applet.

After the advertisement has run, the SMS OS program executes and displays a countdown screen (you can configure the countdown time value, which is 30 minutes by default), which lets the user install the OS now or postpone the installation. When the user chooses to install the OS, the machine state is captured to the configured location (either C:\minint or a UNC path as described earlier), then the OSD WinPE is installed in C:\minint. OSD replaces the root active partition files ntdetect.com and ntldr with versions that use the C:\minint location instead of the standard Windows installation (the original versions are backed up in C:\minint\backup). The machine then reboots into the now-local OSD WinPE, deletes all files on the disk except those in the minint folder, and downloads the new OS. This is the same process that the OSD uses for a brand-new OS deployment, and you can use the same OS image for both new-install and upgrade scenarios. The only mandatory difference between a new OS install and an upgrade is that a state-restore phase runs after the mini-setup wizard finishes to restore the state data from the minint or UNC location.

A More Powerful SMS 2003
The OSD expands SMS 2003's capabilities to let you create and install OS images on computers across your organization. The OSD uses existing Windows technologies that you're probably familiar with, such as Sysprep and USMT, and also gives you an opportunity to adopt Microsoft's latest imaging format, WIM, which will be the basis for OS imaging in the next generation of Windows. Most importantly, the OSD lets you install new OSs as well upgrade existing OS versions through the SMS 2003 application-deployment infrastructure.

Solution Snapshot
PROBLEM: You want to use just one product to deploy all the software your users need, but SMS 2003 deploys only applications, not OSs
SOLUTION: Use the free SMS 2003 Operating System Deployment (OSD) Feature Pack to create OS images and install them on SMS clients throughout your organization
DIFFICULTY: 3.5 out of 5
SOLUTION STEPS:

  1. Download and install the OSD.
  2. Capture the OS image into a Windows Imaging Format (WIM) file.
  3. Burn the WIM file to a CD-ROM.
  4. Create an SMS package containing the OS image to be installed.
  5. Create the image-installation CD-ROM.
  6. Install the OS from the image-installation CD onto the target computer.

End of Article

   Previous  1  [2]  Next  


Reader Comments
Can't seem to get all of the article -- otherwise it might actually be useful!

jlvincent3 November 29, 2007 (Article Rating: )


try putting #49497 in the article search and watch the script crash. seriously less than useful web site. somebody needs to call Hyderabad and tell them to fix this...anyone speak hindi? lol

tekmrc1 March 16, 2008 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
WinInfo Short Takes: Week of November 23, 2009

An often irreverent look at some of the week's other news, including some post-PDC some soul searching, a Google Chrome OS announcement and a Microsoft response, Windows 7 off to a supposedly strong start, the Jonas Brothers and Xbox 360, and so much more ...

Command Prompt Tricks

One reader shares his tip for setting up the command prompt to reflect a remote path. ...

2009 Windows IT Pro Editors' Best and Community Choice Awards

Picking a favorite product from an impressive crowd of competitive offerings is never an easy task, and such was the case with our Editors' Best and Community Choice awards this year. ...


Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

Managing IT Across Multiple Locations

Cutting Costs with Client Management

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2009 Penton Media, Inc. Terms of Use | Privacy Statement