I am using the \'Microsoft Terminal Services Control Type Library\' to establish a connection to a remote desktop server. I am looking for a way to prevent or suppress the \
First off, you really need to make sure your test environment uses the latest update for RDP, especially if it's Windows 7 - just run Windows Update.
Next, focus on this line:
ocx.EnableCredSspSupport = True
It is enabling a security support provider. I'm not an expert in the matter, but probably there is an internal routine saying:
Load locally stored credentials; if there aren't such - ask the user then crypt, hash, bla-bla, and store them locally, in order to use them next time
At this point the dialog, asking for credentials is popped up. I don't think you can influence this behavior, but, fortunately you can influence whether the provider takes place in the picture or not. So set this to False
and see what happens.