Skip to content
Home >> Delete the Saved RDP Credentials

Delete the Saved RDP Credentials

If you want to quickly delete all saved Remote Desktop credentials from your Windows 10/11 Credentials Manager, here is how:

Execute the following command in an elevated cmd.exe terminal:

Run cmd as administrator

copy and paste this code

For /F "tokens=1,2 delims= " %G in ('cmdkey /list ^| findstr "target=TERMSRV"') do cmdkey /delete %H