Exam prep: 70-410 & 70- 417 MCSA: Installing and Configuring Windows Server 2012 (R2)
Windows 7 Test Prep Ch 2 Part 3. Based on this book.
-
Upload
mireya-reddell -
Category
Documents
-
view
217 -
download
4
Transcript of Windows 7 Test Prep Ch 2 Part 3. Based on this book.
![Page 1: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/1.jpg)
Windows 7 Test Prep
Ch 2 Part 3
![Page 2: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/2.jpg)
Based on this book
![Page 3: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/3.jpg)
Lesson 1: Capturing System Images
• Part 1: Creating an answer file– Saving it as unattend.xml on a UFD (USB Flash
Drive)
• Part 2: Creating a Reference Image• Distributing an Image to Many Computers• Using the Deployment Image• Servicing and Management Tool• Sysprep
![Page 4: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/4.jpg)
Manual Deployment from a Network Share
• On destination computer, boot from WinPE disk• Use DISKPART to
create partitions• Copy image.wimto
local hard disk D:• Apply image with
ImageX• Use BCDboot to initialize the Boot Configuration
Data
![Page 5: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/5.jpg)
ImageX
• At an elevated command prompt– e:\imagex.exe /apply d:\image.wim 1 c:
![Page 6: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/6.jpg)
BCDboot
• At an elevated command prompt– d:\windows\system32\bcdboot d:\windows
![Page 7: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/7.jpg)
Cross-Architecture Tools
• ImageX (x86) and Windows PE (x86) can be used to capture both 32-bit and 64-bit images
![Page 8: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/8.jpg)
Windows Imaging Format
• A WIM file is file-based format that stores files and file metadata– Removes duplicates, storing a file only once even
if it is references multiple times in the file system tree
– Hardware-independent– Files are stored in a WIM database– WIM files must be deployed to pre-formatted
partitions (use DISKPART first)
![Page 9: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/9.jpg)
Windows Imaging Format
• WIM file may contain multiple disk images– Saves size by removing duplicates
• SWM: Spanned WIM Image files– Split into parts
![Page 10: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/10.jpg)
Mounting WIM Files
• Load WimFltr.sys driver• Mount WIM file to a drive letter using ImageX• Wimgapi.dll provides Application
Programming Interfaces for manipulating WIMs
• To make a WIM bootable, use ImageX with the /boot switch
![Page 11: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/11.jpg)
Distributing an Image to Many Computers
• Two tools–Windows Deployment Services (WDS)• Targets boot from PXE, or from a WDS
Capture Image
–MDT 2010 (Microsoft Deployment Toolkit)• Very powerful new deployment tool
![Page 12: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/12.jpg)
Lite Touch & Zero Touch
• Lite Touch Installation (LTI)– Requires a small amount of user intervention– Most new features in MDT are related to LTI
• Zero Touch Installation (ZTI)– No user intervention– Requires these items on the network:
• Microsoft System Center Configuration Manager (SCCM) 2007
• Operating System Deployment Feature Pack• SQL Server
![Page 13: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/13.jpg)
System Management Server (SMS) 2003
• MTD 2010 ZTI does not work with SMS 2003
![Page 14: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/14.jpg)
WDS Images
• WDS provides a PXE-booted version of Windows PE
• A WDS image is contained in A WIM FILE– It's booted over the network into a RAMDisk– Installation proceeds under Windows PE
• WDS integrates into Active Directory Domain Services, but the PXE server can run without ADDS
![Page 15: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/15.jpg)
Types of WDS Images• Install– An OS to deploy, typically a WIM file
• Boot– Windows PE image you boot client to before install the
WIM
• Capture– Used to capture images– Has Windows PE and Windows Deployment Services
Image Capture Wizard
• Discover– Used for non-PXE computers– Enables target to finds WDS server and install an image
![Page 16: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/16.jpg)
Using the Deployment Image Servicing and Management Tool (DISM)
• New in Windows 7• DISM can service a Windows image, or
prepare a Windows PE image
![Page 17: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/17.jpg)
DISM Can Do:
![Page 18: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/18.jpg)
DISM Options
![Page 19: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/19.jpg)
Sysprep
• Sysprep prepares a Windows installation for imaging or delivery to a user
• GUI mode:• c:\windows\
system32\sysprep\sysprep.exe
![Page 20: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/20.jpg)
Sysprep Command-line Options
![Page 21: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/21.jpg)
Sysprep Options
• /audit Restarts the ciomputer in Audit mode to test an installation or add drivers
• /generalize Removes all unique system info• /oobe Restarts in Windows Welcome mode• /reboot, /shutdown, /quiet, /quit• /unattend: answerfile – Applies settings in the
answer file during unattended installation
![Page 22: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/22.jpg)
Configuration Passes
• Link TestPrep Ch 2c
![Page 23: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/23.jpg)
Sysprep Answer File
• Configures unattended setup options• The generalize, auditSystem, and auditUser
passes only occur when you run sysprep.• Sysprep answer file must be an XML file but
cannot be named Autounattend.xml
![Page 24: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/24.jpg)
Making Plug-and-Play Drivers Persist During the Generalize Pass• Specify the PersistentAllDeviceInstalls setting
in the Microsoft-Windows-PnPSysprep feature • In Windows System Image Manager– See next slide
![Page 25: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/25.jpg)
![Page 26: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/26.jpg)
Reduced Functionality Mode
• There is no Reduced Functionality Mode in Windows 7• Textbook is wrong on page 82• See link TestPrep Ch 2d
![Page 27: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/27.jpg)
Lesson 2: Managing Virtual Hard Disk Files
• Using Native VHDs in Windows 7 • Using the Windows Image to Virtual Hard Disk
Tool • Using the Offline Virtual Machine Servicing
Tool to Update a VHD • Deploying to an Online VHD • Using Windows Deployment Services
![Page 28: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/28.jpg)
Using Native VHDs in Windows 7
• VHD files are used by Hyper-V, Virtual Server, and Virtual PC for virtual disks
• VHD files are also used by Microsoft Data Protection Manager, Windows Server Backup, client computer backup, and more programs.
• Win 7 Enterprise or Ultimate can boot directly from VHD
• DISKPART and Disk Management can be used to create VHD files
![Page 29: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/29.jpg)
Action, Create VHD in Disk Management
![Page 30: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/30.jpg)
Attaching VHD Files
• You can also "Attach" an existing VHD in Computer Management
• In either read-only or read-write mode
![Page 31: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/31.jpg)
Creating VHD files with DISKPART
![Page 32: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/32.jpg)
Booting from VHD
• Must have Win 7 Enterprise or Ultimate• Two ways to put Win 7 on a VHD– Use ImageX and a Win 7 Install DVD– Copy a WIM image to the VHD
• Use BCDEdit to add a boot entry for the VHD file
![Page 33: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/33.jpg)
Using the Windows Image to Virtual Hard Disk Tool
• WIM2VHD creates VHD imaged from any Win 7 installation source or a custom WIM file
• The VHD will boot to the OOBE (Out-of-Box-Experience) unless you automate that configuration with an Unattend.xml file.
![Page 34: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/34.jpg)
WIM2VHD Example
![Page 35: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/35.jpg)
Using the Offline Virtual Machine Servicing Tool to Update a VHD
• If you have a Win7 machine that only rarely boots from VHD, the VHD won't get Automatic Updates often
• The Offline Virtual Machine Servicing Tool lets you update a VHD
• The VHD will boot up just long enough to get the updates
![Page 36: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/36.jpg)
Using the Offline Virtual Machine Servicing Tool to Update a VHD
• Requires Windows Server 2008 or 2003 SP2• Microsoft System Center Virtual Machine
manager (SCVMM) 2007 or SCVMM 2008• The SCVMM Administrator Console is built on
a Windows PoqwerShell command-line interface (see next slide)
![Page 37: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/37.jpg)
SCVMM Admin Console
![Page 38: Windows 7 Test Prep Ch 2 Part 3. Based on this book.](https://reader035.fdocuments.us/reader035/viewer/2022070308/551b8f3b550346942b8b4f44/html5/thumbnails/38.jpg)
Deploying to an Online VHD Using Windows Deployment Services
• WDS enables you to deploy Win 7 Enterprise or Ultimate remotely to bootable VHDs on client computers
• WDS runs on Windows Server 2008 or Windows Server 2008 R2
• WDS is an MMC Snap-in, and comes with the WDSUtil command-line tool you need to capture images