Your browser (Internet Explorer 6) is out of date. It has known security flaws and may not display all features of this and other websites. Learn how to update your browser.

Deployment Image Servicing Management (DISM) – Removing An Injected Update From The Image

The following commands are used to identify and remove an update that has been injected into the image.

The DISM commands need to be executed from the Deployment Tools Command Prompt. This is part of the Windows AIK.


First, we need to get some information on the image so we can properly mount the image using DISM.

Dism /Get-WIMInfo /WimFile:e:\packages\osd\os_image\w7-x64-b2.wim


Now that we have the image name and/or index, we can properly mount the image.

Dism /Mount-WIM /WimFile:e:\packages\osd\os_image\w7-x64-b2.wim /Name:"W7-X64-B2Cdrive" /MountDir:C:\mount


Next, we want to output a list of the installed updates so we can get the update unique ID.

Dism /Image:C:\mount /Get-Packages >c:\featurelist.txt


After dumping the update list to the featurelist.txt, open it and search for the update you want to remove. We need to find the full name in order to remove it. (We searched for the KB ID in this example)


Once you have the unique ID for the update, we can then issue the command to remove the update from the image.

DISM /Image:C:\mount /Remove-Package /PackageName:Package_for_KB2661254~31bf385ad364e35~amd64~~


Once the update has been removed, we can unmount the image and commit (save) our changes.

Dism /Unmount-WIM /MountDir:C:\mount /Commit


Now that the update has been removed from the image, the ConfigMgr Distribution Points would need to be updated to reflect the changes.


Advanced Format Hard Drives–Automatically Patching WinPE 3.0 With The Microsoft Deployment Toolkit 2010 (MDT)

In order to support the new 4k advanced format drives, we need to apply a hotfix to WinPE 3.0. 

First, download the hotfix (KB982018) here.

Once you have downloaded the hotfix and extracted the files, you should have 2 files. (One for each platform)


In your Deployment Workbench, create a new folder under the “Packages” node called “Windows 7”.


Import the hotfixes into this folder.


Add this folder to your Selection Profiles for WinPE. (It is highly recommend that you use a Selection Profile for driver injection for WinPE).  Modify both your x86 and x64 Selection Profiles.


Ensure your boot images are configured to use the appropriate Selection Profile.


Update your Deployment Share to incorporate the hotfix into your boot images.


Enjoy your WinPE 3.0 Advanced Format ready boot images!


MDT 2010 and Windows AIK Supplement Revisited

Michael Niehaus created a new post on WAIK 3.1 after some discussions in the myITforum MDT/OSD email list. 

Read his original post here.

In my previous post titled Issue with MDT 2010 Update 1 and Windows AIK for Windows 7 SP1 Supplement, I mentioned some challenges if you wanted to use Windows PE 3.1 and still use Windows RE from a Windows 7 SP1 BOOT.WIM file.  One possibility proposed for dealing with this is to manually modify the Windows AIK version so that MDT knows a new version has been installed.  That sounds easy enough, renaming HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ComponentStudio\6.1.7600.16385 to instead be HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ComponentStudio\6.1.7601.17514.

I did try this out, and encountered two issues to note:

  • Deployment Workbench doesn’t really like the change.  After changing this key, you’ll get warnings from Deployment Workbench saying that the version of WIMGAPI (6.1.7600.16386) is different than the version of Windows AIK (6.1.7601.17514).  There’s no workaround for this – you would just need to live with the annoyance of the warning, which will be displayed any time Deployment Workbench needs to use Windows AIK components.
  • The Windows AIK team can’t support the change, primarily because it’s not something they have tested to see if there are any other unexpected side effects.

So while the workaround of editing the registry key may work, we can’t really recommend it.

For a longer-term solution, we have modified the Deployment Workbench code in MDT 20102 Beta 1 (see if you missed that announcement) so that it checks the version of the Windows AIK WINPE.WIM file, rather than checking the Windows AIK version in the registry.  As a result, MDT 2012’s behavior is:

  • Windows PE 3.0 WINPE.WIM present in the Windows AIK folder and Windows 7 RTM or Server 2008 R2 RTM source files in the deployment share?  MDT will create a boot image from the Windows 7 RTM BOOT.WIM and it will include Windows RE.
  • Windows PE 3.1 WINPE.WIM present in the Windows AIK folder and Windows 7 SP1 or Server 2008 R2 SP1 source files in the deployment share?  MDT will create a boot image from the Windows 7 SP1 BOOT.WIM and it will include Windows RE.
  • Any other combination?  MDT will create a boot image from the Windows AIK WINPE.WIM file and it won’t contain Windows RE.

Advanced Format Hard Drives – The “Low-Down” (Summary of Resources)

The new advanced format drives are coming and there has been a lot of confusion on what steps are needed to support them. I’m going to try and present the information available in the simplest way possible. I will also update the resources on the bottom of the post as new information is presented or relayed to me.

Hope it helps.


WinPE 3.0: Apply 982018

WinPE 3.1: Support already present


Windows 7 RTM: Apply 982018

Windows 7 SP1: Not required, but recommended to apply 982018, it’s a “recommended” update via Windows Update.


KB982018 Windows PE/Windows 7 hotfix

KB2510009 Information about Microsoft support policy for large sector drives in Windows (XP is NOT supported)

The Dell guys have done a really nice job of putting together a bunch of really good information. Be sure to check out this link, they are adding new content as it’s available!  Deploying Dell systems with Advanced Format Hard Drives

Xtreme Consulting: New Tool: Advanced Format Drives

Dell TechCenter: Are you ready for Advanced Format (AF) Hard Drives?

Michael Niehaus: MDT 2012 Beta 1: UEFI Support

HP – Preparing Advanced Format hard drives for Microsoft Windows installations on HP Business Notebook PCs and Desktop PCs

Phil Schwan: Quickly Update WinPE 3.0 Boot Images to support AFHD (script)

Chris Nackers: Automatically Patching WinPE 3.0 with MDT 2010


Windows AIK for Windows 7 SP1 Released

Michael Niehaus has a great post over his blog discussing the new SP1/WAIK release.

Read the full post here.

Some of you probably noticed a new download showed up today:

The Windows® Automated Installation Kit (AIK) for Windows® 7 SP1

Be sure to read the “readme” that goes along with this at:

Windows Automated Installation Kit for Windows 7 Readme

A quick Q&A that I assembled from information in this readme and our own MDT testing:

Q:  Do I have to use this to deploy Windows 7 SP1 and Windows Server 2008 SP1?

This supplement is optional. If you do not need to modify the SP1 boot.wim and winre.wim files, you can continue to use the Windows 7 RTM tools, including WinPE 3.0, without installing this supplement.  (So MDT and ConfigMgr can deploy WIndows 7 SP1 just fine using Windows PE 3.0.)

Q:  How do I install this on a machine currently running the Windows 7 RTM version of Window AIK?

There’s no installer provided with this.  You need to extract the contents of the download and then XCOPY the files over the top of your existing Windows AIK installation.  See the details in the readme.

Q:  What’s changed in this Windows AIK supplement?
  • The number in the Version registry value is 3.1 to reflect the new Windows PE version.
  • The Windows PE 3.1 base image contains Remote Network Driver Interface Specification (RNDIS) binaries. These binaries are also available for Windows PE 3.0 as a hotfix. For more information, see Knowledge Base Article ID: 979265 (
  • Windows PE 3.1 includes 802.1x binaries as an optional component. The file name of this package is This optional component is also available for Windows PE 3.0 as a hotfix. For more information, see Knowledge Base Article ID 972831(
  • The Windows PE 3.1 base image contains fixes that are related to 4k/512e drive support. These fixes are also available for Windows PE 3.0 as a hotfix. For more information, see Knowledge Base Article ID: 982018 (
  • Windows PE 3.1 includes bug fixes that are related to the Windows PE version that is included with Windows 7 SP1.
Q:  Does Windows 7 SP1 and Windows PE 3.1 work with MDT 2010 Update 1?

Yes, this is fully supported.  (There is one small issue involving Windows 7 SP1, Windows PE 3.1, and having Windows RE included in your MDT-generated Lite Touch boot images, but if you don’t mind Windows RE not being there, you don’t need to worry about this.)

Q:  Does Configuration Manager 2007 SP2 support Windows 7 SP1 and Windows PE 3.1?

The Configuration Manager team is still testing Windows 7 SP1 and Windows PE 3.1, so this is unsupported until that testing is completed.

Q:  Does this supplement include the recently-released USMT 4 update for Office 2010 support?

No, you need to download and apply that one ( separately.