Force Remote Desktop Connection to Save Server Credentials

When you are working as a system admin, you need to connect to many servers remotely. Mostly the sys-admin job is to work on multiple server and yes, they access the servers remotely to work on.

To access the computer remotely you always need to enter your credentials. Even though you click on save my credentials but it didn’t work.

This happened because of security policy by default setup on local computers which can be tweaked.

Go to run menu and type gpedit.msc

It will open local computer group policy editor.

Now go to Local Computer Policy\Computer Configuration\Administrative Templates\System\Credentials Delegation\

Open Setting Allow Delegating Saved Credentials with NTLM-only Server Authentication.

Open this setting and click on enable.

Now click on the show button next to the Add servers to the list option.

It will open up a content settings box. Enter TERMSRV/* in the box click OK.

On the main credentials setting box, click on Apply and then click Ok.

Now it has saved local computer credentials settings to save credentials for remote servers. Now close the gpedit window.

To apply the recent change, go to command prompt and run it as administrator.

After it will get open, type command gpupdate /force

This command will update the local computer policy and may prompt you to log off or reboot your computer in order to apply the policy, otherwise it will update the policy and shows the following message.

Make sure you got the message that computer group policy update has been completed successfully.

Now go to run and type mstsc. It will open a remote desktop connection box. Type the server name and click on connect.

It will pop up the window to enter credentials. On credentials windows enter your user name, password and then click the check box Remember my credentials.

Now you can save credentials for every server you access and you don’t need to enter your credentials every time.

Muhammad Imran Habib

Imran is a technology evangelist with 8 years of experience working with some of the Industry leading companies. Imran's expertise includes On-Prem/Virtual Infrastructure deployments, IT Solutions for SMEs, End User Computing Support.

You may also like...