1 / 28

Deployment Image Servicing and Management

Deployment Image Servicing and Management. Rhonda J. Layfield Sr. Technical Architect RJL, INC. WCL316. Overview. What DISM can do for you Tools that were replaced DISM Commands DISM Architecture DISM Providers DISM Options. What DISM Does For You.

saskia
Download Presentation

Deployment Image Servicing and Management

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. Deployment Image Servicing and Management Rhonda J. Layfield Sr. Technical Architect RJL, INC. WCL316

  2. Overview • What DISM can do for you • Tools that were replaced • DISM Commands • DISM Architecture • DISM Providers • DISM Options

  3. What DISM Does For You • Allows you to service images offline • Both .wim and .vhd • Gives you more functionality with consistent syntax • Replaced 3 tools • Package Manager (Pkgmgr.exe) • International Settings Configuration Tool (Intlcfg.exe) • Windows PE command-line tool (PEimg.exe)

  4. DISM • Supports only Vista SP1 and later images • Mount / unmount .wims • (no capture or apply feature) • Add / remove 3rd party device drivers ONLY • Add / remove language packs • Enable / disable / configure Windows features • Add Windows updates (MSU’s) • Image Context or NOT…

  5. With or Without Image Context… • Elevated CMD • Without Image Context • Dism /? • No image specified - your looking at the image that is currently running - called the HOST • With Image Context • Dism /online /? • Don’t try this on WinPE • Mounted image • Dism /Image:c:\mount\win7 /?

  6. Get Information On An Image • In the past we had Imagex • Imagex /info <Path to image file> • For example: • Imagex /info c:\wims\install.wim • NOW we can use DISM • DISM /Get-WimInfo /wimfile:<Path to image file> • Another example: • Dism /get-wiminfo /wimfile:c:\wims\install.wim • Document, document, document!

  7. Mounting Images:The Whole Story… • Mount an image for offline servicing • Patch Tuesday – adding the new patches • Adding / removing drivers • Enable / disable windows fetaures • Firewall, • DISM /Mount-Wim /WimFile:C:<Path to image> /index:1 /MountDir:C:\mount • DISM /Mount-Wim /Wimfile:c:\wims\install.wim /MountDir:C:\Mount

  8. Mounted Images • Get mounted wim information • Check your status • OK – good • Needs remount • Status – Needs remount • Attempt to ReMount-Wim • May need to Cleanup-Wim and then Remount-Wim

  9. Re-Mounting and Clean-Up • Re-Mount a .Wim • Dism /Remount-Wim /MountDir:<target_mount_directory> • Cleanup a .wim • DISM /Cleanup-Wim

  10. demo Mounting Wims

  11. Creating a .vhd • Open elevated command prompt • Diskpart • create vdisk file=c:\W7Ultimate.vhd maximum=25000 type=fixed • Select vdisk file=c:\W7Ultimate.vhd • attach vdisk • List disk (find your new disk number) • Sel disk # • Create part primary • Sel part 1

  12. Creating a VHD Continued • Still in Diskpart • Sel part 1 • Active • Format fs=ntfs quick • Assign • Detail partition (get the drive letter) • Exit • Mkdir f:\windows • Imagex /apply c:\wims\install.wim 4 f:\ • Edit BCD to boot this new .vhd

  13. To Attach a .VHD • Diskpart • Select vdisk file=c:\wims\W7Ultimate.vhd • attach vdisk • assign letter=F • exit

  14. Attaching .VHD Images • Diskpart • Select vdisk file=c:\wims\W7Ultimate.vhd • attach vdisk • assign letter=r • exit

  15. OR Through Disk Management UI • Disk Management UI • Expand Storage • R-click Disk Management • Attach VHD • Browse to your .vhd file • Can attach files in Read Only mode with one click • To Detach a .vhd • R-click the attached drive • Choose Detach VHD

  16. Adding Drivers to a VHD • Attach .VHD • Dism /image:F:\ /Add-Driver /driver:C:\drivers\mydriver.INF • Dism /image:R:\ /Add-Driver /driver:C:\drivers /recurse • Dism /image:R:\ /Add-Driver /driver:C:\drivers\mydriver.INF /ForceUnsigned

  17. How DISM Works SCCM MDT Windows Setup DISM.exe DISM – APIs for Clients APIs for Providers DISM Provider DISM Provider DISM Provider DISM Provider Underlying Technologies

  18. DISM and The Image • DISM can do different things based on what the operating system is of the image being serviced • Providers are internal to the actual image • Providers are not the same from one OS to the next • Providers can be found in C:\Windows\System32\DISM

  19. Windows 7 & DISM Providers

  20. Server 2008 R2 & DISM

  21. DISM Options

  22. demo DISM Options

  23. In Summary… • What DISM can do for you • Tools that were replaced • DISM Commands • DISM Architecture • DISM Providers • DISM Options

  24. question & answer

  25. Required Slide Speakers, TechEd 2009 is not producing a DVD. Please announce that attendees can access session recordings at TechEd Online. Resources • www.microsoft.com/teched Sessions On-Demand & Community • www.microsoft.com/learning • Microsoft Certification & Training Resources • http://microsoft.com/technet • Resources for IT Professionals • http://microsoft.com/msdn Resources for Developers www.microsoft.com/learning Microsoft Certification and Training Resources

  26. Required Slide Complete an evaluation on CommNet and enter to win!

  27. Required Slide © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related