What causes the UiPath error 'Provider could not perform the action since the context was acquired as silent' (0x80090022)? when triggering a job from Orchestrator.
Issue Description
This error occurs when the UiPath Robot attempts to start an executor but fails due to a silent context acquisition issue. The error is specifically related to smart card authentication and certificate operations in a silent context.
Error Message
"Could not start executor. Provider could not perform the action since the context was acquired as silent. (0x80090022)"
Detailed Error Information
From the UiPath ServiceMode-Robot.log file:
[ERROR] [UiPath.Service.Host] [Session.ISessionProcessLauncher] [24.10.9.0] [runId_0_USERNAME]
StartProcessInMonitoredSession failed. System.Security.Authentication.AuthenticationException: Logon failed for user DOMAIN\USERNAME. Reason: 2148073506=2148073506=0x80090022 : Provider could not perform the action since the context was acquired as silent.
Root Cause
Possible Causes
This error occurs when the UiPath Robot attempts to start an executor but fails due to cryptographic operations being attempted in a silent context. The error code 0x80090022 (NTE_SILENT_CONTEXT) specifically indicates that a cryptographic operation requiring user interaction was attempted in a non-interactive session.
Primary factors
- Smart card authentication is being used, but cannot be accessed in a silent/non-interactive context
- Certificate operations are being attempted without the required user interaction capabilities
- The UiPath Robot service is running in a non-interactive session that conflicts with authentication requirements
Resolution
- Verify Smart Card Authentication Configuration
- Review the UiPath Orchestrator smart card authentication settings.
- Ensure the smart card is properly inserted and recognized by the system.
- Check nCipher CSP Status & Configuration
- Review the Windows Event Viewer for nCipher CSP related errors.
- Look for the error: "ERROR: openkey_set_protection Unable to autoload softcardset in silent mode"
- Work with the security team to configure nCipher CSP to allow operations in the required context.
- Consider updating or reinstalling nCipher CSP if issues persist.
- Review Certificate Status and Accessibility
- Ensure all required certificates are present, valid, and accessible in the context where the UiPath Robot service is running.
- Use the Certificates MMC snap-in(certmgr.msc), to inspect certificate status and permissions.
- Ensure the certificates required for smart card authentication are accessible to the UiPath Robot service account.
- Update UiPath Robot
- Ensure the latest version of UiPath Robot (24.10.9.0 or newer) is in use.
- Check the UiPath Release Notes for any known issues or fixes related to this error.
If the issue persists after attempting the resolution steps above, please contact UiPath Support with:
- Diagnostic Tool Logs from Robot Machine - https://docs.uipath.com/studio/standalone/latest/user-guide/diagnostic-tool
- Authentication Type used Robot Account
- Details of your authentication infrastructure
- Steps already attempted to resolve the issue
- CAPI2 logs - Gathering CAPI2 Logs For Troubleshooting Certificate Issues In UiPath Orchestrator And Other Applications
- Timestamp of issue occurence(Date, Time, Timezone)