Recently even after saving the credentials in connection settings to an RDP file, every time we were opening it, it was asking us to enter the password.
The below steps helped us to fix the issue.
Open Windows Group Policy Editor (gpedit.msc) from the command prompt.
Go to Local Computer Policy – Administrative Templates – System – Credentials Delegation.
Click on Allow delegating fresh credentials, select the option Enabled. Click on Show button and add the value TERMSRV/*
Repeat the step for
- Allow delegating fresh credentials with NTML – Only server authentication
- Allow delegation saved credentials
- Allow delegating saved credentials with NTML – Only server authentication
Then open Credential Manager from the command prompt and a windows credential.
Add a generic credential as shown below
e.g.
Lastly make sure prompt for credentials is set to 0.
After making these changes we were able take RDP to the server without it asking for password.
Hope it helps..
thank you for this instruction, it helped me fixing my issue
LikeLiked by 1 person
glad to know that
LikeLike
Hello, I followed your instructions (except for the GPEdit section that I think is not needed) and it works! Then I added username and password directly to RDP by adding the following lines:
username:s:administrator (replace “administrator” with your username)
password 51:b:passwordhash
Passwordhash is obtained by using this fantastic utility: https://www.remkoweijnen.nl/blog/download/remote-desktop-password-encryption-decryption-tool/
Bye!
LikeLike
Amazing … the opening of the .RDP file in notepad was the BAHJIZZLE! That was my problem all along! Thanks!!
LikeLike
Great that it helped you.
LikeLiked by 1 person