From reading on the web, remote desktop does not accept sendkeys. Have you got to the point where you can start RDP, and click on the OK button? That may be as far as you can go with RDP using automation.
yeah, I have gotten that far.. I'm thinking that my only chance is to insert a Macro file, but I do not want to download a macro editor.. so was hoping to be able to do it in VB.
Manually, how do you do the audit? Do you have programs/scripts to run? Do you extract system information? Is the audit automated? If not can it be?
For one PC, the audit is as follows - connect with RDP - press enter at security screen - (com loads up as username/pw is auto, so wait for com to load) - go to system info, check current version, make sure there are no errors - log out.
So really, my auto login system is pretty fast, as I have it to remote into 30 PCs at a time, I can audit about 100 per hour.
My current batch File is working great, I was just hoping to be able to make it a bit more efficient.
for /f "delims=" %%T in (computer name.txt) do (
start mstsc /v: %%T /w:800 /h:600
pause
)
I just press enter for the security screen, then click back on the cmd window, press enter, repeat. It actually is pretty fast.
Thank you for your help tho, if I find some solution, I will post it here