Relative Content

Tag Archive for pythonrdppywinauto

How to handle certificate error and connection termination error while accessing RDP with Pywinauto

I am trying to open an RDP session using Pywinauto. I can run the RPA until I enter the password and click “OK” to log in. However, in this RDP session, once logged in, a dialog box shows a certificate error, and I have to click “Yes” to proceed. Upon clicking the “Yes” button, the RDP session will open, or sometimes it will show “connection termination”. If I receive this error, I must click the “OK” button and start again to open it successfully.