I have recently came across a typical situation where I completely forgot the Remote Desktop managers password. I thought to recover the password by calling the help desk but I knew ti is going to take so much time to get it back because of many regulatory and compliance issue. So I found a quick alternative. I wrote a power shell script to decrypt the lost password.Here are the steps:
1. Locate the RDCMan.exe file and copy the RDCMan.exe file with the DLL extension.
2.Import this DLL by using powershell
3.Now search the RDG file which contains the password in the Encrypted fashion. Here is the sample RDG file and open it in notepad.
This will show you the username and password in the encrypted format.
4. Copy the Encrypted password and paste it in the below mentioned script.It will display the lost password.
Please find the full running code in one place
Share this:
- Tweet