Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.
-
Upload
philip-obrien -
Category
Documents
-
view
215 -
download
0
Transcript of Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.
![Page 1: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/1.jpg)
![Page 2: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/2.jpg)
Deployment Image Servicing and Management
Marcius TribelhornPremier Field EngineerMicrosoft South AfricaWCL307
![Page 3: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/3.jpg)
Overview
What DISM can do for youTools that were replacedDISM CommandsDISM ArchitectureDISM ProvidersDISM Options
![Page 4: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/4.jpg)
What DISM Does For You
Allows you to service images offlineBoth .wim and .vhd
Gives you more functionality with consistent syntaxReplaced 3 tools
Package Manager (Pkgmgr.exe)International Settings Configuration Tool (Intlcfg.exe)Windows PE command-line tool (PEimg.exe)
![Page 5: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/5.jpg)
DISM
Supports only Vista SP1 and later imagesMount / unmount .wims
(no capture or apply feature)Add / remove 3rd party device drivers ONLYAdd / remove language packsEnable / disable / configure Windows features Add Windows updates (MSU’s)Image Context or NOT…
![Page 6: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/6.jpg)
With or Without Image Context…
Elevated CMDWithout Image Context
Dism /?No image specified - your looking at the image that is currently running - called the HOST
With Image ContextDism /online /?
Don’t try this on WinPEMounted image
Dism /Image:c:\mount\win7 /?
![Page 7: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/7.jpg)
Get Information On An Image
In the past we had ImagexImagex /info <Path to image file>For example:Imagex /info c:\wims\install.wim
NOW we can use DISMDISM /Get-WimInfo /wimfile:<Path to image file>Another example:Dism /get-wiminfo /wimfile:c:\wims\install.wim
Document, document, document!
![Page 8: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/8.jpg)
Mounting Images:The Whole Story…
Mount an image for offline servicingPatch Tuesday – adding the new patchesAdding / removing driversEnable / disable windows fetaures
Firewall,
DISM /Mount-Wim /WimFile:C:<Path to image> /index:1 /MountDir:C:\mountDISM /Mount-Wim /Wimfile:c:\wims\install.wim /MountDir:C:\Mount
![Page 9: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/9.jpg)
Mounted Images
Get mounted wim informationCheck your status
OK – goodNeeds remount
Status – Needs remountAttempt to ReMount-WimMay need to Cleanup-Wim and then Remount-Wim
![Page 10: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/10.jpg)
Re-Mounting and Clean-Up
Re-Mount a .WimDism /Remount-Wim /MountDir:<target_mount_directory>
Cleanup a .wimDISM /Cleanup-Wim
![Page 11: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/11.jpg)
Mounting Wims demo
![Page 12: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/12.jpg)
Creating a .vhd
Open elevated command promptDiskpart
create vdisk file=c:\W7Ultimate.vhd maximum=25000 type=fixedSelect vdisk file=c:\W7Ultimate.vhd attach vdisk List disk (find your new disk number)Sel disk #Create part primarySel part 1
![Page 13: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/13.jpg)
Creating a VHD Continued
Still in DiskpartSel part 1ActiveFormat fs=ntfs quickAssignDetail partition (get the drive letter)Exit
Mkdir f:\windowsImagex /apply c:\wims\install.wim 4 f:\Edit BCD to boot this new .vhd
![Page 14: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/14.jpg)
To Attach a .VHD
DiskpartSelect vdisk file=c:\wims\W7Ultimate.vhd attach vdisk assign letter=F exit
![Page 15: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/15.jpg)
Attaching .VHD Images
DiskpartSelect vdisk file=c:\wims\W7Ultimate.vhd attach vdisk assign letter=r exit
![Page 16: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/16.jpg)
OR Through Disk Management UI
Disk Management UIExpand StorageR-click Disk Management
Attach VHDBrowse to your .vhd file
Can attach files in Read Only mode with one clickTo Detach a .vhd
R-click the attached driveChoose Detach VHD
![Page 17: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/17.jpg)
Adding Drivers to a VHD
Attach .VHDDism /image:F:\ /Add-Driver /driver:C:\drivers\mydriver.INFDism /image:R:\ /Add-Driver /driver:C:\drivers /recurseDism /image:R:\ /Add-Driver /driver:C:\drivers\mydriver.INF /ForceUnsigned
![Page 18: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/18.jpg)
How DISM WorksMDT
Windows Setup
SCCM DISM.exe
DISM – APIs for Clients
APIs for Providers
Underlying Technologies
DISM Provider DISM ProviderDISM Provider DISM Provider
![Page 19: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/19.jpg)
DISM and The Image
DISM can do different things based on what the operating system is of the image being servicedProviders are internal to the actual imageProviders are not the same from one OS to the nextProviders can be found in C:\Windows\System32\DISM
![Page 20: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/20.jpg)
Windows 7 & DISM Providers
![Page 21: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/21.jpg)
Server 2008 R2 & DISM
![Page 22: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/22.jpg)
DISM Options
/English Displays output in English/Format Formats report output/WinDir Path to the Windows Directory/SysDriveDir Finds BootMGR/LogPath & /LogLevel Log path & verbosity /NoRestart No reboots or reboot prompts /Quiet Only receive error messages – no other
output/ScratchDir Path to the scratch directory
![Page 23: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/23.jpg)
DISM Optionsdemo
![Page 24: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/24.jpg)
In Summary…
What DISM can do for youTools that were replacedDISM CommandsDISM ArchitectureDISM ProvidersDISM Options
![Page 25: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/25.jpg)
question & answer
![Page 26: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/26.jpg)
www.microsoft.com/teched
International Content & Community
http://microsoft.com/technet
Resources for IT Professionals
http://microsoft.com/msdn
Resources for Developers
www.microsoft.com/learning
Microsoft Certification & Training Resources
Resources Tech·Ed Africa 2009 sessions will be made available for download the week after the event from: www.tech-ed.co.za
![Page 27: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/27.jpg)
Track Resources
Windows 7 adoption life cycle: http://technet.microsoft.com/en-us/windows/dd361745.aspx
Windows 7 deployment overview: TechNet Windows 7 deployment overview http://technet.microsoft.com/en-us/library/dd367841.aspx
Windows 7 deployment specifics: TechNet Windows 7 deployment home http://technet.microsoft.com/en-us/library/dd349337(WS.10).aspx
Microsoft overall deployment overview: TechNet deployment home http://technet.microsoft.com/en-us/desktopdeployment/default.aspx
![Page 28: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/28.jpg)
Complete a session evaluation and enter to win!
10 pairs of MP3 sunglasses to be won
![Page 29: Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.](https://reader036.fdocuments.us/reader036/viewer/2022081519/56649ef45503460f94c07324/html5/thumbnails/29.jpg)
© 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.