install new operating systems - no fuss, no disks needed with windows deployment services (wds)
TRANSCRIPT
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
1/64
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
2/64
Rhonda J. LayfieldRJL, [email protected]
WCL306
mailto:[email protected]:[email protected] -
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
3/64
Rhonda Layfield
Part of IT industry for twenty five+ yearsContribute articles to Windows IT Pro magazine
Setup and Deployment MVP
Desktop Deployment Product Specialist (DDPS)
Co-Author of Windows Server 2003 R2 and WindowsServer 2008 books
Offer two day hands on deployment class
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
4/64
What Well Cover
Intro to WDS (WinPE and Image files)Installing WDS
Configuring WDS
DHCP and WDS
Pre-staging clientsAutomating the Installations
Multicast Transmissions
Creating and Deploying an Image
Performance and Troubleshooting Logs
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
5/64
Windows Setup Milestones
1980: Boot from floppy1990: Install Windows 3.0 from three floppies
1992: Install Windows 3.11 from ten floppies
1995: Windows 95 - First CD-based installation
1997: Windows 98 CD or floppies
2000: RIS PXE boot across the network
2006: Windows Vista delivered on DVD (and
spanned CDs)2007: WDS ships with Multicast support
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
6/64
Why Use WDS?
Reduces deployment cost - FREEPerforms network-based installations
Deploys Windows images to bare metal computers
Supports mixed Windows environments
Utilizes standard Windows technologies
Windows PE
.wim files
.vhd files
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
7/64
Windows Pre Installation EnvironmentakaWinPE
Scaled down version of the Windows KernelBoots into and runs from RAM
X: drive (default driver letter)
Reboots every seventy two hours
Command Line Interface OnlyCan be converted to a bootable .ISOand placed on:
CD, DVD, USB Flash Drive, external HD
You can create your own or use the boot.wimfrom DVD
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
8/64
.Wim Side Trip
One of Microsofts image formatsMultiple images stored in a single .wim file
Single instancing
No redundant file storage
Service image offlineApply patches quick and easily
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
9/64
VHD Image Formats
You can put one on your system, add a .wim to it andtell 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
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
10/64
Back To WDS:Requirements
WDS server must be a member of an Active Directorydomain
DHCP
DNSNTFS partition on which to store images
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
11/64
WDS on Server 2003
Installing WDS on a 2003 SP1ServerInstall RIS
Install patch from the WAIK:windows_deployment_services_update.exe
Installing WDS on a 2003 SP2ServerControl Panel / Add/Remove Programs /Windows Components / WDS
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
12/64
WDS on Server 2008 (& 2008 R2)
Installing WDS on a 2008 serverServer Manager
Add Roles
Select Windows Deployment Services from the list of roles
Two checked boxesDeployment Server
Transport Server
Need both for a full WDS installation
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
13/64
Transport Server Alone
Does NOT need:AD
DNS
DHCP
Create your own PXE Server Component
No UI
WDSUtil only
Provides multicast only
Uses wdsmcast
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
14/64
Configuring WDSWelcome
WDS snap-in
Expand WDS
Right-click your server
Configure Server
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
15/64
Store Your Images
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
16/64
WDS and DHCP on The Same Server?
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
17/64
In a Perfect WDS World
Bare-MetalDHCP/WDS
Discover IP
Acknowledge
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
18/64
WDS and DHCP
Three ScenariosWDS and DHCP on the same subnet/ differentservers
Client will find WDS by broadcasting
WDS and DHCP on different subnets
Client find WDS through options 66 and 67 set in DHCP
WDS & DHCP on same server
Client must find WDS through Option 60 in DHCP
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
19/64
WDS and DHCP Same Subnet
Bare-Metal
DHCP
WDS
Discover IP/PXE
Server
Discover IP/PXE
Server
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
20/64
WDS and DHCP Different Subnets
Bare-Metal
DHCP
WDS
Discover IP/PXE
ServerAcknowledge
Request
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
21/64
WDS and DHCP on The Same Machine
Bare-MetalWDS/DHCP
Discover IP
Acknowledge
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
22/64
WDS Server Responds to
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
23/64
Configuration Completed
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
24/64
Known Clients: Pre-staged in ADUC
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
25/64
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
26/64
Which WDS Server ?
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
27/64
Adding the Images
Within the WDS snap-inAdd Boot images
These are WinPEs
Add Install imagesImage groups and single instancing
Dynamic Driver Provisioning (DDP)
Create driver groups
Only the necessary drivers are downloadedto the client
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
28/64
Configuring WDS
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
29/64
From the Client
PXE boot screensMessage from Administrator
Pending Devices
Client
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
30/64
PXE boot
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
31/64
Unknown Clients
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
32/64
Message From Administrator
How do you set a message from the administrator?On the WDS server from a command prompt type:
WDSUtil /set-server /AutoAddPolicy/message:"To contact your network administrator
please dial 123-4567/AutoAddPolicy is case sensitive
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
33/64
Pending Devices
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
34/64
Automate the PXE Boot Process
No-one has to press F12On the WDS server properties -> Boot tab
For x86 replace PxeBoot.com with Pxeboot.N12
Doesnt exist until you add your first boot.wimIf you encounter a PXEboot Loop
On the WDS server run the following:
WDSUtil /Set-Server /Resetbootprogram:yes
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
35/64
Setting the message from administrator
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
36/64
Cant Use PXE
Create a Discover ImageWDS snap-in -> open Boot Images
R-click a boot image
W7 or 2008 R2 boot.wim from DVD /Sources
Choose to Create Discover ImageGive it a name, description, path to store it and name ofWDS server to connect to
Using the WAIK tools create a bootable .ISO that
contains the new discover .wim
Burn to CD/DVD, USB, external HD
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
37/64
Multicast Transmissions
Server1 sends packet 1 to client1
Server1 sends packet 1 to client2
Server1 sends packet 1 to client3
Server1 sends packet 1 to all clients
Server1 sends packet 1 to client1,client5 client9, client22
d l
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
38/64
Windows Deployment ServicesMulticast Enhancements
Multiple Stream TransferMultiple streams of trafficOptimized rates based onclient connection
Client Auto RemovalSlower clients can bedropped to unicast orentirely (only in standardmulticast)
Boot Image MulticastWindows PE bootimages can use multicast(clients with EFI)
Fast
Medium
Slow
l
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
39/64
Clients
Multicast
WDS Server
Multicast
Transmission
First client joins transmission
l
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
40/64
Clients
WDS Server
Multicast
Transmission
Waiting for other clients to join
Multicast
l
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
41/64
Clients with multiple transfer speeds
WDS Server
Multicast
Transmission
Additional clients join stream
Multicast
Fastest Medium Slowest Medium
l i
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
42/64
Clients with multiple transfer speeds
WDS Server
Multicast
Transmission
More clients to join
Multicast
FastestMedium Slowest Medium FastestMedium Medium
M l i
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
43/64
Clients with multiple transfer speeds
WDS Server
Multicast
Last clients complete
Multicast
Medium MediumSlowest
M l i
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
44/64
Clients
WDS Server
Multicast
All clients complete.
Transmission ends.
Multicast
C i M l i T i i
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
45/64
Creating Multicast Transmissions
2 ways to start creating a multicast transmissionfrom within the WDS snap-in
Right-click Multicast Transmissions and chooseCreate Multicast Transmission
OR
Drill down to your Install Image and right-click theimage then choose Create Multicast Transmission
THENName the Multicast Transmission
Choose the image
A t ti OR S h d l d C t?
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
46/64
Automatic OR Scheduled Cast?
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
47/64
Creating a Multicast Transmission
A t t th I t ll ti
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
48/64
Automate the Installation
Server 2003 & XPWinnt.sif
Sysprep.inf
Server 2008, Vista and later OSs
Windows System Image Manager (WSIM)
.xml scripts
U tt d l S i t
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
49/64
Unattend.xml Scripts
You will need 2 scriptsWinPE Phase
Language of installation
Keyboard layout
Credentials for Image
Which Image to install
Disk Configuration (partitioning)
Where to install the image
The rest of the installation (specialize and OOBE)
Computer nameUser account
Time zone
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
50/64
Viewing the Scripts
Wh t P t th S i t
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
51/64
Where to Put the Scripts
WinPE scriptStore 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
S i t f S ifi M hi
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
52/64
Scripts for a Specific Machine
New computer must be pre-staged in ADUCOn WDS server cmd type:
WDSUtil /Set-Device /Device:computername /ID:GUID orMAC /WDSClientUnattend:path & name of unattend.xml
Example:WDSUtil /Set-Device /Device:Client1 /ID:{8FD14D56-A2B0-6F06-2A00-FD3979EC51A1}/WDSClientUnattend:C:\UF\Unattend.xml
M Th O S i t?
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
53/64
More Than One Script?
Unattend specificed from the cmdSetup /wds /unattend:x:\wdsclientunattend.xml
Unattend from Server Properties
AutoUnattend.xml from root of removable media
The Image Script
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
54/64
The Image Script
Properties of the Image file in WDSGeneral tab
Allow image to install in unattended mode
Select File
Browse to answer fileCan be stored anywhere
Can be named anything you choose
Will be renamed to ImageUnattend.xml
Creating an Image Using WDS
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
55/64
Creating an Image Using WDS
Create a Capture ImageWDS snap-in -> open Boot Images
R-click one
W7 or 2008 R2 boot.wim from DVD /Sources
Choose to Create Capture ImageGive it a name, description and path to store it
When the wizard completes add the newly createdCapture Boot Image to your list of Boot Images
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
56/64
Capture Image
Performance of WDS
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
57/64
Performance of WDS
Administrator tools -> Performance MonitorGet the big picture
RAM
Processor
NICsGet the nitty gritty
WDS multicast ( demoted clients, slowdown requests)
WDS Server (# of requests, # processed, # active)
WDS TFTP (active requests & transfer rate)
Logs to Check
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
58/64
Logs to Check
The logs that contain useful troubleshootinginformation are found in the %Windows% folder.
Setupact.log
Setuperr.log
Turn on additional loggingCalled tracing
Verbose logging
Deployment Services Diagnostics logs (event viewer)
What we Covered
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
59/64
What we Covered
Intro to WDS (WinPE and Image files)Installing WDS
Configuring WDS
DHCP and WDS
Pre-staging clients
Automating the Installations
Multicast Transmissions
Creating and deploying an image
Performance and troubleshooting logs
Let Me Know if I Can Help
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
60/64
Let Me Know if I Can Help
Thank you!
Resources
mailto:[email protected]:[email protected] -
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
61/64
www.microsoft.com/teched
Sessions On-Demand & Community
http://microsoft.com/technet
Resources for IT Professionals
http://microsoft.com/msdn
Resources for Developers
www.microsoft.com/learning
Microsoft Certification and Training Resources
www.microsoft.com/learning
Microsoft Certification & Training Resources
Resources
Track Resources
http://www.microsoft.com/techedhttp://microsoft.com/technethttp://microsoft.com/msdnhttp://www.microsoft.com/learninghttp://www.microsoft.com/learninghttp://www.microsoft.com/learninghttp://www.microsoft.com/learninghttp://microsoft.com/msdnhttp://microsoft.com/technethttp://www.microsoft.com/teched -
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
62/64
Track Resources
Want to find out which Windows Client sessions are best
suited to help you in your deployment lifecycle?
Want to talk face-to-face with folks fromthe Windows Product Team?
Meet us today at theSpringboard Series Lounge, or visit us at
www.microsoft.com/springboard
Springboard SeriesThe Springboard Series empowers you to select the right resources, at the right
technical level, at the right point in your Windows Client adoption and managementprocess. Come see why Springboard Series is yourdestination for Windows 7.
http://www.microsoft.com/springboardhttp://www.microsoft.com/springboard -
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
63/64
Complete an
evaluation onCommNet and
enter to win!
-
8/10/2019 Install New Operating Systems - No Fuss, No Disks Needed With Windows Deployment Services (WDS)
64/64
2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should
not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS,
IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.