网易博客| 空间服务| 博客圈| 搜索圈子
正在加载用户信息...
Regedit.exe 和 Regedt32.exe 的区别
2008年06月05日 10:52:13 作者: loose_went

今天在使用regedit搜索注册表时,突然想起还有另外一个注册表编辑命令regedt32,但是我们不常用,也不太清楚它和regedit到底有什么区别,到microsoft网站搜了一下,找到了一些资料,今天把它贴出来,也共朋友们参考一下。

下面是转自microsoft的信息:

概要

基于 Windows NT 的操作系统包含两个用于编辑注册表的实用工具:Regedit.exe 和 Regedt32.exe。本文描述在各种基于 Windows NT 的操作系统中这两个实用工具之间的区别。

更多信息

Windows NT 3.x

Regedit.exe

Regedit.exe 是 16 位 Windows 操作系统的注册编辑器。它用于修改 Windows 的注册数据库。此数据库位于 Windows 目录下,名称是 Reg.dat。数据库中包含有关 16 位应用程序的信息,文件管理器用它来打开和打印文件。支持对象链接和嵌入 (OLE) 的应用程序也使用此数据库。Windows on Windows (WOW) 和 16 位 Windows 应用程序使用并维护 Reg.dat。WOW 层位于虚拟 DOS 机器 (VDM) 层之上。

Regedit.exe 是 16 位应用程序,Windows NT 中包含它是为了与早先的 16 位应用程序兼容。Regedit 提供了在 Windows NT 下查看 Reg.dat 的方法。您可以在 Windows NT 初始安装完成后的首次登录时将 Reg.dat 数据库文件迁移到 Windows NT 注册表。

Regedt32.exe

Regedt32.exe 是 Windows NT 的配置编辑器。它用于修改 Windows NT 配置数据库或 Windows NT 注册表。此编辑器允许您查看或修改 Windows NT 注册表。它提供了表示注册表各个部分(称为配置单元)的窗口视图。每个窗口显示两部分。左侧是表示注册表项的文件夹。右侧是与所选注册表项关联的值。Regedt32 是一个功能强大的工具。使用它修改注册表值时必须格外小心。注册表中的值丢失或不正确可能导致已安装的 Windows NT 系统无法使用。

Windows NT 4.0 和 Windows 2000

Regedit.exe

Windows NT 4.0 和 Windows 2000 中包含 Regedit.exe 主要是为了使用它的搜索功能。您可以使用 Regedit.exe 更改 Windows NT 4.0 和 Windows 2000 注册表,但并非 Windows NT 4.0 和 Windows 2000 中的所有功能或数据类型都能用它来查看或编辑。

Windows NT 4.0 和 Windows 2000 中包含的 Regedit.exe 版本存在以下局限:

&8226; 无法为注册表项设置安全性。
&8226; 无法查看、编辑或搜索 REG_EXPAND_SZ 和 REG_MULTI_SZ 这两种值数据类型。如果试图查看 REG_EXPAND_SZ 值,Regedit.exe 会将其显示为二进制数据类型。如果试图编辑上述任一数据类型,Regedit.exe 会将其保存为 REG_SZ,而且该数据类型将无法执行预期的功能。
&8226; 您无法将注册表项保存为或还原为配置单元文件。
Microsoft 建议,如果需要在基于 Windows NT 4.0 或 Windows 2000 的计算机上使用 Regedit.exe,则只使用它的搜索功能。

Regedt32.exe

Regedt32.exe 是 Windows NT 4.0 和 Windows 2000 的配置编辑器,用于修改 Windows NT 配置数据库或 Windows NT 注册表。此编辑器允许您查看或修改 Windows NT 注册表。它提供了表示注册表各个部分(称为配置单元)的窗口视图。每个窗口显示两部分。左侧是表示注册表项的文件夹。右侧是与所选注册表项关联的值。Regedt32 是一个功能强大的工具,使用它修改注册表值时必须格外小心。注册表中的值丢失或不正确可能导致已经安装的 Windows 系统无法使用。

注意:与 Regedit.exe 不同,Regedt32.exe 不支持注册项文件 (.reg) 的导入和导出。

Windows XP 和 Windows Server 2003

Regedit.exe

Regedit.exe 是 Windows XP 和 Windows Server 2003 的配置编辑器,用于修改 Windows NT 配置数据库或 Windows NT 注册表。您可以使用此编辑器查看或修改 Windows NT 注册表。它支持以下功能:在注册表项上设置安全性;查看和编辑 REG_EXPAND_SZ 与 REG_MULTI_SZ;保存和还原配置单元文件。左侧是表示注册表项的文件夹。右侧是与所选注册表项关联的值。Regedit 是一个功能强大的工具。使用它修改注册表值时必须格外小心。注册表中的值丢失或不正确可能导致已经安装的 Windows 系统无法使用。

Regedt32.exe

在 Windows XP 和 Windows Server 2003 中,Regedt32.exe 只是一个用来运行 Regedit.exe 的小程序。

这篇文章中的信息适用于:

&8226; Microsoft Windows Server 2003 Standard Edition
&8226; Microsoft Windows Server 2003, 64-Bit Datacenter Edition
&8226; Microsoft Windows Server 2003, Enterprise x64 Edition
&8226; Microsoft Windows Server 2003 Web Edition
&8226; Microsoft Windows Server 2003 Datacenter Edition
&8226; Microsoft Windows Server 2003 Enterprise Edition
&8226; Microsoft Windows Small Business Server 2003 Premium Edition
&8226; Microsoft Windows Small Business Server 2003 Standard Edition
&8226; Microsoft Windows XP Professional Edition
&8226; Microsoft Windows XP Tablet PC Edition
&8226; Microsoft Windows XP Home Edition
&8226; Microsoft Windows 2000 Advanced Server
&8226; Microsoft Windows 2000 Datacenter Server
&8226; Microsoft Windows 2000 Professional Edition
&8226; Microsoft Windows 2000 Server
&8226; Microsoft Windows NT Server 4.0 Standard Edition
&8226; Microsoft Windows NT Server 4.0 Terminal Server(终端服务器)
&8226; Microsoft Windows NT Server 4.0 企业版
&8226; Microsoft Windows NT Workstation 4.0 开发员版
&8226; Microsoft Windows NT Workstation 3.5
&8226; Microsoft Windows NT Workstation 3.51
&8226; Microsoft Windows NT Server 3.5
&8226; Microsoft Windows NT Server 3.51

正在加载博主信息...
正在加载博主日志...
圈内相关日志
正在加载分类相关日志...