Tech·Ed North America /17/2018 8:33 AM

Slides:



Advertisements
Similar presentations
Preface Demo A Quick Thank You How Did We Do It?
Advertisements

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
MIX 09 4/15/ :14 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows 7 Training Microsoft Confidential. Windows ® 7 Compatibility Version Checking.
c:\windows c:\windows c:\windows c:\windows Reference Machines Virtual Hard Disk Images Generalize and Capture Hyper-V Virtual machine.
Johan Arwidmark Chief Technical Architect WCL315.
Richard Smith Senior Consultant – Management, Operations and Deployment Microsoft UK Simple Deployments with Windows AIK and Windows DS.
Feature: Web Client Keyboard Shortcuts © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
Session 1.
Built by Developers for Developers…. © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
 Rico Mariani Architect Microsoft Corporation.
Feature: Assign an Item to Multiple Sites © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
Feature: Print Remaining Documents © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or.
Feature: Document Attachment –Replace OLE Notes © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product.
Marcius Tribelhorn Premier Field Engineer Microsoft South Africa WCL307.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.

customer.
demo © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names.
demo Demo.
demo QueryForeign KeyInstance /sm:body()/x:Order/x:Delivery/y:TrackingId1Z
Feature: Suggested Item Enhancements – Analysis and Assignment © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and.
projekt202 © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are.
© 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks.
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or.
Sr. Dir. – Systems Architecture Inlet Technologies.
CREATING CUSTOM WINPE 3.0 BOOT IMAGES Johan Arwidmark Chief Technical Architect Knowledge Factory SESSION CODE: CLI303 (c) 2011 Microsoft. All rights.

Scott Morrison Program Manager Microsoft Corporation Session Code: WUX308.
Deployment Internals: Mastering Windows Deployment Services
9/11/2018 5:53 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /14/2018 7:13 PM
Inside Panther Troubleshooting the Windows Setup Engine
Inside Panther - The Windows Setup Engine
Absolute Offline Servicing Windows OS
Sysinternals Tutorials
Deploying Windows Embedded with Style
Jason Zander Unplugged
Johan Arwidmark Chief Technical Architect Knowledge Factory
11/29/2018 1:22 AM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Office Mac /30/2018 © 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Title of Presentation 12/2/2018 3:48 PM
12/5/2018 3:24 PM © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Tech·Ed North America /5/2018 6:43 PM
Tech·Ed North America /7/2018 9:06 AM
Tech·Ed North America /7/2018 2:51 PM
Tech·Ed North America /2/2019 4:47 PM
Tech·Ed North America /17/2019 1:47 AM
Peter Provost Sr. Program Manager Microsoft Session Code: DEV312
Top OS Deployment Issues With Answers from Experts
Building Silverlight Apps with RIA Services
Building SaaS Solutions on Windows Azure
Tech Ed North America /5/2019 5:26 AM Required Slide
8/04/2019 9:13 PM © 2006 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Windows 8 Security Internals
Виктор Хаджийски Катедра “Металургия на желязото и металолеене”
TechEd /28/2019 7:58 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
2010 Microsoft BI Conference
Hack-proofing your Clients using Windows 7 Security!
5/13/2019 Creating a Windows 8.1 Image Kyle Rosenthal Technical
Шитманов Дархан Қаражанұлы Тарих пәнінің
Lap Around the Windows Azure Platform
Title of Presentation 5/24/2019 1:26 PM
Tech·Ed North America /6/2019 7:10 PM
Tech·Ed North America /7/2019 2:30 PM
What’s New in Visual Studio 2012 for Web Developers
WCL425 App Compat for Nerds Chris Jackson.
Presentation transcript:

Tech·Ed North America 2009 11/17/2018 8:33 AM © 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.

Deployment Image Servicing and Management Tech·Ed  North America 2009 11/17/2018 8:33 AM Deployment Image Servicing and Management Rhonda J. Layfield Sr. Technical Architect RJL, INC. WCL316 © 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.

Overview What DISM can do for you Tools that were replaced 11/17/2018 8:33 AM Overview What DISM can do for you Tools that were replaced DISM Commands DISM Architecture DISM Providers DISM Options DISM was created to provide a consistent experience instead of using pkgmgr, peimg, intlcfg. Standardidized © 2007 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.

What DISM Does For You Allows you to service images offline 11/17/2018 8:33 AM 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) DISM was created to provide a consistent experience instead of using pkgmgr, peimg, intlcfg. Standardidized © 2007 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.

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…

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 /?

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! I have 2 images mounted and ran: DISM /Get-MountedWimInfo Mounted images: Mount Dir : C:\Mount Image File : C:\wims\install.wim Image Index : 4 Mounted Read/Write : Yes Status : Ok Mount Dir : C:\Mount1 Image File : C:\wims\boot.wim Image Index : 1 The operation completed successfully. Possible Status: OK: The image is mounted with no problems. Needs Remount: The image needs to be remounted due to . This can be caused by rebooting the host system while the image is mounted. Invalid: the image is in an invalid state. You might need to use /Cleanup-Wim on the image.

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

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

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

demo Mounting Wims 11/17/2018 8:33 AM DEMO – the help file . DEMO – mount a .wim in read-only shutdown server Bring it back up Mount another wim Dism /get-mountedwiminfo Mount Dir : c:\Mount Image File : C:\wims\install.wim Image Index : 2 Mounted Read/Write : No Status : Needs Remount Dism /remount-wim /mountdir:c:\mount DISM /Get-MountedWimInfo Mount Dir : C:\Mount Image Index : 4 Mounted Read/Write : Yes Status : Ok Default mounts in a read/write status you can do read-only by: DISM /Mount-Wim /WimFile:<path_to_WIM_file>   {/Index:<image_index> | /Name:<image_name>}   /MountDir:<target_mount_directory> [/readonly] Show the difference between getting the old Imagex /info switch and the new & /Get-WimInfo. Show how easy it is to pipe it to a text file and keep it as documentation after you create an image file. Mounting Wims © 2007 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.

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

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

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

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

OR Through 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

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

Underlying Technologies How DISM Works MDT SCCM DISM.exe Windows Setup DISM – APIs for Clients APIs for Providers DISM Provider I have 2 images mounted and ran: DISM /Get-MountedWimInfo Mounted images: Mount Dir : C:\Mount Image File : C:\wims\install.wim Image Index : 4 Mounted Read/Write : Yes Status : Ok Mount Dir : C:\Mount1 Image File : C:\wims\boot.wim Image Index : 1 The operation completed successfully. Possible Status: OK: The image is mounted with no problems. Needs Remount: The image needs to be remounted due to . This can be caused by rebooting the host system while the image is mounted. Invalid: the image is in an invalid state. You might need to use /Cleanup-Wim on the image. Underlying Technologies

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

Windows 7 & DISM Providers

Server 2008 R2 & DISM

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

demo DISM Options 11/17/2018 8:33 AM If you would like to host your demo on the Virtual Server, please use the myVPC demo slide, not this slide. DISM Options © 2007 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.

In Summary… What DISM can do for you Tools that were replaced 11/17/2018 8:33 AM In Summary… What DISM can do for you Tools that were replaced DISM Commands DISM Architecture DISM Providers DISM Options © 2007 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.

question & answer

Resources Required Slide Speakers, www.microsoft.com/teched 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

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

Required Slide 11/17/2018 8:33 AM © 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. © 2007 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.