Image készítés Windows AIK segítségével 4/4/2017 8:20 AM Image készítés Windows AIK segítségével Pellek Krisztián Microsoft Corporation © 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.
Témáink Image készítés forgatókönyvei Image Deployment és management (DISM) újdonságai DISM parancssori opcióo Image készítés Windows AIK segítségével
Image készítési lehetőségek Offline image Windows PE Windows 7 Service an Online Image … mindegyikben segítségünkre lehet a DISM The scenarios that we will cover in this module are Servicing and Offline Image and Servicing an Online Image. DISM is used to service both offline and online images. DISM can service Windows PE and Windows 7 offline and can service Windows 7 online. Offline means that the image is mounted to a directory and all operations are performed against that mounted image Online means that the actions are performed within the running Operating System
Mi az a DISM? Parancssori tool Egy szolgáltatás Windows image készítésére Windows PE előkészítésére is használható Imagek fel/le csatlakoztatására Mire érdemes használni? Deployment Image Servicing and Management (DISM.exe) is a command-line tool that can be used to service a Windows® image or to prepare a Windows Preinstallation Environment (Windows PE) image. It replaces Package Manager (Pkgmgr.exe), PEimg, and Intlcfg that were included in Windows Vista®. The functionality that was included in these tools is now consolidated in one tool (DISM.exe), and new functionality has been added to improve the experience for offline servicing. Benefits DISM can be used to service Windows Vista® with Service Pack 1 (SP1) and Windows Server® 2008. It provides the same functionality that Package Manager provided. DISM provides additional functionality when used with Windows® 7 and Windows Server® 2008 R2. You can use DISM to: Add, remove, and enumerate packages. Add, remove, and enumerate drivers. Enable or disable Windows features. Apply changes based on the offlineServicing section of an Unattend.xml answer file. Configure international settings. Upgrade a Windows image to a different edition. Prepare a Windows PE image. Take advantage of better logging. Service earlier versions of Windows such as Windows Vista with SP1 and Windows Server 2008. Service all platforms (32-bit, 64-bit, and Itanium). Service a 32-bit image from a 64-bit host, and service a 64-bit image from a 32-bit host. For more information, see the "Limitations" section later this topic. Make use of old Package Manager scripts.
DISM Features Servicing Windows 7 Images 4/4/2017 8:20 AM DISM Features Servicing Windows 7 Images Feature Leírás Csomagkezelő szolgáltatások Hozzáadhatunk/elvehetünk csomagokat és featureöket Felügyelet nélküli beállításokat alkalmazhatunk Windows update szolgáltatások Hozzáadhatunk .msu fájlokat Driver szolgáltatások Hozzáadhatunk/kivehetünk harmadik gyártótól származó INF alapú drivereket Windows verziókhoz kapcsolódó szolgáltatások Magasabb verzióra upgradelhetünk Beállíthatunk termék kulcsot Configuring international settings Configure language, locale, font, and input settings Replace IntlCfg.exe Képfájl auditálás List information about: Packages and features (updates) Drivers Applications and application patches(2) Windows editions International settings This table lists the features that DISM can perform against a Windows 7 image. Note the stipulations marked as (1) and (2) on when those scenarios can be run. We will cover the specific command lines later in the module Available when servicing an offline Windows 7 or Windows Server 2008 R2 image only. Supported when DISM is run on a full Windows OS host and servicing an offline Windows 7 or Windows Server 2008 R2 image only. Microsoft Confidential © 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 Features Servicing Windows PE 3.0 Images – Offline Only 4/4/2017 8:20 AM DISM Features Servicing Windows PE 3.0 Images – Offline Only Feature Leírás Package Manager equivalent Add/remove packages and features (updates) Apply unattended settings Driver servicing Add/remove third-party INF-based driver files Windows PE servicing Configure Windows PE settings Replace PEImg.exe Configuring international settings Configure language, locale, font, and input settings Replace IntlCfg.exe Image auditing List information about: Packages and features (updates) Drivers International settings Windows PE configuration settings Here are the features for servicing Windows PE 3.0. Note that these will only run offline Microsoft Confidential © 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.
Image mount DISM használatával DISM /mount-wim /WimFile:<path_to_image.wim> /Index:<image_index> /Name:<image_name> /MountDir:<path_to_mount_directory> /ReadOnly Például: Dism /Mount-Wim /WimFile:C:\test\images\install.wim /index:1 /MountDir:C:\test\offline /ReadOnly
Image leválasztása DISM -el DISM /unmount-wim /MountDir:<path_to_mount_directory> {/Commit | /Discard} Például: Dism /Unmount-Wim /MountDir:C:\test\offline /commit
Driverek hozzáadása/eltávolítása Driver hozzáadása az imagehez Dism /image:C:\test\offline /Add-Driver /driver:C:\test\drivers /recurse Dism /image:C:\test\offline /Add-Driver /driver:C:\test\drivers\mydriver.INF /ForceUnsigned Driver eltávolítása Dism /image: C:\test\offline /Remove-Driver /driver:oem1.inf /driver:oem2.inf This shows an example of how to add a group of drivers through the Recurse option and how to add an individual driver that is unsigned. This also shows how to remove a driver from an image. Note the INF name is based on the INF after the driver is installed into the Driver Repository
Auditing an Image Information about the Image Dism /Get-WimInfo /WimFile:C:\test\offline\install.wim /index:1 Dism /Get-MountedWimInfo List all third party drivers Dism /image:C:\test\offline /Get-Drivers Dism /online /Get-Drivers Information about a specific driver Dism /image:C:\test\offline /Get-DriverInfo /driver:<path_to_driver.inf All Windows Installer Applications Dism /image:C:\test\offline /Get-Apps
Image Engineering Add Package to an offline Windows PE Image Mount the Windows 7 Image Add/Remove a Device Drive to a Windows 7 Image Add a package (update) to a Windows 7 Image Add a Language Pack Enable/Disable Windows Features Audit Drivers, Packages from a running Operating System
4/4/2017 8:20 AM © 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. © 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.