如何在setup / p之后更改OrganizationName

我正在克隆我们的主要AD DC来创build一个开发环境。 我已经使用ldifde从AD导出相关数据,但为了将其导入新服务器,我需要安装Exchange模式。

我获得了Exchange安装媒体,并做到了这一点:

 Y:\Applications\Current Windows\Exchange 2010>Setup /ps [blah, blah, blah... success] Y:\Applications\Current Windows\Exchange 2010>Setup /p /OrganizationName:"Computer Science" Welcome to Microsoft Exchange Server 2010 Unattended Setup By continuing the installation process, you agree to the license terms of Microsoft Exchange Server 2010. If you don't accept these license terms, please cancel the installation. To review these license terms, please go to http://go.microsoft.com/fwlink/?LinkId=150127&clcid=0x409/ Press any key to cancel setup................ No key presses were detected. Setup will continue. Preparing Exchange Setup Copying Setup Files ......................... COMPLETED No server roles will be installed Performing Microsoft Exchange Server Prerequisite Check Organization Checks ......................... COMPLETED Setup is going to prepare the organization for Exchange 2010 by using 'Setup /P repareAD'. No Exchange 2007 server roles have been detected in this topology. Af ter this operation, you will not be able to install any Exchange 2007 server rol es. Configuring Microsoft Exchange Server Organization Preparation ......................... COMPLETED The Microsoft Exchange Server setup operation completed successfully. 

但是,我得到了OrganizationName错误,我想将其更改为正确的匹配导出的AD数据:

 Y:\Applications\Current Windows\Exchange 2010>Setup /p /OrganizationName:"Computer Science Department" Welcome to Microsoft Exchange Server 2010 Unattended Setup By continuing the installation process, you agree to the license terms of Microsoft Exchange Server 2010. If you don't accept these license terms, please cancel the installation. To review these license terms, please go to http://go.microsoft.com/fwlink/?LinkId=150127&clcid=0x409/ Press any key to cancel setup................ No key presses were detected. Setup will continue. Preparing Exchange Setup Copying Setup Files ......................... COMPLETED No server roles will be installed Exchange organization name cannot be specified. There already exists an Exchang e organization with name 'Computer Science'. Exchange Server setup encountered an error. Y:\Applications\Current Windows\Exchange 2010> 

显然,它失败了。 如何更改Exchange架构OrganizationName?

如果Exchange没有真正安装在任何地方(或者如果它在那里,但是您可以完全丢失它),则可以从Active Directory中删除所有与Exchange相关的信息,然后再次运行准备步骤。

您需要删除Active Directory林的“configuration”分区中的Exchange组织对象; 最简单的方法是启动Active Directory站点和服务控制台,启用查看“服务”节点(默认为禁用),然后删除名为“Microsoft Exchange”的节点(在其下您将有另一个节点代表你的组织)。 您也可以使用ADSIEdit并连接到configuration目录分区来做同样的事情。

您还应该从Active Directory中删除OU“Microsoft Exchange安全组”和“Microsoft Exchange系统对象”。