Hello,
To delete the credentials, the best option is to access Credential Manager and from there under the Windows Credentials section, tap Windows Credentials, click TERMSRV and click Remove link.
Also, for doing this remotely, you can create a TXT file with computernames (NetBIOS name should be sufficient) and use an automated script to delete the credential store:
ForEach($computer in (Get-Content c:\PClist.txt )) { psexec \$computer -s winrm.cmd quickconfig -q Enter-PSSession -ComputerName $computer Get-childitem -path “C:\Windows\SoftwareDistribution” -Recurse -force | Remove-item -Recurse }
To prevent the password saving: you need to Enable the next GPO: run gpedit.msc>User Configuration.>Administrative Templates.>Windows Components.>Remote Desktop Services.>Remote Desktop Connection Client.>Setting: Do not allow passwords to be saved
--If the reply is helpful, please Upvote and Accept as answer--