- You have two hard disks that are different sizes.
- You install Windows 8.1 on one of them, and then you create an image of it.
- You duplicate the image to the other hard disk drive by using disk duplication software or disk imaging software.
Hotfix informationA supported hotfix is available from Microsoft Support. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.
If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.
Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, go to the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.
PrerequisitesTo apply this hotfix, you must have Windows 8.1 installed.
Restart requirementYou do not have to restart the computer after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace any previously released hotfix.
Information about how to update Windows Recovery imagesWarning This section contains steps that should be performed only by a qualified technical person who is familiar with the Windows recovery mechanism. Serious problems might occur if you perform the steps incorrectly. Incorrect steps can leave the Windows recovery mechanism in an unrecoverable state. Therefore, make sure that you follow these steps carefully. For added protection, perform a complete system backup before you continue. Also, be aware that you may need the Windows installation media that was originally used to install the operating system.
For more information about the procedures and terminology that are used in this article, see the following Microsoft websites:
- Windows Recovery Environment technical reference
- Deployment Image Servicing and Management technical reference
- Deployment Image Servicing and Management command-line options
- REAgentC command-line options
- DiskPart command-line options
- A description of the Diskpart command-line utility
- ATTRIB command-line options
- File attribute constants
- DIR command-line options
Locate and copy an installed version of WinRE.wimIf WinRE.wim is already configured on the system, follow these steps:
- Type the following command to find the location of the installed Windows RE image file (Winre.wim):
- The WinRE.wim file may have the SYSTEM and HIDDEN file attributes set. Use the Attrib command to remove these attributes.
- WinRE.wim may be in a hidden directory or a hidden partition. Use the DIR /A command to find hidden folders and files. If necessary, use the Diskpart utility to unhide the partition.
- Note the location of the WinRE.wim—for example, <WinREdrive>\WindowsRE\<GUIID>.
- Copy the currently installed WinRE.wim file to a local folder such as C:\WinRE. The local folder must differ from the installation location. Make sure that you keep a backup of C:\WinRE\WinRE.wim.
Locate and copy WinRE.wim from the installation mediaIf WinRE.wim is not configured on the system, follow these steps:
- Locate the WinRE.wim file on the Windows installation media that was used to install the operating system.
- Create the following local folders:
- Copy the Install.wim file from Windows installation media to C:\OS_Image. If the installation media is on drive D, the Install.wim file will be located in the D:\sources folder.
- Type the following DISM command to mount the Install.wim file:
DISM /mount-wim /wimfile:C:\OS_Image\Install.wim /index:1 /MountDir:C:\OS_Image\mount
- Type the following command to copy the Windows RE image (Winre.wim) file from the mounted Windows image to C:\WinRE:
Copy C:\OS_image\mount\windows\system32\recovery\WinRE.wim C:\winre\
- Type the following command to unmount the mounted Windows image:
DISM /unmount-wim /MountDir:C:\OS_Image\mount /discard
- Delete the C:\OS_Image and C:\OS_Image\Mount folders together with the Install.wim file that was copied to them.
Insert the KB2930296 hotfix package into WinRE.wim
- Copy the KB2930296 hotfix package to the C:\WindowsUpdate folder.
- Create the following local folder:
- Type the following command to mount the Winre.wim file:
DISM /mount-wim /wimfile:C:\winre\WinRE.wim /index:1 /MountDir:C:\winre\mount
- Type the following command to insert the security package into the mounted Winre.wim file:
DISM /image:C:\Winre\mount /Add-Package /Packagepath:C:\WindowsUpdate
- Type the following command to verify that the security package was integrated successfully:
DISM /image:C:\winre\mount /Get-Packages
- Type the following command to commit the changes to the Winre.wim file:
DISM /unmount-wim /MountDir:C:\Winre\mount /commit
Deploy or copy a modified WinRE.wimIf WinRE.wim is already installed and configured, follow these steps:
- Move C:\WinRE\WinRE.wim to the folder where WinRE.wim was located earlier. For example, you might have to move it to <WinREdrive>\WindowsRE\<GUIID>. Overwrite the existing WinRE.wim if you are prompted about this.
- Use the Attrib command to restore the SYSTEM and HIDDEN file attributes to the previous settings.
- If <WinREdrive> was previously hidden, use the Diskpart utility to hide the partition again.
- Deploy and configure the customized Windows RE image if it was not located on the installation media.
- The C:\WinRe and C:\WinRE\Mount folders can now be removed.
Validate and roll back if necessary
- Verify that you can start in the modified WINRE environment and that you can perform previously configured recovery functions.
- If validation fails, make sure that you revert the changes that were made. To do this, follow these steps:
- Unconfigure and delete the WinRE.wim file if it was copied from installation media.
- Replace the modified WinRE.wim with the backup copy if you modified an already configured WinRE.wim file.
Article ID: 2930296 - Last Review: 12 Mar 2014 - Revision: 1