1 / 28

Windows 7 Test Prep

Windows 7 Test Prep. Ch 3: Deploying System Images Part 1. Based on this book. WDS and MDT 2010. WDS (Windows Deployment Services) Cannot run configuration tasks after deployment MDT 2010 (Microsoft Deployment Toolkit) Allows you to automatically run configuration tasks after deploment.

kiona
Télécharger la présentation

Windows 7 Test Prep

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Windows 7 Test Prep Ch 3: Deploying System Images Part 1

  2. Based on this book

  3. WDS and MDT 2010 • WDS (Windows Deployment Services) • Cannot run configuration tasks after deployment • MDT 2010 (Microsoft Deployment Toolkit) • Allows you to automatically run configuration tasks after deploment

  4. ImageX and DISM • ImageX creates an image of a computer • While booted to Windows PE • DISM enables manipulation of the image after it is created • You can use either ImageX or DISM to mount an image and work with it offline

  5. Lesson 1: Managing a System Image Before Deployment • Suppose you need to add a driver or otherwise change an image • You could deploy it to a computer, run Sysprep, and recapture it • Servicing the image offline is more efficient

  6. Using DISM WIM Commands and Mounting an Image • DISM is the recommended Windows AIK tool for managing and manipulating offline images • You can • Install and configure OS updates, packages and drivers • Modify Windows PE images • Change language, locale, fonts, and input settings on a Windows image

  7. DISM Compatible with Vista • DISM is backwards-compatible with Vista SP1 • You can manipulate Vista SP1 images on Win 7 or Win Server 2008 • You can manipulate Win 7 or Win Server 2008 images on Vista SP1

  8. DISM Options

  9. Getting Info with DISM • dism /get-wiminfo /wimfile:g:\installationimage.wim

  10. Getting Info with ImageX • imagex /info g:\installationimage.wim

  11. Mounting Images • dism /mount-wim /wimfile:g\installationimage.wimindex:1 /mountdir:c:\mount • OR • imagex /mountrw g:\installationimage.wim 1 c:\mount2

  12. Using a Mounted Image with DISM • Mount it with /mount-wim • Get info about mounted images with /get-mountedwiminfo • Create a scratch directory to work in while modifying files • dism /image:c:\mount /scratchdir:c:\workingfiles • Modify files in the scratch directory, then • dism /commit-wim /mountdir:c:\mount

  13. Cleanup • dism /cleanup-wim • Removes corrupted files in all writable mounted images • dism /remount-wim • Retrieves and remounts orphan images • dism /cleanup-image • Used with /RevertPendingImages parameter to recover from a boot faillure

  14. Working with an Online Image • dism /online /get-drivers • Lists all out-of-box drivers that are currently installed • You read info from an online image, don't modify it

  15. Drivers • Dism can only service .inf drivers • .MSI and .EXE drivers are not supported • Options • /get-drivers • /get-driverinfo • /add-driver • /remove-driver • Put all required drivers in a folder and add them all at once by specifying the folder

  16. Applications and Application Patches • dism /image:path_to_directory [/check-apppatch | /get-apppatchinfo: || get-apppatches | /get-appinfo | /get-apps] • apppatch options apply only to installed patches (.msp files) • app options apply only to Windows Installer applications (.msi files) • DISM cannot gather information about .exe or .dll files

  17. Adding Applications to an Image with DISM • You can add app patches, if they are .cab or .msu files with DISM • You can enable and disable Windows features with DISM • You cannot add applications with DISM • Install apps to reference computer before imaging it • Use the Add Application wizard in MDT 2010

  18. Adding Apps with Unattend.xml • Use DISM to associate an image with an Unattend.xml file • In Unattend.xml, place postinstallation tasks that connect to a file server and install apps • This is called "thin image"

  19. Servicing OS Patches • DISM allows you to add OS patches offline • Patches must be .cab or .msu files • You can get info about .cab files, but not .msu files • Insert package into image with • DISM /add-package • Then commit changes with • DISM /commit-wim

  20. .msu and .cab • You cannot remove a .msu from an image • You can remove a .cab

  21. International Settings • DISM can manage international settings in an image

  22. Tzutil • Tzutil shows the time zone for a computer

  23. Upgrading Images • You can upgrade images to a higher Windows 7 edition • Offline upgrades don't require a product key; the key is entered in one of these manners: • In the OOBE part of the first startup • From an Unattend.xml file • Offline with DISM /set-productkey

  24. Servicing Windows PE Images • Win PE images can only be serviced offline • DISM /get-scratchspace • Shows the size of available RAMDisk

  25. Unattended Servicing • Enables you to install multiple packages in the correct order • DISM /image:c:\images /apply-unattend:path-to-unattend.xml • You can also service running operating systems with the /online parameter

  26. Using Answer Files with Windows Images • Autounattend.xml was created with Windows SIM (System Image Manager) • If you want to use an additional answer file for other packages, you typically name it Unattend.xml • You associate the image with the Unattend file with • DISM /image:c:\mount /apply-unattend:\c:\answer-files\unattend.xml

More Related