Use PowerShell to decrypt password stored in a RDG file

Hello, If, like a colleague, you forget frequently the passwords you stored in your RDG file. There is a way to decrypt the secured string using the RDCMan.exe file. First you need to copy the RDCMan.exe and change the extension to “dll” (“RDCMan.dll”). [ps]Copy-Item ‘C:\Program Files (x86)\Microsoft\Remote Desktop Connection Manager\RDCMan.exe’ ‘C:\temp\RDCMan.dll’ Import-Module ‘C:\temp\RDCMan.dll’ $EncryptionSettings = […]