Repeatedly logging on to the Windows Remote Desktop-autoit script

Source: Internet
Author: User
Tags windows remote desktop mstsc

I am very sorry, I will temporarily put the script up, specific instructions have time to update:

is a shortcut, with the mouse click on the operation

#include <AutoItConstants.au3>Dim$count = A while$count < -; Open MSTSC Program from desktop shortcut by x Y.mouseclick ($MOUSE _click_left,104,455,2); Wait mstscinputframe available. Winwait ("[CLASS: #32770]","",Ten); inputRemote PC IP addresscontrolsettext ("Remote Desktop Connection","","Edit1","172.18.0.101"); Controlfocus ("title","text", ControlID) Remote Desktop Connection1Controlfocus ("Remote Desktop Connection","","1") Sleep ( -); Click Connection Buttoncontrolclick ("Remote Desktop Connection","","Button5") Sleep ( -);Selectanother user Buttonmouseclick ($MOUSE _click_left,798,338,1);inputUsernamecontrolsettext ("Windows Security","","Edit2","User"& $count &"");inputPasswordcontrolsettext ("Windows Security","","Edit3","Firewall1"); Click OK Buttoncontrolclick ("Windows Security","","Button2"); Click Remote Certificate YES buttonsleep ( -) MouseClick ($MOUSE _click_left,1020, -,1) Sleep ( the);SelectCancel ofWindows Activationmouseclick ($MOUSE _click_left,1230,782,2) Sleep (10000); Run Test Bat (send HTTP POST andlogoff) MouseClick ($MOUSE _click_left, to,343,2) Sleep ( the) $count= $count +1Wend

Repeatedly logging on to the Windows Remote Desktop-autoit script

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.