Your SlideShare is downloading. ×
Managing your images with Deployment Image Servicing & Management (DISM) – windows 7
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Managing your images with Deployment Image Servicing & Management (DISM) – windows 7

1,805
views

Published on

This session will cover information on DISM – Deployment Image Servicing and Management, a tool which is introduced in Windows 7. We will look at what DISM can do, which were the tools that it …

This session will cover information on DISM – Deployment Image Servicing and Management, a tool which is introduced in Windows 7. We will look at what DISM can do, which were the tools that it replaced, the Commands, Architecture, Providers and Options.

Published in: Technology

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,805
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Managing Your Images with Deployment Image Servicing & Management (DISM) – Windows 7
    Vijay Raj
  • 2. About Me
    Work at Texas Instruments
    STEP Member for Windows 7
    Expertise in Application Setups & Deployment (MVP)
    Passionate about Technology Evangelism
    Avid Blogger at http://www.msigeek.com
    Excited about Cricket and Music
    Fan of Mark Russinovich, Sachin and Rahman!
  • 3. Session Outline
    What DISM can do for you
    Tools that were replaced
    DISM Commands
    DISM Architecture
    DISM Providers
    DISM Options
  • 4. 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)
  • 5. 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…
  • 6. 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:mountwin7 /?
  • 7. Get Information On An Image
    In the past we had Imagex
    Imagex /info <Path to image file>
    For example:
    Imagex /info c:wimsinstall.wim
    NOW we can use DISM
    DISM /Get-WimInfo /wimfile:<Path to image file>
    Another example:
    Dism /get-wiminfo /wimfile:c:wimsinstall.wim
    Document, document, document!
  • 8. 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:wimsinstall.wim /MountDir:C:Mount
  • 9. 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
  • 10. Re-Mounting and Clean-Up
    Re-Mount a .Wim
    Dism /Remount-Wim /MountDir:<target_mount_directory>
    Cleanup a .wim
    DISM /Cleanup-Wim
  • 11. Mounting Wims
    demo
  • 12. 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
  • 13. 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:wimsinstall.wim 4 f:
    Edit BCD to boot this new .vhd
  • 14. To Attach a .VHD
    Diskpart
    Select vdisk file=c:wimsW7Ultimate.vhd
    attach vdisk
    assign letter=F
    exit
  • 15. Attaching .VHD Images
    Diskpart
    Select vdisk file=c:wimsW7Ultimate.vhd
    attach vdisk
    assign letter=r
    exit
  • 16. 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
  • 17. Adding Drivers to a VHD
    Attach .VHD
    Dism /image:F: /Add-Driver /driver:C:driversmydriver.INF
    Dism /image:R: /Add-Driver /driver:C:drivers /recurse
    Dism /image:R: /Add-Driver /driver:C:driversmydriver.INF /ForceUnsigned
  • 18. 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
  • 19. 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:WindowsSystem32DISM
  • 20. DISM Options
  • 21. In Summary…
    What DISM can do for you
    Tools that were replaced
    DISM Commands
    DISM Architecture
    DISM Providers
    DISM Options
  • 22. Call to Actions
    Complete the Survey and Win TechNet Subsc- http://tinyurl.com/STEP190
    Read more articles on http://microsoft.com/springboard
    You can get in touch with other Setup Deploy MVPs like Rhonda Layfield.
    Deployment Guidelines and Windows Tips at http://www.msigeek.com
  • 23. question & answer