The server's authentication policy does not allow saved credentials issue while connecting to target

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The server's authentication policy does not allow saved credentials issue while connecting to target

L3 Networker

We are getting the below issue while logging in to target windows servers. This was working before and i checked for GPO settings and tried to disable always prompt for password in RD host session settings. it did not work.

 

I am able to directly login to the server with out any issues. Any idea why this one is happening?

1 accepted solution

Accepted Solutions

L3 Networker
  1. On the remote computer, run the local GPO editor – gpedit.msc;
  2. Go to the GPO section Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security;
  3. Locate and change the policy value ‘Always prompt for password upon connection‘ to Disabled;

_Nirmalkumar response worked for us.

 

Just ensure this setting is from Local Policy not from GPO. Run RSOP to figure out from where this setting is coming from.

 

If it is local, you can disable this setting yourself

Else, Engage AD team o update the setting in GPO level.

View solution in original post

18 REPLIES 18

L3 Networker

This is discussed in the past. you need to adjust your domain GPO to allow the password to be saved.

 

https://community.cyberark.com/s/feed/0D52J00007wcQOJSA2

L3 Networker

That hasn't worked and direct login to the server works fine.

Hi @Jon Palmer​ I agree that you can directly login to your server with your credentials.

 

you can replicate this by saving an rdp file with user name and password and then launch.. you should get the same error as "The server's authentication policy does not allow saved credentials"

 

This is nothing to do with CyberArk.

 

What did you try so far? have you done any changes to the GPO to allow saved credentials to authenticate server? can you please post a screenshot if possible?

 

L3 Networker

The following steps have been performed.

1, Changed the GPO settings as below in the target server.

 

2, Also tried to change the fPromptForPassword to 0 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services].

IT did not work.

 

 

L3 Networker

Guess the attachment got missed

 

I changed Always prompt for password settings in the security settings of RD Session host in Windows components/Admin templates/COmputer config

L3 Networker
  1. On the remote computer, run the local GPO editor – gpedit.msc;
  2. Go to the GPO section Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security;
  3. Locate and change the policy value ‘Always prompt for password upon connection‘ to Disabled;
  4. Reboot your server.

 

That is exactly what i did. I just did not restart earlier. But now did a restart and tried. Its juz the same error.

 

I checked the GPO to see if it is still applied after restart and found it is applied correctly.

 

I went through MS forums and found this as the only fix. But it hasn't worked for me.

L2 Linker

@Pushparaj Alagirisamy​ Did you found any solution for this issue?

L3 Networker

Hi @Sandeep Sharma​  the issue is due to the GPO settings in the target machine. When we reverted the authentication policy in the target machine, it worked.

Which authentication policy from GPO you reverted to make this work?

Hi Palag, We are having the same issue. Can you tell us this? Which authentication policy from GPO you reverted to make this work?

The authentication policy he’s talking about should be same changes on the target server. I am assuming he was making the changes in the PSM server before. The always prompt for password upon connection should be disabled on the target server.

Hi, We resolved it after applying below solution. No changes on PSM server. Below setting was enabled on target server due to recent patching and after disabling it, it worked for us.

 

  • Login to the Target server.
  1. Run the local GPO editor – gpedit.msc;
  2. Go to the GPO section Computer Configuration > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Security;
  3. Locate and change the policy value ‘Always prompt for password upon connection‘ to Disabled;
  4. Reboot your server.

 

 

 

L3 Networker

Dear Community,

We also received this error when trying to connect to a workstation.

On that workstation we already added the PSM servers to the “Allow delegating saved credentials with NTLM-only server authentication” item (https://theitbros.com/enable-saved-credentials-usage-rdp/).

Also, we disabled "Always prompt for password upon connection" on that workstation.

 

Do you have another option to resolve the error?

 

EDIT:

The policy 'Always prompt for password upon connection' wasn't disabled by GPO so after the reboot it turn on again. Once it was disabled by GPO and we ran 'gpupdate /force', we were able to start the PSM-RDP connection.

The GPO path for this policy is:

Computer Details – Settings – Policies – Administrative Templates – Windows Components/Remote Desktop Services/Remote Desktop Session Host/Security

  • 1 accepted solution
  • 28653 Views
  • 18 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!