Professional Documents
Culture Documents
1
3/23/2010
Deployment Process
Image Formats
WIM
VHD
Windows Automated Installation Kit (WAIK) 2.0
Windows Pre-Installation Environment (WinPE) 3.0
Windows System Image Manager (WSIM)
User State Migration Tool (USMT) 4.0
Deployment Image Servicing and Management (DISM)
Volume Activation 2.0
2
3/23/2010
3
3/23/2010
Agentless
Finding your clients
This is called discovery
Getting information from your clients
Inventory
Windows 7
Windows Vista
Windows XP Pro SP 2 or later
Windows Server 2008 R2
Windows Server 2008
Windows Server 2003 R2
Windows Server 2003 SP 1 or later
Runs on either x86 or x64
Itanium processors are not supported
4
3/23/2010
Discovery Methods
Active Directory Domain Services (AD DS)
Windows networking protocols
Import names of your computers from a file
IP address ranges
Manually enter a computer name
LDAP query to a DC
Asking for information that is:
Domain based
Container based
OU based
5
3/23/2010
6
3/23/2010
7
3/23/2010
1 2 Imaging Tool
MDT
W7 ImageX
WDS Capture
3
Targets
Deployment Server
4
Wims
Contain a single volume (c: d: e:)
Multiple images may be stored in a single .wim file
Single instancing
No redundant file storage
Service image offline
Apply patches quick and easily
Vhds
Brand new with Windows 7
Contain an entire hard drive (multiple volumes)
Microsoft Deployment Toolkit (MDT) 2010 does not support
.vhd
Windows Deployment Service does support .vhd
8
3/23/2010
Deployment Image Servicing and mount, unmount and manage images, Add /
Management Remove packages and drivers to an image
(DISM)
Imagex Capture and apply images
Windows System Image Manager create answer files (setup scripts) in .xml
(WSIM) format
User State Migration Tool 4.0 migrates users profile, IE favorites and
(USMT 4.0) documents
Volume Activation Management Tool 1.2 centrally manage volume activation
Install an OS
XP SP3
Vista SP1 or later
Windows 7
Windows Server 2003 R2 (all SPs)
Windows Server 2008 (all SPs)
Windows Server 2008 R2
Configure Settings
Sysprep (Generalize switch)
Capture an image using ImageX
But you can’t get an image of an OS up and running…
9
3/23/2010
10
3/23/2010
11
3/23/2010
12
3/23/2010
You can put one on your system, add a .wim to it… and
tell bcdedit to boot that OS
Mounting a .VHD in Win7 is called “attaching"
Un-Mounting a .VHD is called “detaching”
Diskpart is the basic tool of choice to work with .vhds
Of course, W-7 & 2008 use them for backups now
13
3/23/2010
Still in Diskpart
Sel part 1
Active
Format fs=ntfs quick
Assign
Detail partition (get the drive letter)
Exit
Mkdir f:\windows
Imagex /apply c:\wims\install.wim 4 f:\
Edit Boot Configuration Database to boot from the
new .vhd
14
3/23/2010
15
3/23/2010
16
3/23/2010
Image Context
DISM /?
Vs
DISM /online /?
17
3/23/2010
Mount WinPE.wim
Dism /Mount-Wim /WimFile:winpe.wim /index:1
/MountDir:C:\WinPE\Mount
Add Imagex to WinPE.wim
Copy C:\Program Files\WAIK\Tools\amd64 (or x86,
ia64) \ Imagex.exe into C:\WinPE\Mount\Windows
Un-Mount WinPE.wim
Dism /Unmount-Wim /MountDir:C:\WinPE\Mount
/commit
Or
Dism /Unmount-Wim /MountDir:C:\WinPE\Mount
/discard
Un-Mount WinPE.wim
Dism /Unmount-Wim /MountDir:C:\boot\mount
/commit /discard
18
3/23/2010
19
3/23/2010
20
3/23/2010
21
3/23/2010
22
3/23/2010
23
3/23/2010
24
3/23/2010
Mount Install.wim
Dism /Mount-Wim /WimFile:C:\wims\install.wim /index:5
/MountDir:C:\Mount
Add drivers from C:\Drivers
– Dism /image:C:\mount /Add-Driver /driver:C:\drivers
List your drivers
Dism /image:C:\winpe\mount /Get-Drivers
List your drivers in table format
Dism /image:C:\winpe\mount /Get-Drivers /format:table
Un-Mount Install.wim
Dism /Unmount-Wim /MountDir:C:\Mount /commit
25
3/23/2010
26
3/23/2010
Windows Image
Pane
Message Pane
27
3/23/2010
28
3/23/2010
29
3/23/2010
Catalog
Windows 7 Installations
are performed in stages…
These stages are called
Configuration Passes
There are 7 but not all
passes must be run
30
3/23/2010
31
3/23/2010
32
3/23/2010
33
3/23/2010
2 Reboots
34
3/23/2010
35
3/23/2010
36
3/23/2010
37
3/23/2010
38
3/23/2010
39
3/23/2010
Upgrade
Applications 1
Deployment Server
Run
ScanState 2
Store locally
XP SP2 or across the
network
40
3/23/2010
Upgrade
Applications 1
Run
ScanState 2 Deployment Server
Store locally
or across the
XP SP2/SP3
Windows 7 network
Install
Windows 7 3
Install
Applications 4
Run
LoadState 5
32-bit versions of X X
Windows Vista
64-bit versions of X X
Windows Vista
41
3/23/2010
42
3/23/2010
MigUser.xml
MigApp.xml
MigDocs.xml
MigUser.XML
– Rules to migrate user profiles and data
– Describes a “core” migration
– Folders that will be migrated
43
3/23/2010
44
3/23/2010
Accessibility settings
Address book
Command-prompt settings
*Desktop wallpaper
EFS files
Favorites
Folder options
Fonts
Users, Groups and Group memberships
*Windows Internet Explorer® settings
* Settings not available for offline migration
45
3/23/2010
*Taskbar settings
Windows Mail
Microsoft Outlook Express Mail (.dbx) files are
migrated from Windows XP
*Windows Media Player
Windows Rights Management
MigUser.XML
The following does not migrate with MigUser.xm
Files outside the user profile that don’t match any file
extensions listed in MigUser.xml
46
3/23/2010
47
3/23/2010
48
3/23/2010
49
3/23/2010
Running ScanState
Command prompt
Scanstate C:\Path To Store Data
Scanstate C:\USMT
Scanstate C:\USMT /Auto
Scanstate C:\USMT /Auto /hardlink /nocompress
Running LoadState
Loadstate C:\Path To Store Data
Loadstate C:\USMT
Loadstate C:\USMT /Auto
Loadstate C:\USMT /Auto /hardlink /nocompress
Uncompressed (UNC)
Mirror image of the folder hierarchy being migrated
Settings are stored in a catalog file that also describes
how to restore files on the destination computer
Compressed
a single image file that contains all files being migrated
and a catalog file
You can encrypt and protect this file with a password
Hard-Link
a map that defines how a collection of bits on the hard
disk are to be migrated. These files remain fully in tact
50
3/23/2010
51
3/23/2010
52
3/23/2010
2
13
Deployment.Com
53
3/23/2010
Single domain
1 SRV record created in DNS
1 KMS servicing multiple domains
Default behavior
SRV record is published in the domain the KMS server is a
member of
Manually create SRV records in DNS
OR
HKLM/Software/Microsoft/Windows
NT/CurrentVersion/SL
New Multi-string value
Named: DnsDomainPublishList
Add each DNS domain suffix on it’s own line
(Deployment.Com)
54
3/23/2010
Deployment.Com
Bigfirm.Com
55
3/23/2010
56
3/23/2010
No
But it can be (recommended)
Support for SRV records (RFC 2782)
Support for dynamic updates (RFC 2136)
BIND 8.x & 9.x
57
3/23/2010
58
3/23/2010
59
3/23/2010
1 2 MDT
Deployment Server
Download Image
4
XP Targets
SP2
XP 3
SP3 Custom
MDT
WinPE
Bare Metal
New machines
Refresh
Keeping the old hardware
Refreshing the OS on the existing machine
Replace
Replacing existing hardware with new
Maintaining user’s settings and data
Upgrade
Unless your upgrading from Vista there is no upgrade
path
60
3/23/2010
1 2 Imaging Tool
MDT
W7 ImageX
WDS Capture
3
Targets
Deployment Server
4
Upgrade
Applications 1
Deployment Server
Store Users
Data and 2
Settings
XP SP2/SP3
61
3/23/2010
Upgrade
Applications 1
Store Users
Data and 2 Deployment Server
Settings
XP SP2/SP3
Windows 7
Install
Windows 7 3
Install
Applications 4
Restore
Users
Settings and
5
Data
Upgrade
Applications 1
Store Users
Data and 2 Deployment Server
Settings
XP SP2/SP3
62
3/23/2010
Upgrade
Applications 1
Store Users
Data and 2 Deployment Server
Settings
XP SP2/SP3
Windows 7
Install
Windows 7 3
Install
Applications 4
Restore
Users
Settings and
5
Data
63
3/23/2010
Bare Metal
Pro No Network Connectivity
Con No Version Control
64
3/23/2010
65
3/23/2010
MDT
Deployment Server
Deployment
Share
66
3/23/2010
XP SP3
Vista SP1 or later Supported
Windows 7 OSs
Windows Server 2003 R2
Windows Server 2008 & R2
67
3/23/2010
68
3/23/2010
OS patches
Language Packs
69
3/23/2010
70
3/23/2010
71
3/23/2010
[Settings]
Priority=Default
[Default]
DeployRoot=\\DeploySrv\DeploymentShare$
SkipBDDWelcome=YES
72
3/23/2010
[Settings]
Priority=Default
[Default]
_SMSTSORGNAME=DeploymentDr
OSInstall=Y
SkipTaskSequence=YES
TaskSequenceID= W7X64
SkipComputerName=YES
ComputerName=%SerialNumber%
SkipUserData=YES
SkipLocaleSelection=YES
KeyboardLocale=En-US
UserLocale= En-US
UILanguage= En-US
SkipTimeZone=YES
TimeZoneName=Eastern Standard Time
SkipApplications=YES
73
3/23/2010
SkipCapture=YES
SkipAppsOnUpgrade=YES
SkipAdminPassword=YES
AdminPassword=Swordfish1
SkipProductKey=YES
ProductKey=11111-22222-33333-44444-55555
SkipBitLocker=YES
74
3/23/2010
R-click
Selection
Profile
Choose New
Selection
Profile
Choose your
components
75
3/23/2010
76
3/23/2010
77
3/23/2010
Discover IP
DHCP/WDS
Bare-Metal
Acknowledge
DHCP
1
AD/DNS
2
3
Bare-Metal
WDS
78
3/23/2010
WDS snap-in
Right-click Servers
Add Server –
defaults to local
server
Right-click your
server and choose
Configure Server.
79
3/23/2010
80
3/23/2010
81
3/23/2010
564D49219C768546A956C310ED7D2BF6
82
3/23/2010
Adding a .vhd
Elevated command prompt
WDSUTIL /Add-Image /ImageFile:\\Server\Share
\Win7.vhd /Server:WDSServer /ImageType:Install
/ImageGroup:Windows7 /Filename:"Windows7.vhd"
83
3/23/2010
167
R-click boot
image
Choose Add
Driver
Packages to
Image
168
84
3/23/2010
85
3/23/2010
86
3/23/2010
87
3/23/2010
88
3/23/2010
89
3/23/2010
90
3/23/2010
91
3/23/2010
3 Scenarios
1. WDS and DHCP on the same subnet/ different
servers
Client will find WDS by broadcasting
2. WDS and DHCP on different subnets
Client must find WDS through options 66 and 67 set in
DHCP
3. WDS & DHCP on same server
Client finds WDS through Option 60 in DHCP
92
3/23/2010
DHCP
Bare--Metal
Bare
Discover IP/PXE
Server
WDS
DHCP
Bare--Metal
Bare
Discover IP/PXE
Server
Acknowledge
Request
WDS
93
3/23/2010
Discover IP
DHCP / WDS
Bare--Metal
Bare
Acknowledge
94
3/23/2010
95
3/23/2010
WDS Server
Multicast
Transmission
Clients
WDS Server
Multicast
Transmission
Clients
96
3/23/2010
WDS Server
Multicast
Transmission
WDS Server
Multicast
Transmission
97
3/23/2010
WDS Server
Multicast
WDS Server
Multicast
Clients
98
3/23/2010
99
3/23/2010
WinPE script
Store script in RemoteInstall\WDSClientUnattend folder
WDS snap-in -> R-click server -> Properties Client tab
Enable unattended installation
Browse to WinPE script
Sets the script for all computers of that architecture
100
3/23/2010
101
3/23/2010
Default Permissions
Local administrator on the WDS server
Full Control of the RemoteInstall folder
Full Control permissions on
HKEY_LOCAL_MACHINE\System
Domain administrator (domain where the WDS
server resides)
Full Control permissions on the Service Control Point
(SCP) in AD DS for the WDS server.
102
3/23/2010
Enterprise administrator
Dynamic Host Configuration Protocol (DHCP)
authorization permissions
Admin Approval
The computer account is created using the server’s
authentication token (not the admins token performing
the approval)
WDSSERVER$ must have “create computer account
objects” on the containers / OUs where the approved
pending computers will be created
103
3/23/2010
ADUC
R-click the container or OU and go to Properties
Click the Advanced button and add a user or group then
click the Edit button
Under Apply to: This object and all descendant objects
Allow “Create Computer objects” Ok (3x)
BUT now that user can create computer objects and join
machines to the domain
What if you only want someone to be able to join a
machine to the domain?
Name: JoinRights
Type: DWORD
Value: 0 = JoinOnly.; 1 = Full
104
3/23/2010
Name: User
Type: REG_SZ
Value: group or user.
105
3/23/2010
TASK Permission
Prestage a computer ADUC -> Create a custom task to
delegate on OU where you are putting
the computer account -> Write all
properties on Computer Objects
TASK Permission
Manage properties on an OS image R/W on image Res.rwm file found:
F:RemoteInstall\Images\<ImageGroup>
106
3/23/2010
Renaming a machine
Moving a machine from one domain to another
You’ll need to uninitialize & reinitialize WDS server
From a cmd on the WDS server
Wdsutil /uninitialize-server
Wdsutil /initialize-server /reminst:E:\RemoteInstall
107
3/23/2010
WDSCapture WinPE
Add boot.wim from a 2K8 Server .iso
Right-click the boot.wim and choose “Create capture
image…”
Add the new .wim file that you just created
Sysprep
-reseal
generalize
No
Volume to
capture?
108
3/23/2010
109
3/23/2010
110
3/23/2010
111
3/23/2010
112
3/23/2010
113
3/23/2010
MDT
Deployment Server
Download Image
WDS Server
MDT WinPE
WDS
Installation
Configuration
Known clients vs Unknown clients
PXE Booting
Multiple WDS Server Selection
Common issues
Multicasting
Automating
Integrating WDS and MDT
PXE boot
Multicast
114
3/23/2010
Questions or Comments
Rhonda@DeploymentDr.com
Please fill out your evaluations!
WWW.DeploymentDr.Com
RhondaLayfield@Twitter.com
115