Skip to main content
GOAA
Navigator | Tier 3
Navigator | Tier 3
May 28, 2026
Question

User logged into console. Please log out before trying another multi-user deployment.

  • May 28, 2026
  • 16 replies
  • 291 views

Hello

 

I'm having trouble deploying bots. If I set it to Regular, it works, but when I try to set it to RDP, which is what I want, I get this message: "User logged into console. Please log out before trying another multi-user deployment."
I have the cloud version of Control Room, so I have the latest version.
If I uninstall the agent and delete all the folders, then reinstall the agent, it works fine, but when the device logs off, the deployment fails again.

    16 replies

    GOAA
    Navigator | Tier 3
    GOAAAuthor
    Navigator | Tier 3
    June 5, 2026

    hello ​@rbkadiyam 

    I attach the logfile.

    Only the nodemanager because the another files was empty. Previous execution, i delete all logs.

    This file is a part of the log,  and for security reasons, has a lots user o url replaced with xxxxxx

     

     

     

     

    rbkadiyam
    Premier Pathfinder | Tier 7
    Premier Pathfinder | Tier 7
    June 5, 2026

    @GOAA  here are my findings ::
    Steps / Actions identified from the Log: 
     

    1. Existing RDP Session Already Active

    The Node Manager detects an active RDP session:

    session name:RDP-Tcp#0 username:YYYYY sessionId:18

    It also shows:  number of RDP sessions currently:1

    2. AA Tries to Create/Re-use a Session

    User has chosen to reuse existing session if available or create a new one if none available.

    But then: Could not find an existing session that matches session key

    3. Session Creation Fails

    Error occurred during bot session creation

    Followed by: Unable to perform rdp for the user as we have exceeded the maximum session count

    4. Deployment Fails

    status_type: DEPLOY_FAILED

    --------------------------------------------------------------------------------------------------------------

    Most Likely Causes

    ---------------------------------------------------------------------------------------------------------------------

    Cause 1: Windows RDP Session Limit Reached

    The bot runner machine already has the maximum number of RDP sessions allowed.

    For example:

    • Existing user logged in via RDP
    • Another disconnected session exists
    • Windows Server session limit configured to 1

    FIX : Log Off Unused Sessions

    On the Bot Runner machine:

    query user

    Example:

    USERNAME     SESSIONNAME   ID  STATE
    botuser      rdp-tcp#0     2   Disc

    Log off:

    logoff 2

    or from Task Manager → Users tab.

     

     

    Cause 2: Orphaned/Disconnected Session Exists

    A previous bot execution may have left a disconnected session.

    Check:

    query user  or  qwinsta

    Look for:   Disc    or Disconnected sessions.

     

    Fix  – Verify Session Limits

    Open:

    gpedit.msc

    Navigate:

    Computer Configuration
     └ Administrative Templates
         └ Windows Components
             └ Remote Desktop Services
                 └ Remote Desktop Session Host

    Check:

    Limit number of connections
    Restrict Remote Desktop Services users to a single session

     

     

    Cause 3: Multi-user Bot Runner Configuration Issue

    The log indicates:

    It appears to be a multi user session deployment

    If the device is configured for:

    • Multi-user bot runner
    • Limited session count

    AA cannot create another session.

     

    FIX : Restart Stuck Sessions

    If safe to do so:  rwinsta <sessionID>

    Example:   rwinsta 18

    This resets the session.

     

     

    Cause 4: Session Reuse Configuration Mismatch

    Automation Anywhere attempted:

    reuse existing session if available  but

    Could not find an existing session that matches session key

    Possible reasons:

    • Different domain/user combination
    • Existing session owned by another account
    • Session metadata out of sync

     

    FIX : Verify Automation Anywhere Device Settings

    In Automation Anywhere Control Room:

    1. Devices
    2. Bot Runner Device
    3. Session Management

    Check:

    • Maximum concurrent sessions
    • Multi-user session settings
    • Session reuse settings
     

    Fix 5 – Restart Bot Agent / Node Manager

    Sometimes the session cache becomes stale.

    Restart:

    Automation Anywhere Bot Agent
    Automation Anywhere Node Manager

    or reboot the Bot Runner server.

     

    Commands to Run Immediately

    On the Bot Runner server:

    query user   and   qwinsta

    Look for:

    • Active sessions
    • Disconnected sessions

    Multiple sessions for the bot user

    Ramesh B Kadiyam
    rbkadiyam
    Premier Pathfinder | Tier 7
    Premier Pathfinder | Tier 7
    June 5, 2026

    @GOAA  provided solutions based on the log, it may be available after AA moderator review 

     

    Ramesh B Kadiyam
    rbkadiyam
    Premier Pathfinder | Tier 7
    Premier Pathfinder | Tier 7
    June 8, 2026

    @Lu.Hunnicutt  can you help moderator to review my reply on  ​@GOAA  provided logs ?

    Ramesh B Kadiyam
    Lu.Hunnicutt
    Pathfinder Community Team
    Pathfinder Community Team
    June 10, 2026

    @rbkadiyam ​@GOAA Good now. See ​@rbkadiyam ‘s response above

    Let's Connect! www.linkedin.com/in/lu-hunnicutt-1290jan
    GOAA
    Navigator | Tier 3
    GOAAAuthor
    Navigator | Tier 3
    June 10, 2026

    Hello ​@rbkadiyam 

     

    I response all WorkAround scenaries

    Cause 1: Windows RDP Session Limit Reached

    No user session is connected

    Cause 2: Orphaned/Disconnected Session Exists

    No user session is connected in query user and TAsk Manager

    The gpos are setting like “Not Defined”

    Cause 3: Multi-user Bot Runner Configuration Issue

    The setting is Single user RDP, but with multiuser, i have the same issue.

    Cause 4: Session Reuse Configuration Mismatch

    Single user

    Reuse a session, but create a new session if not available.

    All setting is configurate to lock the session, never logoff. But i try many configurations here and doesn’t work.

    Fix 5 – Restart Bot Agent / Node Manager

    I restarted the AA Bot Agent, But i don’t know the Node manager service.

    If i did a clean install, deleting everithing y reinstall the agent, the session works fine. But when the session close fails again

     

    Only works with regular session.