Freigeben über


How to Change a Service Account or Password

This topic provides steps for changing a service account or password. You use the Commerce Server Configuration Wizard to change the account for running a Commerce Server service, such as staging and Direct Mailer, or to change the password for that account.

Commerce Server Configuration Wizard connects to the server and stops each Commerce Server service, changes the account and password, and then restarts the service.

You can also use the configuration XML file that you saved from the Commerce Server Configuration Wizard to change the service account or password at the command line.

To change a service account or password using the configuration wizard

  1. Click Start, click Run, type cmd, and then click OK.

  2. At the command prompt, locate the directory where you installed Microsoft Commerce Server.

  3. In the Commerce Server installation directory, use one of the following commands:

    1. Type csconfig.exe /f to change the service account or password for all features.

    2. Type csconfig.exe /r<feature_list> to change the service account or password for certain features.

    Valid values for the feature list are as follows:

    • Feature.MS.CS.DirectMailer

    • Feature.MS.CS.CsStaging

  4. In the Microsoft Commerce Server Configuration Wizard, change the service account or password for the features that you selected.

  5. On the Summary page, optionally save your settings to an XML file that you can use for future configurations.

To change a service account or password using the configuration XML file

  1. Edit the configuration XML file that you saved from the Commerce Server Configuration Wizard by typing service account and password information for each feature that you want to change, for example:

    <UserName>name</UserName>

    <Password>password</Password>

    Note

    When you save a configuration XML file from the Commerce Server Configuration Wizard, password information is not saved for your security. You must add passwords for the service accounts.

  2. Save your changes in the configuration XML file.

  3. Click Start, click Run, type cmd, and then click OK.

  4. At the command prompt, locate the directory where you installed Microsoft Commerce Server.

  5. In the Commerce Server installation directory, type csconfig.exe /s<file_name> where <file_name> is your configuration XML file.

See Also

Other Resources

Commerce Server Configuration Command Line Syntax

Sample Configuration XML File

How to Change the Administration Database Connection String

How to Change the Administration Database SQL Server Logon and Password

Managing the Administration Database

Commerce Server Operations