Jump to content

To check and log-in windows from AutoIT script

Recommended Posts

I have an requirement to run a script which has WinActivate and other interactive commands and I wanted to make sure the "windows locked" scenario is taken care.

I gone through the FAQ http://www.autoitscript.com/wiki/FAQ#Why_doesn.27t_my_script_work_on_a_locked_workstation.3F and I also tried "autologon" utility recommended here - '?do=embed' frameborder='0' data-embedContent>>.

But the corporate security check is disabling the "autologon" each time it auto logs in.

So I am left with exploring "simulated log in" process from the autoit script itself to login after log-off or locked-in scenarios.

Question: As I learn from the above links, log-in/locked screen is just a dialog, will  it work if I try to send CTRL-ALT-DEL sequence from autoit script  or does anyone have a working snippet for this scenario?


Link to post
Share on other sites
  • Moderators



But the corporate security check is disabling the "autologon" each time it auto logs in

Then I suggest you talk to your corporate IT security department because we will not help you get around this. Please read the Forum rules (there is also a link at bottom right of each page) - particularly the bit that says not to dicuss "Bypassing of security measures - log-in and security dialogs" - before you post again. Thread locked. :naughty:


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Link to post
Share on other sites
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...