• Chapter 1. Installing and Configuring Windows Server 2003
  • software development Company Server 2003
  • Chapter 1. Installing and Configuring Windows Server 2003
  • New Features in Windows Server 2003
  • Best Practices
  • Moving Forward
  • Version Comparisons
  • Hardware Recommendations
  • Installation Checklist
  • Functional Overview of Windows Server 2003 Setup
  • Installing Windows Server 2003
  • Post Setup Configurations
  • Functional Description of the Windows Server 2003 Boot Process
  • Correcting Common Setup Problems
  • Chapter 2. Performing Upgrades and Automated Installations
  • New Features in Windows Server 2003
  • NT4 Upgrade Functional Overview
  • Upgrading an NT4 or Windows 2000 Server
  • Automating Windows Server 2003 Deployments
  • Moving Forward
  • Chapter 3. Adding Hardware
  • New Features in Windows Server 2003
  • Functional Description of Windows Server 2003 Architecture
  • Overview of Windows Server 2003 Plug and Play
  • Installing and Configuring Devices
  • Troubleshooting New Devices
  • Moving Forward
  • Chapter 4. Managing NetBIOS Name Resolution
  • New Features in Windows Server 2003
  • Moving Forward
  • Overview of Windows Server 2003 Networking
  • Name Resolution and Network Services
  • Network Diagnostic Utilities
  • Resolving NetBIOS Names Using Broadcasts
  • Resolving NetBIOS Names Using Lmhosts
  • Resolving NetBIOS Names Using WINS
  • Managing WINS
  • Disabling NetBIOS-over-TCP/IP Name Resolution
  • Chapter 5. Managing DNS
  • New Features in Windows Server 2003
  • Configuring a Caching-Only Server
  • Configuring a DNS Server to Use a Forwarder
  • Managing Dynamic DNS
  • Configuring Advanced DNS Server Parameters
  • Examining Zones with Nslookup
  • Command-Line Management of DNS
  • Configuring DHCP to Support DNS
  • Moving Forward
  • Overview of DNS Domain Structure
  • Functional Description of DNS Query Handling
  • Designing DNS Domains
  • Active Directory Integration
  • Configuring DNS Clients
  • Installing and Configuring DNS Servers
  • Configuring Secondary DNS Servers
  • Integrating DNS Zones into Active Directory
  • Chapter 6. Understanding Active Directory Services
  • New Features in Windows Server 2003
  • Active Directory Support Files
  • Active Directory Utilities
  • Bulk Imports and Exports
  • Moving Forward
  • Limitations of Classic NT Security
  • Directory Service Components
  • Brief History of Directory Services
  • X.500 Overview
  • LDAP Information Model
  • LDAP Namespace Structure
  • Active Directory Namespace Structure
  • Active Directory Schema
  • Chapter 7. Managing Active Directory Replication
  • New Features in Windows Server 2003
  • Replication Overview
  • Detailed Replication Transaction Descriptions
  • Designing Site Architectures
  • Configuring Inter-site Replication
  • Controlling Replication Parameters
  • Special Replication Operations
  • Troubleshooting Replication Problems
  • Moving Forward
  • Chapter 8. Designing Windows Server 2003 Domains
  • New Features in Windows Server 2003
  • Design Objectives
  • DNS and Active Directory Namespaces
  • Domain Design Strategies
  • Strategies for OU Design
  • Flexible Single Master Operations
  • Domain Controller Placement
  • Moving Forward
  • Chapter 9. Deploying Windows Server 2003 Domains
  • New Features in Windows Server 2003
  • Preparing for an NT Domain Upgrade
  • In-Place Upgrade of an NT4 Domain
  • In-Place Upgrade of a Windows 2000 Forest
  • Migrating from NT and Windows 2000 Domains to Windows Server 2003
  • Additional Domain Operations
  • Moving Forward
  • Chapter 10. Active Directory Maintenance
  • New Features in Windows Server 2003
  • Loss of a DNS Server
  • Loss of a Domain Controller
  • Loss of Key Replication Components
  • Backing Up the Directory
  • Performing Directory Maintenance
  • Moving Forward
  • Chapter 11. Understanding Network Access Security and Kerberos
  • New Features in Windows Server 2003
  • Windows Server 2003 Security Architecture
  • Security Components
  • Password Security
  • Authentication
  • Analysis of Kerberos Transactions
  • MITv5 Kerberos Interoperability
  • Security Auditing
  • Moving Forward
  • Chapter 12. Managing Group Policies
  • New Features in Windows Server 2003
  • Group Policy Operational Overview
  • Managing Individual Group Policy Types
  • Moving Forward
  • Chapter 13. Managing Active Directory Security
  • New Features in Windows Server 2003
  • Overview of Active Directory Security
  • Using Groups to Manage Active Directory Objects
  • Service Accounts
  • Using the Secondary Logon Service and RunAs
  • Using WMI for Active Directory Event Notification
  • Moving Forward
  • Chapter 14. Configuring Data Storage
  • New Features in Windows Server 2003
  • Functional Description of Windows Server 2003 Data Storage
  • Performing Disk Operations on IA32 Systems
  • Recovering Failed Fault Tolerant Disks
  • Working with GPT Disks
  • Moving Forward
  • Chapter 15. Managing File Systems
  • New Features in Windows Server 2003
  • Overview of Windows Server 2003 File Systems
  • NTFS Attributes
  • Link Tracking Service
  • Reparse Points
  • File System Recovery and Fault Tolerance
  • Quotas
  • File System Operations
  • Moving Forward
  • Chapter 16. Managing Shared Resources
  • New Features in Windows Server 2003
  • Functional Description of Windows Resource Sharing
  • Configuring File Sharing
  • Connecting to Shared Folders
  • Resource Sharing Using the Distributed File System (Dfs)
  • Printer Sharing
  • Configuring Windows Server 2003 Clients to Print
  • Managing Print Services
  • Moving Forward
  • Chapter 17. Managing File Encryption
  • New Features in Windows Server 2003
  • File Encryption Functional Description
  • Certificate Management
  • Encrypted File Recovery
  • Encrypting Server-Based Files
  • EFS File Transactions and WebDAV
  • Special EFS Guidelines
  • EFS Procedures
  • Moving Forward
  • Chapter 18. Managing a Public Key Infrastructure
  • New Features in Windows Server 2003
  • Moving Forward
  • PKI Goals
  • Cryptographic Elements in Windows Server 2003
  • Public/Private Key Services
  • Certificates
  • Certification Authorities
  • Certificate Enrollment
  • Key Archival and Recovery
  • Command-Line PKI Tools
  • Chapter 19. Managing the User Operating Environment
  • New Features in Windows Server 2003
  • Side-by-Side Assemblies
  • User State Migration
  • Managing Folder Redirection
  • Creating and Managing Home Directories
  • Managing Offline Files
  • Managing Servers via Remote Desktop
  • Moving Forward
  • Chapter 20. Managing Remote Access and Internet Routing
  • New Features in Windows Server 2003
  • Configuring a Network Bridge
  • Configuring Virtual Private Network Connections
  • Configuring Internet Authentication Services (IAS)
  • Moving Forward
  • Functional Description of WAN Device Support
  • PPP Authentication
  • NT4 RAS Servers and Active Directory Domains
  • Deploying Smart Cards for Remote Access
  • Installing and Configuring Modems
  • Configuring a Remote Access Server
  • Configuring a Demand-Dial Router
  • Configuring an Internet Gateway Using NAT
  • Chapter 21. Recovering from System Failures
  • New Features in Windows Server 2003
  • Functional Description Ntbackup
  • Backup and Restore Operations
  • Recovering from Blue Screen Stops
  • Using Emergency Management Services (EMS)
  • Using Safe Mode
  • Restoring Functionality with the Last Known Good Configuration
  • Recovery Console
  • Moving Forward
  • Who Should Read This Book
  • Who This Book Is Not For
  • Conventions
  • Acknowledgments
  • About the Author
  • About the Technical Reviewers
  • Index
  • Index A
  • Index B
  • Index C
  • Index D
  • Index E
  • Index F
  • Index G
  • Index H
  • Index I
  • Index J
  • Index K
  • Index L
  • Index M
  • Index N
  • Index O
  • Index P
  • Index Q
  • Index R
  • Index S
  • Index SYMBOL
  • Index T
  • Index U
  • Index V
  • Index W
  • Index X
  • Index Z
  • Preface
  • Previous Section Next Section

    User State Migration

    Users invest a lot of time and creative ingenuity in their local desktops. They also put quite a bit of effort into circumventing rules about where to save their files. When the time comes to migrate the user's desktops, the biggest challenge is to preserve their data and settings while implementing the new operating system and any new applications you're deploying at the same time.

    Ordinarily, a deployment consists of three stages:

    • Collect the user data and copy it to a server.

    • Wipe the desktop drive and image it with the new operating system (OS).

    • Transfer the user data back to the desktop.

    Microsoft provides two tools that simplify the migration considerably:

    • Files and Settings Transfer Wizard (FSTW). This tool consists of an executable, Migwiz, and a set of INF files that determine what is to be migrated and where to migrate it. FSTW is intended to be used for standalone machines or individual users.

    • User State Migration Toolkit (USMT). This tool consists of two executables, Scanstate and Loadstate, and the same INF files used by FSTW. This tool is intended to be used in domain environments for migrating multiple users simultaneously.

    Let's start by examining the INF scripts that are used to evaluate applications during a migration.

    User Migration INF Files

    Both the FSTW and the USMT use a suite of four INF files that act as migration scripts. Here's a quick list followed by a detailed look at the function of each file:

    • Migapp.inf

    • Miguser.inf

    • Migsys.inf

    • Sysfiles.inf

    Migapp.inf

    This script contains applications and their associated Registry entries and support files. It defines the following operations for a given application:

    • The presence of the application in the Registry

    • The prescribed environment for the application

    • A set of instructions such as copying files to new locations and making new Registry entries

    Table 19.1 lists the applications included in Migapp.inf. You can add more if you have third-party applications that aren't listed or in-house applications you want to automate during migration.

    Table 19.1. Applications Included in Default Migapp.inf

    Acrobat Reader 4.0

    Acrobat Reader 5.0

    Adobe Photoshop Suite 6

    Adobe ImageReady 3

    MM JukeBox 6

    MSN Explorer 10

    MS Netmeeting 3

    MS MediaPlayer 7

    MS Messenger 3.6

    MS Money 2001

    MS Movie Maker 1

    CmdExe

    CuteFTP 4

    Yahoo Messenger

    AIM

    ICQ

    GameVoice 1

    RogerWilco

    BattleCom

    GoZilla

    Microsoft Office

    Office XP

    Microsoft Office 97

    NetscapeCommunicator

    PSTPAB

    Eudora 5

    GetRight 4

    Lotus Suitestart 99

    Odigo

    Prodigy Internet

    Quicken 2001

    QuickTime Player 5

    RealJukebox 2 Basic

    RealPlayer 8 Basic

    Sonique

    WinAmp

    WinZip

    Microsoft Works 2001

    WordPerfect Office 2000

    WsFTPLE5

    MSN Zone 6

    Quicken2001HAndB

    Here is a listing of the entries for Quicken to give you an idea of what the script does:

    
    [Quicken 2001.Environment]
    QuickenDir=Registry, HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\QW.EXE 
    graphics/ccc.gif[Path]
    
    [Quicken 2001.Detect]
    File, %QuickenDir%\QW.EXE, VERSION("ProductVersion","010.*")
    
    [Quicken 2001.Instructions]
    copyfilesex=Quicken 2001 CopyfilesEx
    forcesrcfile=Quicken 2001 ForceSrcFile
    
    [Quicken 2001 CopyfilesEx]
    %QuickenDir%\QDATA.QSD,%QuickenDir%
    %QuickenDir%\QW.CFG,%QuickenDir%
    %QuickenDir%\QW.RMD,%QuickenDir%
    
    [Quicken 2001 ForceSrcFile]
    %QuickenDir%\QW.CFG
    %QuickenDir%\QW.RMD
    
    Miguser.inf

    The Miguser.inf script includes user configuration settings in the Registry and the user profile that need to be copied to the new machine during the migration. Table 19.2 lists the default items in Miguser.inf.

    Table 19.2. User Settings Included in Migration Scan

    User Settings

    Desktop Items

    Shared Desktop Items

    Start Menu Items

    Shared Start Menu Items

    My Documents

    Shared Documents

    My Pictures

    Favorites

     

    Here is a sample of the actions taken on a portion of the user profile:

    [Desktop Items.Detect]
    Directory,%csidl_desktopdirectory%,EXISTS
    
    [Desktop Items.Instructions]
    ForceDestFile=ForceDestDesktop
    CopyFilesFiltered=CopyDesktopFiles
    
    [ForceDestDesktop]
    %csidl_desktopdirectory%\desktop.ini
    
    [CopyDesktopFiles]
    dir=%csidl_desktopdirectory%\*
    
    Migsys.inf

    This script determines how to migrate operating system files and settings. Table 19.3 lists the system files that are included in the script. You can add others.

    Table 19.3. System Files and Configuration Items Included in Migsys.inf

    Fonts

    Accessibility

    Mouse and Keyboard

    Internet Explorer

    Favorites

    Telephony

    Ras Connections

    International

    Multimedia

    Outlook Express

    WAB

    Screen Saver

    Display

    Task Bar

    Folder Options

    Wallpapers

    Desktop Icons

     

    Appearance

     

    Here is a sample of the actions defined by the script for RAS connections to give you an idea of what the script does:

    [Ras Connections]
    AddReg = Ras.AddReg
    
    [Ras.AddReg]
    HKR\RemoteAccess\Profile\*
    
    [Ras Connections.9X]
    CopyFilesEx=RasCopy9X
    
    [RasCopy9X]
    %windir%\usmt.pbk,%CSIDL_APPDATA%\Microsoft\Network\Connections\Pbk,RasPhone.PBK
    
    [Ras Connections.Environment.NT.Windows NT4]
    RasUserFile = Registry, HKR\Software\Microsoft\RAS Phonebook [PersonalPhonebookFile]
    
    [Ras Connections.NT.Windows NT4]
    CopyFilesEx=RasCopyNT4
    

    For the most part, there isn't much in this script that can be tailored. You may have specific settings in a system file that you want to migrate.

    Sysfiles.inf

    This script contains a list of operating system configuration files that require translation or special handling. Each operating system includes settings for all localized versions, such as French, Italian, German, Spanish, Chinese, Japanese, and so forth. The script also contains extensions for various files and their meanings and places to scan for them. Table 19.4 lists the operating systems included in the scan.

    Table 19.4. Operating Systems Included in Sysfiles.inf

    Windows 95

    Windows 95 OSR2

    Windows 95 OSR2.5

    Windows 98

    Windows 98 Second Edition

    Microsoft Netmeeting

    MMC 1.0 files

    Windows ME

    NT4

    Windows 2000

    Using the Files and Settings Transfer Wizard

    The FSTW executable is Migwiz. The executable and support scripts are stored in \Windows\System32\USMT. The Windows Server 2003 CD has a copy of Migwiz and the support files that you can use to perform the data collection portion of FSTW at 9x/ME/NT4 machines. The Autorun screen on the CD lists the migration wizard under Perform Additional Tasks (see Figure 19.1).

    Figure 19.1. Additional options from the Windows Server 2003 CD.

    graphics/19fig01.gif

    The FSTW performs the migration in two phases. During Phase 1, you run the wizard at the existing machine to analyze and collect the Registry entries and files. This can take a long time, depending on the number of files you have. Plan on 30 to 90 minutes. The user should not access the machine during this time.

    The wizard builds an enormous DAT file that contains the migration information. The wizard offers four ways to transfer the migration file to the new machine:

    • Home network. This option permits you to transfer the files directly over the network. This option requires running the Home Networking Wizard to configure the machine. Most organizations with existing networks will not need to perform this evolution.

    • Other. This saves the files to a folder where they can be transported by any means at your disposal, such as a Zip drive or by burning a CD or copying across the network. This is the option of choice for an organization with an existing network.

    • Floppy or removable media. Users without a network can save the migration files to a floppy or Zip or Orb drive. Depending on the amount of user data on the drive, you might need a lot of floppies.

    • Direct Cable. This is for users who do not have a network and do not want to use a stack of floppies for the transfer. The disadvantages of this method is its slowness and the fact that it calls for a certain degree of sophistication on the part of the user to choose the right type of serial cable and connect it correctly.

    During Phase 2, you run the wizard at the new machine. When you are prompted with the message, Do You Have a Windows XP CD?, select I Don't Need the Wizard Disk. The wizard then knows you are in Phase 2 and prompts for the location of the migration files. Point the wizard at the file location and then sit back and wait for it to make the changes. This also takes a while.

    If the wizard encounters a critical error, it will post an HTML page describing the nature of the problem. It also saves a log file in your user profile under Local Settings\Application Data. The Local Settings folder is hidden, so make sure you turn on hidden files before searching for it.

    USMT

    The User State Migration Toolkit (USMT) performs a similar function as the Files and Settings Transfer Wizard (FSTW) but it permits scripting the operations so you can run the migrations wholesale rather than retail. USMT only works with domain member computers. For standalone computers, use the FSTW.

    USMT uses the same set of INF scripts used by the Files and Settings Transfer Wizard. Instead of the Migwiz executable, though, USMT uses two command-line executables:

    • Scanstate. This compares the contents of the drive and Registry with settings in the INF scripts and builds a migration script.

    • Loadstate. This takes the contents of the INF script built by Scanstate and applies it to a target machine.

    There are several advantages to using USMT versus FSTW. One is the size of the migration file. Instead of building a big, unwieldy binary DAT file like FSTW, Scanstate builds a text-based INF script with folders that contain the files it needs to copy to the target machine. Scanstate also runs much, much faster than FSMW.

    Here is the syntax for Scanstate. The entries should all be on one line:

    
    scanstate <location> /c /v:7 /l:usmt.log /i:miguser.inf /i:migapp.inf /i:migsys.inf /i:
    graphics/ccc.gifsysfiles.inf
    

    Here are the meanings of the Scanstate switches:

    • <location>. This is the location where you want Scanstate to save the migration files. You'll need 100MB to 150MB depending on how many user files are on the machine. This can be a network drive.

    • /c. Skips errors involving long filenames. The skipped files are logged in Longfile.log.

    • /v. This is a "verbose" switch. There are seven levels of verbosity, with 7 being the most verbose. I always use the 7 setting. If something goes wrong, I want to see everything about the failure in the logs.

    • /l. The name of the log file to hold errors and other messages. I usually use the name Usmt.log.

    • /i. Identifies the INF script to use for state collection. As you can see, you can specify more than one INF script. Specify all four INF scripts if you want to migrate system, application, and user settings.

    Scanstate builds a fairly hefty INF file called Migration.inf plus a folder hierarchy that contains any files identified during the scan. Copy these files to the target machine and then run Loadstate with this syntax (the entries should be on one line):

    
    loadstate <location> /v:7 /l:usmtload.log  /i:miguser.inf /i:migapp.inf /i:migsys.inf /i:
    graphics/ccc.gifsysfiles.inf
    

    In these command parameters, <location> is the location of the migration files saved by Scanstate. Don't put the full path to the INF file, just the path to the folder that contains the top folder of the migration hierarchy, which is Usmt2i.umc. For instance, if the path to Migration.inf is D:\Usmtfiles\Usmt2i.umc\Migration.inf, <location> would be D:\Usmtfiles.

    After Loadstate finishes updating the machine, restart the machine to initialize the changes. If you get any errors, check the log for troubleshooting hints.

      Previous Section Next Section