- Getting Started
- UiPath® Assistant
- Installation and Upgrade
- Robot Types
- Robot Components
- Licensing
- Connecting Robots to Orchestrator
- Processes and Activities
- Logging
- Robot JavaScript SDK
- Specific Scenarios
- Restarting Robot Components
- Windows Sessions
- Login Using Thales Luna Credential System
- Login Using NShield Key Storage Provider
- Redirecting Robots Through a Proxy Server
- Executing Tasks in a Minimized RDP Window
- Using Mapped Network Drives
- Stopping a Process
- Disable Stop Button
- Custom Package Folders and Network Paths
- CrowdStrike Integration
- Robot Citrix Apps Virtualization
- Troubleshooting
- Common Connection Errors
- Unresponsive Robot Over RDP
- Duplicate Execution Logs
- Frequently Encountered Robot Errors
- Increased Process Execution Duration
- Enforced Package Signature Verification
- Message Too Large to Process
- Errors When Running as Administrator
- NuGet Packages Not Accessible After Migration
- User Access Control Prompt and UI Automation Activities
- .NET required during installation
- Assembly Cannot Be Loaded From Network Or Azure File Share
- Activities cannot find .NET Runtime
- .NET 8 projects fail to run
- Windows session is locked
Windows session is locked
The robot receives the error "Cannot bring the target application in foreground because the Windows session is locked".
Unnecessary running of idle Remote Desktop Services sessions, automatic sign-ins and lock of the last interactive user after system restarts, or the activation of news and interests on the taskbar.
Ensure the settings for the following group policies are disabled or not configured:
-
News and interests
-
Session Time Limits (find it under Remote Desktop Services > Remote Desktop Session Host )
-
Windows Logon Options
To do that:
-
Open the Local Group Policy Editor.
-
Navigate to Computer Configuration > Administrative Templates > Windows Components.
-
Look for the corresponding policy setting and verify the state is Not configured or Disabled:
-
For News and interest, look for the Enable news and interests on the taskbar setting.
-
For Session Time Limits, look for the Set time limit for active but idle Remote Desktop Services sessions setting.
-
For Windows Logon Options, look for the Sign-in and lock last interactive user automatically after a restart setting.
-
If the problem persists, export and send the following text files to UiPath Support:
-
Open the Local Group Policy Editor.
-
Navigate to Computer Configuration > Administrative Templates > Windows Components.
-
Select the following policies:
-
Connections (find it under Remote Desktop Services > Remote Desktop Session Host )
-
Session Time Limits (find it under Remote Desktop Services > Remote Desktop Session Host )
-
-
For each policy, select Action from the ribbon and then Export the settings with the
.txt
format.