Delete saved credentials from remote desktop and prevent remote login from saving batch scripts for credentials

jiangrui zhang 136 Reputation points
2021-01-31T07:51:24.167+00:00

Hello, who can help write a batch script, thank you.

It is suitable for win10, Windows Server 2012, 2008, 2003 and win7

  1. You need to delete the saved remote login credentials of the computer;
  2. To prevent remote login from saving credentials, open the local group policy editor window and expand user configuration → management template → windows in the left console tree window Component → remote desktop service → remote desktop connection client], in the right detail window, double-click the item not allowed to save password to enter the setting interface, select the enabled radio box, and click OK to save the settings and exit the local group policy editor.
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,615 questions
{count} votes