SlideShare a Scribd company logo
1 of 62
Automatically Deploying Windows 7 without theMicrosoft Alphabet Soup Greg Shields Senior Partner & Principal Technologist www.ConcentratedTech.com
This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like. For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com.  For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgreg This work is copyright ©Concentrated Technology, LLC
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!
This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like. For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com.  For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgreg This work is copyright ©Concentrated Technology, LLC

More Related Content

What's hot

Continuous Integration with Hackintosh
Continuous Integration with HackintoshContinuous Integration with Hackintosh
Continuous Integration with HackintoshDavid Ventura, M.E.T.
 
Keynote ECSE 2011: Development and Operations - Two Worlds Collide
Keynote ECSE 2011: Development and Operations - Two Worlds CollideKeynote ECSE 2011: Development and Operations - Two Worlds Collide
Keynote ECSE 2011: Development and Operations - Two Worlds CollideEberhard Wolff
 
Adobe premiere pro cs4 read me
Adobe premiere pro cs4 read meAdobe premiere pro cs4 read me
Adobe premiere pro cs4 read meLiliana Og
 
Linux Beginner Guide 2014
Linux Beginner Guide 2014Linux Beginner Guide 2014
Linux Beginner Guide 2014Anthony Le Goff
 
Vj software-win7
Vj software-win7Vj software-win7
Vj software-win7creatrios
 
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
 
Component-Based Entity Systems (Demo)
Component-Based Entity Systems (Demo)Component-Based Entity Systems (Demo)
Component-Based Entity Systems (Demo)Nick Pruehs
 
Game Development Challenges
Game Development ChallengesGame Development Challenges
Game Development ChallengesNick Pruehs
 
Session #6: Get More Bang For Your Buck
Session #6: Get More Bang For Your BuckSession #6: Get More Bang For Your Buck
Session #6: Get More Bang For Your BuckSteve Lange
 
Big Event Looping Deck
Big Event Looping DeckBig Event Looping Deck
Big Event Looping DeckSteve Lange
 
200807 troubleshooting ii
200807 troubleshooting ii200807 troubleshooting ii
200807 troubleshooting iimalaianna11
 
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
 
Windows 7 Optimized Desktop
Windows 7 Optimized DesktopWindows 7 Optimized Desktop
Windows 7 Optimized DesktopKeith Combs
 

What's hot (19)

Virtual machine
Virtual machineVirtual machine
Virtual machine
 
Continuous Integration with Hackintosh
Continuous Integration with HackintoshContinuous Integration with Hackintosh
Continuous Integration with Hackintosh
 
Windows 7 Feature Overview
Windows 7 Feature OverviewWindows 7 Feature Overview
Windows 7 Feature Overview
 
Keynote ECSE 2011: Development and Operations - Two Worlds Collide
Keynote ECSE 2011: Development and Operations - Two Worlds CollideKeynote ECSE 2011: Development and Operations - Two Worlds Collide
Keynote ECSE 2011: Development and Operations - Two Worlds Collide
 
Adobe premiere pro cs4 read me
Adobe premiere pro cs4 read meAdobe premiere pro cs4 read me
Adobe premiere pro cs4 read me
 
Linux Beginner Guide 2014
Linux Beginner Guide 2014Linux Beginner Guide 2014
Linux Beginner Guide 2014
 
Vj software-win7
Vj software-win7Vj software-win7
Vj software-win7
 
Best free tools for w d a
Best free tools for w d aBest free tools for w d a
Best free tools for w d a
 
Best free tools for win database admin
Best free tools for win database adminBest free tools for win database admin
Best free tools for win database admin
 
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
 
Virtual dj 7 getting started
Virtual dj 7   getting startedVirtual dj 7   getting started
Virtual dj 7 getting started
 
Component-Based Entity Systems (Demo)
Component-Based Entity Systems (Demo)Component-Based Entity Systems (Demo)
Component-Based Entity Systems (Demo)
 
Game Development Challenges
Game Development ChallengesGame Development Challenges
Game Development Challenges
 
Desk Maintenance
Desk MaintenanceDesk Maintenance
Desk Maintenance
 
Session #6: Get More Bang For Your Buck
Session #6: Get More Bang For Your BuckSession #6: Get More Bang For Your Buck
Session #6: Get More Bang For Your Buck
 
Big Event Looping Deck
Big Event Looping DeckBig Event Looping Deck
Big Event Looping Deck
 
200807 troubleshooting ii
200807 troubleshooting ii200807 troubleshooting ii
200807 troubleshooting ii
 
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
 
Windows 7 Optimized Desktop
Windows 7 Optimized DesktopWindows 7 Optimized Desktop
Windows 7 Optimized Desktop
 

Similar to Deploying w7

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
 
Windows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesWindows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesAidan Finn
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215guest95b42b
 
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
 
Improving Your Admin Image
Improving Your Admin ImageImproving Your Admin Image
Improving Your Admin Imageelisemoss
 
Let’s talk virtualization
Let’s talk virtualizationLet’s talk virtualization
Let’s talk virtualizationEtienne Tremblay
 
Windows 7 Deployment Enhancements
Windows 7 Deployment EnhancementsWindows 7 Deployment Enhancements
Windows 7 Deployment EnhancementsMicrosoft TechNet
 
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捷恩 蔡
 
HoloLens Unity Build Pipelines on Azure DevOps
HoloLens Unity Build Pipelines on Azure DevOpsHoloLens Unity Build Pipelines on Azure DevOps
HoloLens Unity Build Pipelines on Azure DevOpsSarah Sexton
 
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
 
Installing and configuring windows deployment services
Installing and configuring windows deployment servicesInstalling and configuring windows deployment services
Installing and configuring windows deployment servicesprasadmvreddy
 
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
 
Building an standard image for windows7
Building an standard image for windows7Building an standard image for windows7
Building an standard image for windows7AMMAR MANZAR
 
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...Concentrated Technology
 
Sdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint FinalSdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint FinalStephen Rose
 
N-Tier Application with Windows Forms - Deployment and Security
N-Tier Application with Windows Forms - Deployment and SecurityN-Tier Application with Windows Forms - Deployment and Security
N-Tier Application with Windows Forms - Deployment and SecurityPeter Gfader
 

Similar to Deploying w7 (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
 
Windows Deployment Tools And Methodologies
Windows Deployment Tools And MethodologiesWindows Deployment Tools And Methodologies
Windows Deployment Tools And Methodologies
 
System Imager.20051215
System Imager.20051215System Imager.20051215
System Imager.20051215
 
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...
 
Improving Your Admin Image
Improving Your Admin ImageImproving Your Admin Image
Improving Your Admin Image
 
Let’s talk virtualization
Let’s talk virtualizationLet’s talk virtualization
Let’s talk virtualization
 
Windows 7 Deployment Enhancements
Windows 7 Deployment EnhancementsWindows 7 Deployment Enhancements
Windows 7 Deployment Enhancements
 
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
 
Lesson03
Lesson03Lesson03
Lesson03
 
groupProject-1-Win8
groupProject-1-Win8groupProject-1-Win8
groupProject-1-Win8
 
HoloLens Unity Build Pipelines on Azure DevOps
HoloLens Unity Build Pipelines on Azure DevOpsHoloLens Unity Build Pipelines on Azure DevOps
HoloLens Unity Build Pipelines on Azure DevOps
 
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 ...
 
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
 
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
 
Building an standard image for windows7
Building an standard image for windows7Building an standard image for windows7
Building an standard image for windows7
 
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
TechMentor Fall, 2011 - Packaging Software for Automated Deployment with Wind...
 
Windows 7 Deployment
Windows 7 DeploymentWindows 7 Deployment
Windows 7 Deployment
 
Sdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint FinalSdwest2008 V101 F Dpowerpoint Final
Sdwest2008 V101 F Dpowerpoint Final
 
N-Tier Application with Windows Forms - Deployment and Security
N-Tier Application with Windows Forms - Deployment and SecurityN-Tier Application with Windows Forms - Deployment and Security
N-Tier Application with Windows Forms - Deployment and Security
 

More from 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
 

More from 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
 
Top ESXi command line v2.0
Top ESXi command line v2.0Top ESXi command line v2.0
Top ESXi command line v2.0
 
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
 

Recently uploaded

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfjimielynbastida
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxnull - The Open Security Community
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr LapshynFwdays
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Recently uploaded (20)

AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Science&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdfScience&tech:THE INFORMATION AGE STS.pdf
Science&tech:THE INFORMATION AGE STS.pdf
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptxMaking_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
Making_way_through_DLL_hollowing_inspite_of_CFG_by_Debjeet Banerjee.pptx
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
"Federated learning: out of reach no matter how close",Oleksandr Lapshyn
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

Deploying w7

  • 1. Automatically Deploying Windows 7 without theMicrosoft Alphabet Soup Greg Shields Senior Partner & Principal Technologist www.ConcentratedTech.com
  • 2. This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like. For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com. For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgreg This work is copyright ©Concentrated Technology, LLC
  • 3. 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
  • 4. 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
  • 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!
  • 8. 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.
  • 9. 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
  • 10. Step 1: Installing Windows Deployment Server WDS is a Windows 2008 R2 role. Remote Installation Folder location PXE Server Initial Settings Add Image Wizard
  • 11. 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.
  • 12. 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.
  • 14. How to Name the Computer? Requiring Administratorapproval enables thename-at-installfunctionality of WDS. Boot via PXE Approve & Name in WDS Enjoy!
  • 15. 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.
  • 16. Step 3: Deploying a Computer This lookssuspiciouslysimilar to Ghost. However,Auto-Cast isvery useful. Willsetup an always-on deployment.
  • 18. Stepping Back: Layering the OS A Case for the Layered Approach to Deploying Windows Desktopshttp://technet.microsoft.com/en-us/magazine/ee835710.aspx
  • 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.
  • 20. 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.
  • 21. DEMO: injecting drivers
  • 22. 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.
  • 23. DEMO: injecting drivers INTO boot images
  • 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.
  • 25. 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!).
  • 26. Step 5: Automating WinPE
  • 27. The Right Questions?The Right Answers?
  • 29. Unattending WDS Validate and createyour XML file. Save it toC:emoteInstall. Point to it in WDS. Note: One file perprocessor architecture.
  • 30. 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!
  • 32. More Questions!More Answers! Visit technet.microsoft.com/en-us/library/cc749073(WS.10).aspx for a list of applicable time zone strings.
  • 33. 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.
  • 34. 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
  • 35. 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.
  • 36. DEMO: Creating A Capture Image
  • 37. Step 7: Capturing an Image Phase 1: Configure and Sysprep
  • 38. Step 7: Capturing an Image Phase 2: PXE Boot
  • 39. Step 7: Capturing an Image Phase 3: Select Stuff to Capture
  • 40. Step 7: Capturing an Image Phase 4: Choose Where to Send Stuff
  • 41. 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…
  • 42. Step 8: Microsoft Deployment Toolkit What you don’t get with WDS alone is the workflow that surrounds an OS installation.
  • 43. 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.
  • 44. Step 8: Microsoft Deployment Toolkit
  • 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 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
  • 47. Step 8: Microsoft Deployment Toolkit Second job: Deploy an Image!
  • 48. 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!
  • 49. Step 9: Silent Installs & Repackaging Repackaging is an ART! You just missed my session on repackaging. Yes, I know the order was reversed… 
  • 50. Step 10: Layering Apps atop Windows THIN is IN!
  • 51. Step 10: Layering Apps atop Windows THIN is IN! Once packaged and added to MDT, applications can be selected during the installation.
  • 52. Step 10: Layering Apps atop Windows THIN is IN! Alternatively,app installscan be addedto a TaskSequence. Adding thereeliminates thequestionsduring install.
  • 53. DEMO: Adding an App to a Task Sequence
  • 54. Step 11: Preserving Personality Remember, we’re layering here!
  • 55. 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!
  • 56. DEMO: Preserving User Data During W7 Upgrade
  • 57. Step 11: Preserving Personality One can customize what USMT gathers. Doing so is outside the scope of this session.
  • 58. 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
  • 59. 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
  • 60. 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!
  • 61. Your Feedback is Important Please fill out a session evaluation form drop it off at the conference registration desk. Thank you!
  • 62. This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like. For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com. For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgreg This work is copyright ©Concentrated Technology, LLC