Mohamed Ibrahim
Mohamed Ibrahim

Reputation: 51

Custom Credential Provider

I have built a custom Credential Provider which is provided as a sample in Windows SDK. It is working great on computers.

the problem comes when the CR is installed on a remote server and people connect to it through RDP , the user is prompted twice for his username/password pairs, the first time in native rdp client and the second time in the custom credential provider itself when he logs in successfully through the native rdp client.

is there a way to grab the username and password which were entered in the first step and write it on the CR fields.

Upvotes: 1

Views: 856

Answers (2)

Ibrahim MESLEM
Ibrahim MESLEM

Reputation: 116

You have to implement the UpdateRemoteCredential in your filter.

Upvotes: 1

fkorsa
fkorsa

Reputation: 750

This is by design. For security reasons, in this particular case Microsoft forces users to authenticate twice.

See RDC and Custom Credential Providers.

Upvotes: 1

Related Questions