Configure Credentials for the Unattended Agent

Learn how and why to register credentials in the SAP Desktop Agent.

Configure your credentials in the SAP Desktop Agent Service to ensure adaptability across all of these use cases:
  • Use of particular activities such as:

    • Keystroke

    • MouseClick

    • ClickRight

    • Maximize

    • Minimize

    • SetFocus (Element)

  • Automatic agent restart mechanisms

  • Managed sessions

The Desktop Agent Service is shared across all sessions. You can run the command from any session. It is easier to configure credentials if you have access to a session because you can register all the users in the same session. Use one of these options to register the credentials.

Option 1: Configure Through Settings

  1. From your agent, choose Settings and then choose System.

  2. Activate Open and unlock session automatically.

  3. Enter the Username and Password.

  4. Repeat this process for each unattended agent where the agent is running.

Option 2: Register Credentials Through Command Line

  1. Open a Command Prompt. You need Windows administration privilege to open it.

  2. Go to the installation folder of the SAP Desktop Agent Service.

  3. Run this command: cxStoreCred userId=[DOMAIN\Username] password=[password] type=UNLOCK