<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
RDP Error "Unable to CopySerializedCred hr=80004001 rdpSession=1"
Okta Classic Engine
Multi-Factor Authentication
Okta Identity Engine
Overview

This article addresses the following RDP error that can occur when installing Okta Windows Credential Provider:
 

Unable to CopySerializedCred hr=80004001 rdpSession=1


This error is found in the OktaCP.log file (unlike most RDP errors that are usually found in OktaWidget.log) and is present during login without the Okta prompt on the RDP connection. Even though the connection may seem to work, locking the server, switching users, and selecting Sign-On options will show Okta as an option.

Sometimes, this error is accompanied by Windows login failures:

LoginErrors 

 
Applies To
  • Okta Credential Provider for Windows
  • Remote Desktop Protocol (RDP)
  • Windows Server Operating Systems
Cause
Usually, this issue is caused by the Credential Provider failing to integrate or if multiple credential providers are installed on the server.
Solution

To resolve this error, Okta suggests Enabling FilterCredentialProvider option in the ‘rdp_app_config.json’ config file found in the default directory:

  • C:\Program Files\Okta\Okta Windows Credential Provider\config
    • edit file - rdp_app_config.json

Look for the entry Filter Credential Provider, and change it from false, to true:

  • "FilterCredentialProvider": true

This option ensures the Okta MFA Credential Provider is the only method used to apply MFA to RDP connections.

 

Related References

Loading
RDP Error "Unable to CopySerializedCred hr=80004001 rdpSession=1"