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:
- Okta Credential Provider for Windows
- Remote Desktop Protocol (RDP)
- Windows Server Operating Systems
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
- edit file -
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.
