无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 3979|回复: 5
打印 上一主题 下一主题

imageX小知识(附中英文详细使用说明^_^)

[复制链接]
跳转到指定楼层
1#
发表于 2007-5-22 18:57:52 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
ImageX 是一种命令行工具,它使原始设备制造商 (OEM) 和企业可以捕获、修改和应用基于文件的磁盘映像,以进行快速部署。ImageX 可以使用 Windows 映像 (.wim) 文件复制到网络,或者还可以使用其他利用 .wim 映像的技术,如 Windows 安装程序、Windows 部署服务 (Windows DS) 以及系统管理服务器 (SMS) 操作系统功能部署包。本主题包括以下内容:
  • ImageX 的优点
  • 常见 ImageX 方案
  • ImageX 的限制
  • ImageX 的依赖性
  • ImageX 的相关技术
ImageX 的优点基于扇区的映像的限制促使 Microsoft 开发出 ImageX 及其附带的 Windows 映像 (.wim) 文件格式。可以使用 ImageX 从同一工具中创建一个映像、修改该映像(而无须提取及重新创建映像)以及将映像最终部署到您的环境。由于 ImageX 在文件级别进行工作,因此它提供了以下几种功能:
  • 更具灵活性和可通过部署的介质进行控制。
  • 快速提取映像以缩短安装时间。
  • 由于“单实例”而缩减了映像大小,“单实例”意味着将文件数据与路径信息分开存储。这样可以一次存储存位于多个路径或多个映像中的文件,并通过映像共享这些文件。这样可以一次存储位于多个路径或多个映像中的文件,并在映像间共享这些文件。
  • 非破坏性映像应用程序。ImageX 不会对驱动器的内容执行完全覆盖操作。可以选择性添加和删除信息。
  • 跨 Windows 支持的任何平台上工作的功能。
  • 两种不同的压缩算法(快速压缩和最大压缩)可进一步缩减映像的大小。
  • 将映像文件视为目录的功能。例如,可以通过文件管理工具(如 Windows 资源管理器)添加、复制、粘贴和删除文件。
许多 OEM 和企业都需要尽快部署和安装 Windows,包括所有相关的更新、应用程序和设置。缩减的部署和安装时间降低了 OEM 的制造开销,并且可以降低企业部署的开销和计划风险。
过去,当 OEM 和企业需要将安装 Windows 所需时间量降到最低时,他们会使用基于扇区的映像格式或 xcopy 命令将 Windows 安装复制到新硬件上。
基于扇区的映像格式和 xcopy 命令都具有一些限制。基于扇区的映像:
  • 要求目标计算机使用与主计算机相同的硬件抽象层 (HAL)。
  • 要求目标计算机从主计算机启动的相同大容量存储控制器启动。
  • 会破坏目标计算机硬盘驱动器的现有内容,导致 Windows 部署方案复杂化。
  • 会精确复制硬盘驱动器;因此,映像只能在与主计算机分区类型相同的分区上进行部署,并且其分区不小于主计算机上分区的大小。
  • 不能直接修改映像文件。
  • 可能需要购买第三方应用程序和服务。

常见 ImageX 方案ImageX 是一种命令行工具,它可以使用操作系统映像(包括应用程序)中共享的映像格式来创建、修改和部署映像。以下方案与 ImageX 过程十分相符。
创建映像以进行快速部署ImageX 的最常见方案是从网络位置捕获和应用映像,以进行快速部署。此方案要求将技术人员计算机启动到 Windows PE 中、使用 ImageX 捕获映像、将映像放置于网络共享上,然后将映像应用于目标计算机。

修改映像文件ImageX 的另一种常见方案是自定义现有映像,包括更新文件和文件夹。此方案使用 Windows 映像文件系统筛选器(WIM FS 筛选器)驱动程序和文件管理工具(如 Windows 资源管理器)从映像添加、删除、编辑和复制文件。


ImageX 的限制ImageX 具有以下限制:
  • 仅可将 ImageX 用于捕获及应用操作系统的完整版本和软件应用程序。不能使用 ImageX 来捕获及应用操作系统或应用程序的升级。
  • 仅可使用格式化的 Windows 映像 (.wim) 文件与 ImageX 进行交互。不能使用 ImageX 处理以前通过第三方映像工具创建的映像。
  • 对于 .wim 文件仅可使用一种压缩类型。附加的映像文件必须使用与初始捕获相同的压缩类型。
  • 仅可从带有 Service Pack 2 (SP2) 的 Microsoft Windows XP、带有 Service Pack 1 (SP1) 的 Microsoft Windows Server 2003 或 Windows Vista 装载映像。

    注意:虽然 ImageX 无法从运行其他任何操作系统的计算机装载映像,但是它可以捕获和应用任何 Windows Vista、Windows Server 2003、Windows XP 和 Windows 2000 Professional 版本的映像。
  • 仅可在 NTFS 文件系统上使用读/写权限来装载 .wim 文件。这样可避免 FAT 文件系统强制设置的 2-GB 的限制,也可防止 FAT 或其他非 NTFS 系统可能造成的数据丢失。

    注意:虽然 ImageX 只能从 NTFS 文件系统使用读/写权限来装载 .wim 文件,但是可以从 NTFS、FAT、ISO 和 UDF 文件系统使用只读权限来装载映像。当映像文件以只读权限装载时,无法保存对此文件的更改。
  • 必须使用其他 Microsoft 工具(如 Diskpart 和 Format)为卷映像准备磁盘。如果使用 ImageX 部署 Sysprep 映像,则必须将映像部署到相同的卷。

ImageX 的依赖性ImageX 具有以下依赖性:
  • 使用 Windows 系统映像管理器 (Windows SIM),可以创建一个以后可用 ImageX 来捕获的安装映像。
  • 通过使用 Sysprep,可以准备 ImageX 要捕获的映像。在主计算机上运行 Sysprep 可删除所有用户特定的以及计算机特定的设置和数据、将产品激活时钟重置到 30 天,以及在重新启动时启用新的安全标识符 (SID) 创建操作。运行 Sysprep 之后,可以将主计算机启动进入 Windows 预安装环境 (Windows PE) 以捕获映像。如果使用 ImageX 来部署 Sysprep 映像,则必须将此映像部署到相同的卷。
  • 必须将技术人员计算机启动进入 Windows PE 环境。从 Windows PE 中,可以运行 ImageX 以捕获映像。创建映像之后,请启动技术人员计算机、安装 WIM FS 筛选器驱动程序、编辑映像,然后从网络位置应用此映像。

ImageX 的相关技术ImageX 与以下技术有关。
Windows 部署服务 (Windows DS)如果不使用 ImageX 进行部署,可以使用 Windows 部署服务 (Windows DS)。Windows DS 使公司可以使用 Windows PE 和 Windows DS 服务器对最新的操作系统和其他 .wim 文件进行远程管理和部署。此部署方案可以完全无人参与,并且可对其进行自定义和升级。
注意:Windows DS 替换了现有的远程操作系统安装 (RIS) 部署技术

Windows 预安装环境 (Windows PE)Windows 预安装环境 (Windows PE) 是一个带有受限服务的最小 Win32 操作系统。Windows PE 提供了一种环境,ImageX 可以从该环境捕获和应用映像。Windows PE 和 ImageX 是用于 Windows 部署的主要工具。

系统管理服务器 (SMS) 操作系统部署功能包如果不使用 ImageX 进行部署,可以使用系统管理服务器 (SMS) 操作系统部署功能包。SMS 操作系统部署功能包使公司能够以可自定义、集中和可升级的方式部署最新的操作系统和应用程序。

中文详细使用说明:
http://218.58.188.198:82/u/193/archives/2007/4801.html

[ 本帖最后由 armymangl 于 2007-5-23 12:29 AM 编辑 ]
2#
发表于 2007-5-22 20:27:22 | 只看该作者
imageX小知识,好!正需要呢!
回复

使用道具 举报

3#
发表于 2007-5-22 20:47:03 | 只看该作者
好知识,顶上去!!!
回复

使用道具 举报

4#
 楼主| 发表于 2007-5-22 22:47:09 | 只看该作者
带Imagex的WinPE光盘制作及镜像的捕获和恢复

http://218.85.133.140/viewthread.php?tid=91497
回复

使用道具 举报

5#
发表于 2007-5-22 22:49:44 | 只看该作者
想用imagex.exe来备份、恢复系统,但是微软不建议这么用,说存在一些问题
The following are the issues when you use the ImageX.exe tool as a backup mechanism:
•        Extended attributes are lost.
•        The ImageX.exe tool only applies reparse points that are symbolic links or junctions.
•        Sparse files on the system are captured and applied. However, the sparse files are no longer sparse after they have been applied.
•        Object IDs on files are lost in the capture process or in the apply process.
看不懂这些问题都是什么问题
回复

使用道具 举报

6#
 楼主| 发表于 2007-5-22 23:10:23 | 只看该作者

imagex帮助文件,从imagex /?而来

ImageX Tool for Windows

IMAGEX [Flags] /Operation [Parameter List]

  Operation [ APPEND | APPLY   | CAPTURE | DELETE |
              DIR    | EXPORT  | INFO    | SPLIT  |
              MOUNT  | MOUNTRW | UNMOUNT ]

For help on a specific operation type:
  IMAGEX /Operation /?

Examples:
  IMAGEX /APPEND /?
  IMAGEX /APPLY /?
  IMAGEX /CAPTURE /?
  IMAGEX /DELETE /?
  IMAGEX /DIR /?
  IMAGEX /EXPORT /?
  IMAGEX /INFO /?
  IMAGEX /SPLIT /?
  IMAGEX /MOUNT /?
  IMAGEX /MOUNTRW /?
  IMAGEX /UNMOUNT /?




IMAGEX [FLAGS] /APPEND image_path image_file "image_name" ["description"]

Appends a volume image to an existing image (WIM) file

  image_path - The path of the volume image to be captured.
  image_file - The path of the existing WIM file.
  image_name - The unique name for the image being appended to the WIM file.
  description - The text that provides additional reference information.

Accepted FLAGS:

  /BOOT
  Marks a volume image as bootable. Available for Windows PE images only.

  /CHECK
  Enables WIM integrity checking. If not provided, existing checks are removed.

  /CONFIG configuration_file.ini
  Enables use of a configuration file for exclusion and compression options.

  configuration_file.ini - The path to the configuration file.

  /SCROLL
  Scrolls output for redirection.

  /VERIFY
  Enables file resource verification.

Example:
  imagex /append d: d:\imaging\data.wim "Drive D"


IMAGEX [FLAGS] /APPLY image_file image_number | image_name image_path

Applies a volume image to a specified path.

  image_file - The path of the WIM file containing the volume image.
  image_number - The number that identifies the image within the WIM file.
  image_name - The name that identifies the image within the WIM file.
  image_path - The path where the image will be applied.

Accepted FLAGS:

  /CHECK
  Verifies integrity data in WIM file before application.

  /REF splitwim2.swm
  Enables the reference of split WIM (SWM) files.

  splitwim2.swm - Path to additional split file(s). Wild cards are accepted.

  /SCROLL
  Scrolls output for redirection.

  /VERIFY
  Enables file resource verification.

Example:
  imagex /apply d:\imaging\data.wim 1 d:\New_Path


IMAGEX [FLAGS] /CAPTURE image_path image_file "image_name" ["description"]

Captures a volume image from a drive to a new WIM file.

  image_path - The path to the volume image to be captured.
  image_file - The path of the new WIM file.
  image_name - The unique name for the image being captured.
  description - The text that provides additional reference information.

Accepted FLAGS:

  /BOOT
  Marks a volume image as bootable. Available for Windows PE images only.

  /CHECK
  Enables WIM integrity checking. Flag must be supplied during updates.

  /COMPRESS [maximum | fast | none]
  Specifies the type of compression used for the initial capture operation.

  /CONFIG configuration_file.ini
  Enables use of a configuration file for exclusion and compression options.

  configuration_file.ini - The path to the configuration file.

  /NORPFIX
  Disables reparse point tag fixup. If not provided, reparse points that
  resolve to paths outside of image_path will not be captured

  /SCROLL
  Scrolls output for redirection.

  /VERIFY
  Enables file resource verification.

Example:
  imagex /capture d: d:\imaging\data.wim "Drive D"



IMAGEX [FLAGS] /DELETE image_file image_number | image_name

Deletes the specified volume image from a WIM file with multiple volume images.

  image_file - The path of the WIM file containing the specified image.
  image_number - The number that identifies the image within the WIM file.
  image_name - The name that references the image within the WIM file.

Accepted FLAGS:

  /CHECK
  Enables WIM integrity checking. If not provided, existing checks are removed.

Example:
  imagex /delete d:\imaging\data.wim 1


IMAGEX /DIR image_file image_number | image_name

Displays a list of the files and folders within a specified volume image.

  image_file - The path of the WIM file containing the specified image.
  image_number - The number that identifies the image within the WIM file.
  image_name - The name that identifies the image within the WIM file.

Example:
  imagex /dir d:\imaging\data.wim 1


IMAGEX [FLAGS] /EXPORT src_file src_number | src_name dest_file dest_name

Exports a copy of the specified image to another WIM file.

  src_file - The path of the WIM file that contains the image to be copied.
  src_number - The number that identifies the image within the source WIM.
  src_name - The name that identifies the image within the source WIM.
  dest_file - The path of the WIM file that will receive the image copy.
  dest_name - The unique name for the image in the destination WIM.

Accepted FLAGS:

  /BOOT
  Marks a volume image as bootable. Available for Windows PE images only.

  /CHECK
  Enables WIM integrity checking. If not provided, existing checks are removed.

  /COMPRESS [maximum | fast | none]
  Specifies the type of compression used when exporting to a new WIM file.

  /REF splitwim2.swm
  Enables the reference of split WIM (SWM) files.

  splitwim2.swm - Path to additional split file(s). Wild cards are accepted.

Comments:
  If src_name is "*" then all images are exported to dest_file.

Example:
  imagex /export d:\imaging\data.wim 1 d:\imaging\newfile.wim "Exported Image"

IMAGEX [FLAGS] /INFO img_file [img_number | img_name] [new_name] [new_desc]

Returns the stored XML descriptions for the specified WIM or image.

  img_file - The path of the WIM file to be queried for XML information.
  img_number - The number that identifies an image within the WIM file.
  img_name - The name that identifies an image within the WIM file.
  new_name - The new unique name for the specified image.
  new_desc - The new description for the specified image.

Accepted FLAGS:

  /BOOT
  Marks a volume image as bootable. Available for Windows PE images only.

  /CHECK
  If not provided, existing checks are removed during updates.

  /XML
  Returns the output as well-formed XML.

Example:
  imagex /info d:\imaging\data.wim


IMAGEX [FLAGS] /SPLIT image_file dest_file size

Splits an existing WIM file into multiple read-only split WIM (SWM) files.

  image_file - The path of the WIM file to split.
  dest_file - The path of the split file(s).
  size - The maximum size in megabytes (MB) for each created file.

Accepted FLAGS:

  /CHECK
  Enables WIM integrity checking. If not provided, existing checks are removed.

Example:
  imagex /split d:\imaging\data.wim d:\imaging\splitdata.swm 600


IMAGEX /MOUNT [image_file image_number | image_name image_path]

Mounts a WIM image with read-only permission, to a specified path.

  image_file - The path of the WIM file containing the specified image.
  image_number - The number that identifies the image within the WIM file.
  image_name - The name that identifies the image within the WIM file.
  image_path - The path where the specified image will be mounted.

Without FLAGS:

  Lists mounted images.

Accepted FLAGS:

  /CHECK
  Verifies integrity data in WIM file.

Example:
  imagex /mount d:\imaging\data.wim 2 c:\mounted_images


IMAGEX [FLAGS] /MOUNTRW [image_file image_number | image_name image_path]

Mounts a WIM image with read/write permission, to a specified path.

  image_file - The path of the WIM file containing the specified image.
  image_number - The number that identifies the image within the WIM file.
  image_name - The name that identifies the image within the WIM file.
  image_path - The path where the specified image will be mounted.

Without FLAGS:

  Lists mounted images.

Accepted FLAGS:

  /CHECK
  Enables WIM integrity checking. If not provided, existing checks are removed.

Example:
  imagex /mountrw d:\imaging\data.wim 2 c:\mounted_images


IMAGEX /UNMOUNT [/COMMIT] [image_path]

Unmounts a WIM image from the specified path.

  image_path - The path to be unmounted.

Without FLAGS:

  Lists mounted images.

Accepted FLAGS:

  /COMMIT
  Saves changes to the mounted WIM file. If not specified changes are discarded.

Example:
  imagex /unmount /commit c:\mounted_images
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-2-26 06:43

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表