onlineth Posted December 13, 2016 Posted December 13, 2016 Basically, I want to unlock a user account by executing a script (while a user see's their locked screen, if this script is executed in the background, it unlocks their account without having to type in any password). In a perfect world, I would have a service running that can automatically log specific users in whether their account is locked or they just turned their computer on and no users have been logged in yet. I don't want to have anything special enabled on the computer (like the remote desktop workaround). I can provide the actual password to the account and I would like this to be compatible on Windows 7. Has anyone come across any script that can do this? If there isn't a way to unlock the computer from startup, is there at least a way to unlock the account that's currently already logged into but just has the lock screen up? scientia potentia est
InunoTaishou Posted December 13, 2016 Posted December 13, 2016 (edited) You cannot, it's been asked before. You're essentially trying to bypass the security measures implemented by Microsoft. It's possible but not been attempted in autoit and there were not many posts on it in other languages. I think the last time I googled it I couldn't even find any successful, runnable, code releases (for obvious reasons) in any language. There was a topic I was reading on it in C++ on stackoverflow, but it's been a while since I googled it. I say for obvious reasons because it's an extremely easy way to implement a backdoor in anyone's computer. Imagine being able to unlock any computer you infect thanks to some poster on the interwebz who did all the work for you. Edited December 13, 2016 by InunoTaishou
junkew Posted December 13, 2016 Posted December 13, 2016 Maybe a script to keep alive a session. Simple script sending twice numlock every minute will do that. FAQ 31 How to click some elements, FAQ 40 Test automation with AutoIt, Multithreading CLR .NET Powershell CMDLets
Moderators Melba23 Posted December 13, 2016 Moderators Posted December 13, 2016 onlineth, As InunoTaishou has explained, this is not something we are prepared to support - thread locked. Please read the Forum rules before you post again to refresh your memory on those subjects which are forbidden. M23 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: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts