jump to navigation

How to Use ExSetup.exe to modify an Exchange Installation March 30, 2006

Posted by Doug Blankenship in Exchange 12, Uncategorized.
trackback

I added the client access role and found out some interesting things along the way. To upgrade the role you have to do it from a command line.

From a command prompt, proceed to the exchange install directory c:\program files\Microsoft\exchange server\bin. From here you have to run "ExSetup.exe" with the following syntax.

(Exsetup.exe /role:ClientAccess /mode:install /sourcedir:c:\support\exchange12\server\en\i386) It looks for the exchangeserver.msi from here to run.

ExSetup.exe Usage: ExSetup.EXE [roles:<roles to install>] [/mode:<setup mode>] [/?][targeted:<destination folder>] [/prepared] [/sourcedir:<source folder>] [/domaincontroller:<name of DC>][/mode, /m] = This specifies the operation to perform:

– Install: Default. Installs on or more Server roles

– Uninstall: Removes some or all installed Server roles

– Upgrade: Upgrades all existing E12 server roles

– RecoverServer: Recovers a server based on Active Directory data

Roles cannot be specified with the "Upgrade" mode.

<Addendum from help file>You must use the /mode parameter if you want to specify the RecoverServer setup mode. If you do not specify a mode, Setup.exe uses the default installation mode.

[/roles, /role, /r] = This specifies which server roles to install. Such as /role:Mailbox /roles:Mailbox, BridgeHead

The following are the list of valid role names:

– BridgeHead, BH, B

– ClientAccess, CA, C

– Gateway, GW, G

– Mailbox, MB, M

– UnifiedMessaging, UM, U

The Gateway role cannot be installed with any other role.

<Addendum from help file>You must use the /roles parameter to specify which server roles to install. Select from one or more of the following roles, in a comma-separated list:

PERSONAL NOTE: If you do not use the /roles parameter, ExSetup.exe removes all server roles from the computer and removes the Exchange installation files.

If you use the /roles parameter and specify only one role, ExSetup.exe removes the original role of the setup. (i.e. setup was performed with BH role but when attempting to modify the install with the /roles:CA option, ExSetup.exe removed the BH role and installed CA role only.

[/sourcedir, /s] = Specifies the path to the Exchange CD.

<Addendum from help file>You must use the /sourcedir parameter to specify the location of the source directory. The source directory is the directory that contains the ExchangeServer.msi file. For example, if you downloaded the Exchange installation files to C:\Exchange12, you should use /sourcedir:C:\Exchange12.

PERSONAL NOTE: spaces are not detected when source is specified (i.e c:\support\Exchange 12\Server\en\i386 will result in syntax errors due to the space in the source path.

[/targetdir, /t] = Specifies the path to install Exchange Server

<Addendum from the help file>Use the /TargetDir parameter to specify the location to install Exchange Server "12" files. This parameter is optional. The default destination folder is "%programfiles%\Microsoft\Exchange Server."

[/DomainController, /dc] =This specifies the domain controller that setup will use to read and to write to the AD

[/PrepareAD, /p] = This prepares the AD for the Exchange installation.

[/?] = This will display the helpfor parameters.

Advertisements

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: