SlideShare une entreprise Scribd logo
1  sur  60
Automatically Deploying Windows 7 without theMicrosoft Alphabet Soup Greg Shields Senior Partner & Principal Technologist www.ConcentratedTech.com
Loves the ToolsHates the Names “Microsoft wants you to PXE your machine to WDS, using an Unattend.XML file built from WSIM in the WAIK after pre-staging your GUID inside the ADUC.  Oh, and don’t forget MDT (formerly BDD!), who’s Deployment Workbench wraps around all this ridiculousness.” Automating Windows 7 Installation for Desktopand VDI Environments http://nexus.realtimepublishers.com
It’s Alphabet Soup! “Microsoft wants you to PXE your machine to WDS, using an Unattend.XML file built from WSIM in the WAIK after pre-staging your GUID inside the ADUC.  Oh, and don’t forget MDT (formerly BDD!), who’s Deployment Workbench wraps around all this ridiculousness.” Automating Windows 7 Installation for Desktopand VDI Environments http://nexus.realtimepublishers.com
Windows Deployment’sBiggest Problem
Windows Deployment’sBiggest Problem The Internet.
Windows Deployment’sBiggest Problem The Internet. Each tool evolved through many different versions. Older versions had numerous shortcomings. Resolving those required some oddball hackery. Bloggers report hacks that are no longer timely. You’ll find solutions to problems that no longer exist. Confusion abounds!
Windows Deployment’sBiggest Problem The Internet. Each tool evolved through many different versions. Older versions had numerous shortcomings. Resolving those required some oddball hackery. Bloggers report hacks that are no longer timely. You’ll find solutions to problems that no longer exist. Confusion abounds! The Solution. Don’t trust what you read. You don’t need the command lineas much as you used to.
Greg’s Easy 11 Stepsto Deployment Automation! Installing Windows Deployment Server Configuring Image Deployment Deploying your First Image Dealing with Drivers Automating WinPE Boot Image Automating the “Set Up Windows” Phase Creating a Thick Image w. Applications Installing Microsoft Deployment Toolkit Silent Installations & Repackaging Layering Applications atop Windows Preserving User Data
Step 1:  Installing Windows Deployment Server WDS is a Windows 2008 R2 role. Remote Installation Folder location PXE Server Initial Settings Add Image Wizard
Stepping Back:  WIM Files? .WIM files are Microsoft’s image file format. Two files are most important, right off DVD media. 	ourcesoot.wim 	ourcesnstall.wim You maycreate more .WIM files as you create custom images down the road. However, your goal is to not create more. Highest goal:  One WIM per processor architecture.
Step 2:  Configuring Image Deployment WDS can deploy images via USB stick I’m showing you network deployment only. Caution:  Network deployment uses multicast. Multicast consumes bandwidth. Multicast is often not passed between subnets. Thus, YMMV.
DEMO:  Configuring WDS
How to Name the Computer? Requiring Administratorapproval enables thename-at-installfunctionality of WDS. Boot via PXE Approve & Name in WDS Enjoy!
How to Name the Computer? One small permissions change is required. In Active Directory Users and Computers, right-click the domain and then select Delegate Control.  Change the object type to include computers and add the computer object of the Windows Deployment Services server into the dialog box.  Click Next.  When prompted, select Create a custom task to delegate.  Select Only the following objects in the folder. Then select the Computer Objects check box, and then Create selected objects in this folder.  Click Next.  In the Permissions box select Write all Properties and click Finish.
Step 3:  Deploying a Computer This lookssuspiciouslysimilar to Ghost. However,Auto-Cast isvery useful.  Willsetup an always-on deployment.
DEMO:  DEPLOYMENT!
Stepping Back:  Layering the OS A Case for the Layered Approach to Deploying Windows Desktopshttp://technet.microsoft.com/en-us/magazine/ee835710.aspx
Step 4:  Dealing with Drivers Plug and Play eliminates the need to create multiple images because of driver differences. WDS presents a driver database to the deployment.   Plug and Play detects and installs those it needs.
Step 4:  Dealing with Drivers Plug and Play eliminates the need to create multiple images because of driver differences. WDS presents a driver database to the deployment.   Plug and Play detects and installs those it needs. Hardest part:  Finding and unpacking the right drivers to add to WDS. EXEs/MSIs must be unpacked to INFs. WDS will import all INFs in a file path.
DEMO:  injecting drivers
Boot Image Drivers Sometimes WinPE needs extra drivers to boot. This is not common. …but you’ll know when you need it! When it does, those drivers must be specially injected into your boot image. This is done within WDS before a deployment. Be careful!  You can corrupt the little guy! If you do, get a new one from the DVD.
DEMO:  injecting drivers INTO boot images
Step 5:  Automating WinPE Next Step:  Automating installation prompts. We want this installation to complete from start to finish without asking any questions. Two areas need automating: The WinPE half. The Set Up Windows half.
Step 5:  Automating WinPE Next Step:  Automating installation prompts. We want this installation to complete from start to finish without asking any questions. Two areas need automating: The WinPE half. The Set Up Windows half. Automate by pre-answering their questions using Windows System Image Manager. This tool is hard (unless you have me!).
Step 5:  Automating WinPE
The Right Questions?The Right Answers?
DEMO:  Automating WinPE
Unattending WDS Validate and createyour XML file. Save it toC:emoteInstall. Point to it in WDS. Note:  One file perprocessor architecture.
Step 6:  Automating Set Up Windows Next Step:  Automating installation prompts. We want this installation to complete from start to finish without asking any questions. Two areas need automating: The WinPE half. The Set Up Windows half. Now, for the second half!
More Questions!More Answers!
More Questions!More Answers! Visit technet.microsoft.com/en-us/library/cc749073(WS.10).aspx for a list of applicable time zone strings.
Further Unattending WDS Validate and createyour XML file. Save it toC:emoteInstall. Point to it in WDS. Note:  This XMLfile is per-image notper-server.
Step 7:  Creating a Thick Image You don’t want to do this! At least…not much… Thick is bad. Does this image make me look fat? Creating thin images that layer applications over the OS is much more flexible. Only go thick for core applications everyone needs. Examples: Office, Adobe, WinZip, Elf Bowling
Step 7:  Creating a Thick Image Your steps to capturing an image… Create that image, configure as needed. Run c:indowsystem32ysprepysprep.exe Shutdown after Sysprep. Create a WDS capture image. PXE boot and connect to capture image. Choose capture volume, name, description. Upload image to WDS server.
DEMO:  Creating A Capture Image
Step 7:  Capturing an Image Phase 1:  Configure and Sysprep
Step 7:  Capturing an Image Phase 2:  PXE Boot
Step 7:  Capturing an Image Phase 3:  Select Stuff to Capture
Step 7:  Capturing an Image Phase 4:  Choose Where to Send Stuff
Step 7:  Capturing an Image Phase 5:  Get Coffee!  Marvel in GUIness. Previous versions required the nasty command line ImageX tool. Complex.  Unfriendly.  Bad breath. WDS today can do most everything with GUIs. Some advanced file/driver/stuff injection can still be done with ImageX, but…meh…
Step 8:  Microsoft Deployment Toolkit What you don’t get with WDS alone is the workflow that surrounds an OS installation.
Step 8:  Microsoft Deployment Toolkit What you don’t get with WDS alone is the workflow that surrounds an OS installation. During installation you might… “…want to inject an application!” “…want to preload some files or drivers!” “…want to configure some settings!” “…want to preserve user personality data!” MDT does this via Task Sequences.
Step 8:  Microsoft Deployment Toolkit
Step 8:  Microsoft Deployment Toolkit First job:  Import WDS stuff into MDT. Create Deployment Share Import Operating System | Custom Image File Copy setup files from DVD media (important!) Upload Drivers Create a Standard Client Task Sequence Enable Multicast for Deployment Share Update Deployment Share Disable WDS boot images Add MDT boot images
Step 8:  Microsoft Deployment Toolkit First job:  Import WDS stuff into MDT. Create Deployment Share Import Operating System | Custom Image File Copy setup files from DVD media (important!) Upload Drivers Create a Standard Client Task Sequence Enable Multicast for Deployment Share Update Deployment Share Disable WDS boot images Add MDT boot images
Step 8:  Microsoft Deployment Toolkit Second job:  Deploy an Image!
Step 8:  Microsoft Deployment Toolkit Second job:  Deploy an Image! IN CASE YOU’RE ASKING:MDT uses Windows Deployment Services to actually deploy its images. That’s why we started there first!
Step 9:  Silent Installs & Repackaging Repackaging is an ART! You just missed my session on repackaging. Yes, I know the order was reversed… 
Step 10:  Layering Apps atop Windows THIN is IN!
Step 10:  Layering Apps atop Windows THIN is IN! Once packaged and added to MDT, applications can be selected during the installation.
Step 10:  Layering Apps atop Windows THIN is IN! Alternatively,app installscan be addedto a TaskSequence. Adding thereeliminates thequestionsduring install.
DEMO:  Adding an App to a Task Sequence
Step 11:  Preserving Personality Remember, we’re layering here!
Step 11:  Preserving Personality MDT’s User State Migration Toolkit handles capturing and replacing user data. Built directly into MDT.  Updatable. Is only available when a deployment is started within the old operating system. Launch this to begin:{server}eploymentshare$criptsiteTouch.vbs Enables seamless XP-to-W7 upgrades,OS refreshes, and hardware swaps!
DEMO:  Preserving User Data During W7 Upgrade
Step 11:  Preserving Personality One can customize what USMT gathers. Doing so is outside the scope of this session.
Step 11:  Preserving Personality One can customize what USMT gathers. Doing so is outside the scope of this session. Four Files: MigApp.xml MigUser.xml MigDocs.xml Custom.xml More info at: http://technet.microsoft.com/en-us/library/dd560778(WS.10).aspx http://technet.microsoft.com/en-us/library/dd560762(WS.10).aspx http://technet.microsoft.com/en-us/library/dd560801(WS.10).aspx Application Settings User Folders, Files, File Types System-wide Files Your Custom Settings
Step 12:  Inventorying Apps & DriversStep 13:  Resolving App Incompatibilities Microsoft’s final two deployment tools help you locate applications and drivers and resolve incompatibilities. The Microsoft Assessment and Planning Toolkit is an automated solution for finding those drivers and apps. The Application Compatibility Toolkit creates a workbench for injecting “fixes” to incompatible apps. Great tools with overlapping functionality. ACT > MAP
Need More?Bring Greg to Your Office! The content here is but a snippet of Greg’s hands-on W7 Automated Deployment Training. http://www.concentratedtech.com/training Three to five days.  All hands-on!
Your Feedback is Important Please fill out a session evaluation form drop it off at the conference registration desk. Thank you!

Contenu connexe

Tendances

Care & Feeding Of Your Computer
Care & Feeding Of Your ComputerCare & Feeding Of Your Computer
Care & Feeding Of Your ComputerDon Hazelwood
 
Unit 5 Project - Babeli
Unit 5 Project - BabeliUnit 5 Project - Babeli
Unit 5 Project - BabeliLianna Babeli
 
Adobe premiere pro cs4 read me
Adobe premiere pro cs4 read meAdobe premiere pro cs4 read me
Adobe premiere pro cs4 read meLiliana Og
 
Windows 7 & 8 installation, features and differences pptx
Windows 7 & 8 installation, features and differences pptxWindows 7 & 8 installation, features and differences pptx
Windows 7 & 8 installation, features and differences pptxOsama Yousaf
 
Vj software-win7
Vj software-win7Vj software-win7
Vj software-win7creatrios
 
De-Bugging and Tuning Up Your PC
De-Bugging and Tuning Up Your PCDe-Bugging and Tuning Up Your PC
De-Bugging and Tuning Up Your PCJimWhite
 
TechMentor Fall, 2011 - Building a Windows 7 Deployment USB Stick
TechMentor Fall, 2011 - Building a Windows 7 Deployment USB StickTechMentor Fall, 2011 - Building a Windows 7 Deployment USB Stick
TechMentor Fall, 2011 - Building a Windows 7 Deployment USB StickConcentrated Technology
 
How-To: Patch Off-line and Dormant Desktops, Servers & VMs
How-To: Patch Off-line and Dormant Desktops, Servers & VMsHow-To: Patch Off-line and Dormant Desktops, Servers & VMs
How-To: Patch Off-line and Dormant Desktops, Servers & VMsSolarWinds
 
How To: Patch Off-line and Dormant Desktops, Servers and VMs
How To: Patch Off-line and Dormant Desktops, Servers and VMsHow To: Patch Off-line and Dormant Desktops, Servers and VMs
How To: Patch Off-line and Dormant Desktops, Servers and VMsSolarWinds
 
How to create an identifeye ar game – tech specs
How to create an identifeye ar game – tech specsHow to create an identifeye ar game – tech specs
How to create an identifeye ar game – tech specsOnno Hansen-Staszyński
 
Dell Venue 7 3740
Dell Venue 7 3740Dell Venue 7 3740
Dell Venue 7 3740Kojo King
 
FOSS_GNU/Linux
FOSS_GNU/LinuxFOSS_GNU/Linux
FOSS_GNU/LinuxYogesh Ks
 
Building an standard image for windows7
Building an standard image for windows7Building an standard image for windows7
Building an standard image for windows7AMMAR MANZAR
 
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...mauricemuteti2015
 

Tendances (20)

Care & Feeding Of Your Computer
Care & Feeding Of Your ComputerCare & Feeding Of Your Computer
Care & Feeding Of Your Computer
 
Windows 7 Feature Overview
Windows 7 Feature OverviewWindows 7 Feature Overview
Windows 7 Feature Overview
 
Unit 5 Project - Babeli
Unit 5 Project - BabeliUnit 5 Project - Babeli
Unit 5 Project - Babeli
 
Microsoft - Windows 7
Microsoft - Windows 7Microsoft - Windows 7
Microsoft - Windows 7
 
Linux install
Linux installLinux install
Linux install
 
Adobe premiere pro cs4 read me
Adobe premiere pro cs4 read meAdobe premiere pro cs4 read me
Adobe premiere pro cs4 read me
 
Windows 7 & 8 installation, features and differences pptx
Windows 7 & 8 installation, features and differences pptxWindows 7 & 8 installation, features and differences pptx
Windows 7 & 8 installation, features and differences pptx
 
Appa
AppaAppa
Appa
 
Vj software-win7
Vj software-win7Vj software-win7
Vj software-win7
 
De-Bugging and Tuning Up Your PC
De-Bugging and Tuning Up Your PCDe-Bugging and Tuning Up Your PC
De-Bugging and Tuning Up Your PC
 
TechMentor Fall, 2011 - Building a Windows 7 Deployment USB Stick
TechMentor Fall, 2011 - Building a Windows 7 Deployment USB StickTechMentor Fall, 2011 - Building a Windows 7 Deployment USB Stick
TechMentor Fall, 2011 - Building a Windows 7 Deployment USB Stick
 
Virtual dj 7 getting started
Virtual dj 7   getting startedVirtual dj 7   getting started
Virtual dj 7 getting started
 
How-To: Patch Off-line and Dormant Desktops, Servers & VMs
How-To: Patch Off-line and Dormant Desktops, Servers & VMsHow-To: Patch Off-line and Dormant Desktops, Servers & VMs
How-To: Patch Off-line and Dormant Desktops, Servers & VMs
 
How To: Patch Off-line and Dormant Desktops, Servers and VMs
How To: Patch Off-line and Dormant Desktops, Servers and VMsHow To: Patch Off-line and Dormant Desktops, Servers and VMs
How To: Patch Off-line and Dormant Desktops, Servers and VMs
 
How to create an identifeye ar game – tech specs
How to create an identifeye ar game – tech specsHow to create an identifeye ar game – tech specs
How to create an identifeye ar game – tech specs
 
Dell Venue 7 3740
Dell Venue 7 3740Dell Venue 7 3740
Dell Venue 7 3740
 
Win7guide
Win7guideWin7guide
Win7guide
 
FOSS_GNU/Linux
FOSS_GNU/LinuxFOSS_GNU/Linux
FOSS_GNU/Linux
 
Building an standard image for windows7
Building an standard image for windows7Building an standard image for windows7
Building an standard image for windows7
 
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...
(CRUD) How To Connect To Microsoft Access Database Insert Update Delete Clear...
 

Similaire à WinConnections Spring, 2011 - Deploying Windows 7 without the Ridiculous Microsoft Alphabet Soup

TDF Professional Conf 2010 - Rapid Windows 7 Deployments
TDF Professional Conf 2010 - Rapid Windows 7 DeploymentsTDF Professional Conf 2010 - Rapid Windows 7 Deployments
TDF Professional Conf 2010 - Rapid Windows 7 Deploymentsjimboks
 
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...koolsolutions
 
Windows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesWindows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesAidan Finn
 
running windows 8.1 on VirtualBox tutorial
running windows 8.1 on VirtualBox tutorialrunning windows 8.1 on VirtualBox tutorial
running windows 8.1 on VirtualBox tutorial捷恩 蔡
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215guest95b42b
 
Windows 10 Deployment with Microsoft Deployment Toolkit
Windows 10 Deployment with Microsoft Deployment Toolkit Windows 10 Deployment with Microsoft Deployment Toolkit
Windows 10 Deployment with Microsoft Deployment Toolkit Roel van Bueren
 
Installing and configuring windows deployment services
Installing and configuring windows deployment servicesInstalling and configuring windows deployment services
Installing and configuring windows deployment servicesprasadmvreddy
 
Windows 7 Deployment Enhancements
Windows 7 Deployment EnhancementsWindows 7 Deployment Enhancements
Windows 7 Deployment EnhancementsMicrosoft TechNet
 
Guide To Windows 7 - Installing Windows 7
Guide To Windows 7 - Installing Windows 7Guide To Windows 7 - Installing Windows 7
Guide To Windows 7 - Installing Windows 7Gene Carboni
 
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...Roel van Bueren
 
12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windows12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windowsrajuy2r
 
Optimizing K2000 Workflow
Optimizing K2000 WorkflowOptimizing K2000 Workflow
Optimizing K2000 WorkflowDell World
 
Virtual dj 7 getting started
Virtual dj 7   getting startedVirtual dj 7   getting started
Virtual dj 7 getting startedHimanshu Patel
 
Booting an image as a forensically sound vm in virtual box
Booting an image as a forensically sound vm in virtual boxBooting an image as a forensically sound vm in virtual box
Booting an image as a forensically sound vm in virtual boxBrent Muir
 
Windows 7 at Lodge Park Technology College
Windows 7 at Lodge Park Technology CollegeWindows 7 at Lodge Park Technology College
Windows 7 at Lodge Park Technology CollegeMike Herrity
 
Compile open cpn on windows
Compile open cpn on windowsCompile open cpn on windows
Compile open cpn on windowsrandikaucsc
 

Similaire à WinConnections Spring, 2011 - Deploying Windows 7 without the Ridiculous Microsoft Alphabet Soup (20)

TDF Professional Conf 2010 - Rapid Windows 7 Deployments
TDF Professional Conf 2010 - Rapid Windows 7 DeploymentsTDF Professional Conf 2010 - Rapid Windows 7 Deployments
TDF Professional Conf 2010 - Rapid Windows 7 Deployments
 
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...
Implications of Migrating to Windows Embedded Standard 7 (WES7) in Embedded A...
 
Windows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesWindows Deployment Tools And Methodologies
Windows Deployment Tools And Methodologies
 
running windows 8.1 on VirtualBox tutorial
running windows 8.1 on VirtualBox tutorialrunning windows 8.1 on VirtualBox tutorial
running windows 8.1 on VirtualBox tutorial
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215
 
Windows 10 Deployment with Microsoft Deployment Toolkit
Windows 10 Deployment with Microsoft Deployment Toolkit Windows 10 Deployment with Microsoft Deployment Toolkit
Windows 10 Deployment with Microsoft Deployment Toolkit
 
Lesson03
Lesson03Lesson03
Lesson03
 
ZCM 3rd Party Imaging
ZCM 3rd Party ImagingZCM 3rd Party Imaging
ZCM 3rd Party Imaging
 
Installing and configuring windows deployment services
Installing and configuring windows deployment servicesInstalling and configuring windows deployment services
Installing and configuring windows deployment services
 
groupProject-1-Win8
groupProject-1-Win8groupProject-1-Win8
groupProject-1-Win8
 
Windows 7 Deployment Enhancements
Windows 7 Deployment EnhancementsWindows 7 Deployment Enhancements
Windows 7 Deployment Enhancements
 
Guide To Windows 7 - Installing Windows 7
Guide To Windows 7 - Installing Windows 7Guide To Windows 7 - Installing Windows 7
Guide To Windows 7 - Installing Windows 7
 
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...
SURFacademy: Windows 10 deployment met Microsoft Deployment Toolkit en Setup ...
 
Windows 7 Deployment
Windows 7 DeploymentWindows 7 Deployment
Windows 7 Deployment
 
12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windows12849144 how-to-install-a-cccam-server-on-windows
12849144 how-to-install-a-cccam-server-on-windows
 
Optimizing K2000 Workflow
Optimizing K2000 WorkflowOptimizing K2000 Workflow
Optimizing K2000 Workflow
 
Virtual dj 7 getting started
Virtual dj 7   getting startedVirtual dj 7   getting started
Virtual dj 7 getting started
 
Booting an image as a forensically sound vm in virtual box
Booting an image as a forensically sound vm in virtual boxBooting an image as a forensically sound vm in virtual box
Booting an image as a forensically sound vm in virtual box
 
Windows 7 at Lodge Park Technology College
Windows 7 at Lodge Park Technology CollegeWindows 7 at Lodge Park Technology College
Windows 7 at Lodge Park Technology College
 
Compile open cpn on windows
Compile open cpn on windowsCompile open cpn on windows
Compile open cpn on windows
 

Plus de Concentrated Technology

Virtualization auditing & security deck v1.0
Virtualization auditing & security deck v1.0Virtualization auditing & security deck v1.0
Virtualization auditing & security deck v1.0Concentrated Technology
 
Securely connecting to apps over the internet using rds
Securely connecting to apps over the internet using rdsSecurely connecting to apps over the internet using rds
Securely connecting to apps over the internet using rdsConcentrated Technology
 
PowerShell crashcourse for Sharepoint admins
PowerShell crashcourse for Sharepoint adminsPowerShell crashcourse for Sharepoint admins
PowerShell crashcourse for Sharepoint adminsConcentrated Technology
 

Plus de Concentrated Technology (20)

Wsus sample scripts
Wsus sample scriptsWsus sample scripts
Wsus sample scripts
 
Wsus best practices
Wsus best practicesWsus best practices
Wsus best practices
 
Virtualization today
Virtualization todayVirtualization today
Virtualization today
 
Virtualization auditing & security deck v1.0
Virtualization auditing & security deck v1.0Virtualization auditing & security deck v1.0
Virtualization auditing & security deck v1.0
 
Vdi in-a-box
Vdi in-a-boxVdi in-a-box
Vdi in-a-box
 
From VB Script to PowerShell
From VB Script to PowerShellFrom VB Script to PowerShell
From VB Script to PowerShell
 
Supporting SQLserver
Supporting SQLserverSupporting SQLserver
Supporting SQLserver
 
Server Core2
Server Core2Server Core2
Server Core2
 
Securely connecting to apps over the internet using rds
Securely connecting to apps over the internet using rdsSecurely connecting to apps over the internet using rds
Securely connecting to apps over the internet using rds
 
Rapidly deploying software
Rapidly deploying softwareRapidly deploying software
Rapidly deploying software
 
PS scripting and modularization
PS scripting and modularizationPS scripting and modularization
PS scripting and modularization
 
PS error handling and debugging
PS error handling and debuggingPS error handling and debugging
PS error handling and debugging
 
PowerShell crashcourse for Sharepoint admins
PowerShell crashcourse for Sharepoint adminsPowerShell crashcourse for Sharepoint admins
PowerShell crashcourse for Sharepoint admins
 
Prepping software for w7 deployment
Prepping software for w7 deploymentPrepping software for w7 deployment
Prepping software for w7 deployment
 
PowerShell Remoting
PowerShell RemotingPowerShell Remoting
PowerShell Remoting
 
PowerShell crashcourse for sharepoint
PowerShell crashcourse for sharepointPowerShell crashcourse for sharepoint
PowerShell crashcourse for sharepoint
 
PowerShell crashcourse
PowerShell crashcoursePowerShell crashcourse
PowerShell crashcourse
 
PowerShell 8tips
PowerShell 8tipsPowerShell 8tips
PowerShell 8tips
 
PowerShell custom properties
PowerShell custom propertiesPowerShell custom properties
PowerShell custom properties
 
PowerShell crash course
PowerShell crash coursePowerShell crash course
PowerShell crash course
 

Dernier

A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfMounikaPolabathina
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 

Dernier (20)

A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
What is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdfWhat is DBT - The Ultimate Data Build Tool.pdf
What is DBT - The Ultimate Data Build Tool.pdf
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 

WinConnections Spring, 2011 - Deploying Windows 7 without the Ridiculous Microsoft Alphabet Soup

  • 1. Automatically Deploying Windows 7 without theMicrosoft Alphabet Soup Greg Shields Senior Partner & Principal Technologist www.ConcentratedTech.com
  • 2. Loves the ToolsHates the Names “Microsoft wants you to PXE your machine to WDS, using an Unattend.XML file built from WSIM in the WAIK after pre-staging your GUID inside the ADUC. Oh, and don’t forget MDT (formerly BDD!), who’s Deployment Workbench wraps around all this ridiculousness.” Automating Windows 7 Installation for Desktopand VDI Environments http://nexus.realtimepublishers.com
  • 3. It’s Alphabet Soup! “Microsoft wants you to PXE your machine to WDS, using an Unattend.XML file built from WSIM in the WAIK after pre-staging your GUID inside the ADUC. Oh, and don’t forget MDT (formerly BDD!), who’s Deployment Workbench wraps around all this ridiculousness.” Automating Windows 7 Installation for Desktopand VDI Environments http://nexus.realtimepublishers.com
  • 6. Windows Deployment’sBiggest Problem The Internet. Each tool evolved through many different versions. Older versions had numerous shortcomings. Resolving those required some oddball hackery. Bloggers report hacks that are no longer timely. You’ll find solutions to problems that no longer exist. Confusion abounds!
  • 7. Windows Deployment’sBiggest Problem The Internet. Each tool evolved through many different versions. Older versions had numerous shortcomings. Resolving those required some oddball hackery. Bloggers report hacks that are no longer timely. You’ll find solutions to problems that no longer exist. Confusion abounds! The Solution. Don’t trust what you read. You don’t need the command lineas much as you used to.
  • 8. Greg’s Easy 11 Stepsto Deployment Automation! Installing Windows Deployment Server Configuring Image Deployment Deploying your First Image Dealing with Drivers Automating WinPE Boot Image Automating the “Set Up Windows” Phase Creating a Thick Image w. Applications Installing Microsoft Deployment Toolkit Silent Installations & Repackaging Layering Applications atop Windows Preserving User Data
  • 9. Step 1: Installing Windows Deployment Server WDS is a Windows 2008 R2 role. Remote Installation Folder location PXE Server Initial Settings Add Image Wizard
  • 10. Stepping Back: WIM Files? .WIM files are Microsoft’s image file format. Two files are most important, right off DVD media. ourcesoot.wim ourcesnstall.wim You maycreate more .WIM files as you create custom images down the road. However, your goal is to not create more. Highest goal: One WIM per processor architecture.
  • 11. Step 2: Configuring Image Deployment WDS can deploy images via USB stick I’m showing you network deployment only. Caution: Network deployment uses multicast. Multicast consumes bandwidth. Multicast is often not passed between subnets. Thus, YMMV.
  • 13. How to Name the Computer? Requiring Administratorapproval enables thename-at-installfunctionality of WDS. Boot via PXE Approve & Name in WDS Enjoy!
  • 14. How to Name the Computer? One small permissions change is required. In Active Directory Users and Computers, right-click the domain and then select Delegate Control. Change the object type to include computers and add the computer object of the Windows Deployment Services server into the dialog box. Click Next. When prompted, select Create a custom task to delegate. Select Only the following objects in the folder. Then select the Computer Objects check box, and then Create selected objects in this folder. Click Next. In the Permissions box select Write all Properties and click Finish.
  • 15. Step 3: Deploying a Computer This lookssuspiciouslysimilar to Ghost. However,Auto-Cast isvery useful. Willsetup an always-on deployment.
  • 17. Stepping Back: Layering the OS A Case for the Layered Approach to Deploying Windows Desktopshttp://technet.microsoft.com/en-us/magazine/ee835710.aspx
  • 18. Step 4: Dealing with Drivers Plug and Play eliminates the need to create multiple images because of driver differences. WDS presents a driver database to the deployment. Plug and Play detects and installs those it needs.
  • 19. Step 4: Dealing with Drivers Plug and Play eliminates the need to create multiple images because of driver differences. WDS presents a driver database to the deployment. Plug and Play detects and installs those it needs. Hardest part: Finding and unpacking the right drivers to add to WDS. EXEs/MSIs must be unpacked to INFs. WDS will import all INFs in a file path.
  • 20. DEMO: injecting drivers
  • 21. Boot Image Drivers Sometimes WinPE needs extra drivers to boot. This is not common. …but you’ll know when you need it! When it does, those drivers must be specially injected into your boot image. This is done within WDS before a deployment. Be careful! You can corrupt the little guy! If you do, get a new one from the DVD.
  • 22. DEMO: injecting drivers INTO boot images
  • 23. Step 5: Automating WinPE Next Step: Automating installation prompts. We want this installation to complete from start to finish without asking any questions. Two areas need automating: The WinPE half. The Set Up Windows half.
  • 24. Step 5: Automating WinPE Next Step: Automating installation prompts. We want this installation to complete from start to finish without asking any questions. Two areas need automating: The WinPE half. The Set Up Windows half. Automate by pre-answering their questions using Windows System Image Manager. This tool is hard (unless you have me!).
  • 25. Step 5: Automating WinPE
  • 26. The Right Questions?The Right Answers?
  • 28. Unattending WDS Validate and createyour XML file. Save it toC:emoteInstall. Point to it in WDS. Note: One file perprocessor architecture.
  • 29. Step 6: Automating Set Up Windows Next Step: Automating installation prompts. We want this installation to complete from start to finish without asking any questions. Two areas need automating: The WinPE half. The Set Up Windows half. Now, for the second half!
  • 31. More Questions!More Answers! Visit technet.microsoft.com/en-us/library/cc749073(WS.10).aspx for a list of applicable time zone strings.
  • 32. Further Unattending WDS Validate and createyour XML file. Save it toC:emoteInstall. Point to it in WDS. Note: This XMLfile is per-image notper-server.
  • 33. Step 7: Creating a Thick Image You don’t want to do this! At least…not much… Thick is bad. Does this image make me look fat? Creating thin images that layer applications over the OS is much more flexible. Only go thick for core applications everyone needs. Examples: Office, Adobe, WinZip, Elf Bowling
  • 34. Step 7: Creating a Thick Image Your steps to capturing an image… Create that image, configure as needed. Run c:indowsystem32ysprepysprep.exe Shutdown after Sysprep. Create a WDS capture image. PXE boot and connect to capture image. Choose capture volume, name, description. Upload image to WDS server.
  • 35. DEMO: Creating A Capture Image
  • 36. Step 7: Capturing an Image Phase 1: Configure and Sysprep
  • 37. Step 7: Capturing an Image Phase 2: PXE Boot
  • 38. Step 7: Capturing an Image Phase 3: Select Stuff to Capture
  • 39. Step 7: Capturing an Image Phase 4: Choose Where to Send Stuff
  • 40. Step 7: Capturing an Image Phase 5: Get Coffee! Marvel in GUIness. Previous versions required the nasty command line ImageX tool. Complex. Unfriendly. Bad breath. WDS today can do most everything with GUIs. Some advanced file/driver/stuff injection can still be done with ImageX, but…meh…
  • 41. Step 8: Microsoft Deployment Toolkit What you don’t get with WDS alone is the workflow that surrounds an OS installation.
  • 42. Step 8: Microsoft Deployment Toolkit What you don’t get with WDS alone is the workflow that surrounds an OS installation. During installation you might… “…want to inject an application!” “…want to preload some files or drivers!” “…want to configure some settings!” “…want to preserve user personality data!” MDT does this via Task Sequences.
  • 43. Step 8: Microsoft Deployment Toolkit
  • 44. Step 8: Microsoft Deployment Toolkit First job: Import WDS stuff into MDT. Create Deployment Share Import Operating System | Custom Image File Copy setup files from DVD media (important!) Upload Drivers Create a Standard Client Task Sequence Enable Multicast for Deployment Share Update Deployment Share Disable WDS boot images Add MDT boot images
  • 45. Step 8: Microsoft Deployment Toolkit First job: Import WDS stuff into MDT. Create Deployment Share Import Operating System | Custom Image File Copy setup files from DVD media (important!) Upload Drivers Create a Standard Client Task Sequence Enable Multicast for Deployment Share Update Deployment Share Disable WDS boot images Add MDT boot images
  • 46. Step 8: Microsoft Deployment Toolkit Second job: Deploy an Image!
  • 47. Step 8: Microsoft Deployment Toolkit Second job: Deploy an Image! IN CASE YOU’RE ASKING:MDT uses Windows Deployment Services to actually deploy its images. That’s why we started there first!
  • 48. Step 9: Silent Installs & Repackaging Repackaging is an ART! You just missed my session on repackaging. Yes, I know the order was reversed… 
  • 49. Step 10: Layering Apps atop Windows THIN is IN!
  • 50. Step 10: Layering Apps atop Windows THIN is IN! Once packaged and added to MDT, applications can be selected during the installation.
  • 51. Step 10: Layering Apps atop Windows THIN is IN! Alternatively,app installscan be addedto a TaskSequence. Adding thereeliminates thequestionsduring install.
  • 52. DEMO: Adding an App to a Task Sequence
  • 53. Step 11: Preserving Personality Remember, we’re layering here!
  • 54. Step 11: Preserving Personality MDT’s User State Migration Toolkit handles capturing and replacing user data. Built directly into MDT. Updatable. Is only available when a deployment is started within the old operating system. Launch this to begin:{server}eploymentshare$criptsiteTouch.vbs Enables seamless XP-to-W7 upgrades,OS refreshes, and hardware swaps!
  • 55. DEMO: Preserving User Data During W7 Upgrade
  • 56. Step 11: Preserving Personality One can customize what USMT gathers. Doing so is outside the scope of this session.
  • 57. Step 11: Preserving Personality One can customize what USMT gathers. Doing so is outside the scope of this session. Four Files: MigApp.xml MigUser.xml MigDocs.xml Custom.xml More info at: http://technet.microsoft.com/en-us/library/dd560778(WS.10).aspx http://technet.microsoft.com/en-us/library/dd560762(WS.10).aspx http://technet.microsoft.com/en-us/library/dd560801(WS.10).aspx Application Settings User Folders, Files, File Types System-wide Files Your Custom Settings
  • 58. Step 12: Inventorying Apps & DriversStep 13: Resolving App Incompatibilities Microsoft’s final two deployment tools help you locate applications and drivers and resolve incompatibilities. The Microsoft Assessment and Planning Toolkit is an automated solution for finding those drivers and apps. The Application Compatibility Toolkit creates a workbench for injecting “fixes” to incompatible apps. Great tools with overlapping functionality. ACT > MAP
  • 59. Need More?Bring Greg to Your Office! The content here is but a snippet of Greg’s hands-on W7 Automated Deployment Training. http://www.concentratedtech.com/training Three to five days. All hands-on!
  • 60. Your Feedback is Important Please fill out a session evaluation form drop it off at the conference registration desk. Thank you!