This file contains the file streams that are associated with the images. Each image group has an associated Res.rwm file.
This file contains the image metadata that describes the files, the folders, and the permission structures that make up the image.
- Differentiate the resource-only .wim file from the metadata.
- Speed up the image enumeration process. Because image enumeration works only on .wim files, the Res.rwm file is not used. The data in the Res.rwm file and in the Image_name.wim file is single-instanced and compressed.
To edit the Image_Name.wim file, follow these steps:
- Click Start, point to All Programs, click Administrative Tools, and then click Windows Deployment Services.
- In the WDS Management Console, right-click the image that you want to change, and then click Disable.
Note When you disable the image, new clients cannot view the image, and the image is not enumerated by any clients. Existing clients that are already installing the image can continue to install the image. However, you cannot replace the image until all existing installations are completed.
- Right-click the image, and then click Export to export the image to a single .wim file.
- In the Export As dialog box, specify a location for the single .wim file.
- Click Start, point to All Programs, click Microsoft Windows AIK, and then click Windows PE Tools Command Prompt.
Note For more information about how to create the Windows Preinstallation Environment (Windows PE) build environment, see the "Windows PE Build Environment" section in The Windows Preinstallation Environment (Windows PE) User's Guide.
- At the command prompt, type the following command to create the Windows PE build environment:copype.cmd x86 destination_folder_nameNote destination_folder_name is the folder to which you want to extract the image.
This command creates a build environment in the folder that you specify. The command also updates the build path to include the path of the following tools:
- At the command prompt, type the following command to mount the exported image:imagex /mountrw image_file_pathimage_numbermounted_image_file_pathNote To change the Image_Name.wim image file, you must have Mounting Read and Write (mountrw) permissions for the mounted image.
- After the image is successfully mounted, you can make the changes that you want. For example, you can add, remove, or replace any files that exist in the mounted image.
- After you have made changes, you must unmount the image, and then you must commit the changes. To do this, type the following command at the command prompt:ImageX /unmount /commit mounted_image_file_path
- In the WDS Management Console, select one of the following options:
- Right-click the image, and then click Replace to replace the existing image with the updated copy.
- Right-click the image group, and then click Add to add the image as a new image.
Article ID: 936922 - Last Review: Jan 4, 2008 - Revision: 1