Bobby_Moore Posted December 13, 2016 Posted December 13, 2016 Dear all, I am an administrator for a domain. I want to be able to get a script that will populate the login boxes (with credentials I know/set) to login to the actual PC. It enables us to run scripts en masse, something that we already have configured. https://technet.microsoft.com/en-gb/library/cc939702.aspx - adminlogon registry keys which prove to be inconsistenthttps://technet.microsoft.com/en-us/sysinternals/autologon.aspx - is a glorified registry editor, and not command line basedhttps://www.logonexpert.com/ - works great, but expensive for the amount of clients we have The market is really void of these types of solutions and it would be great if AutoIt has this capability. Look forward to hearing your thoughts,
Bobby_Moore Posted December 13, 2016 Author Posted December 13, 2016 I have already assumed I would need to run AutoIt as a service..
Bert Posted December 13, 2016 Posted December 13, 2016 Umm....you can run scripts as an admin without logging in. Its how packages are pushed to PCs without the users logged in. The Vollatran project My blog: http://www.vollysinterestingshit.com/
spudw2k Posted December 13, 2016 Posted December 13, 2016 4 hours ago, Bobby_Moore said: https://technet.microsoft.com/en-us/sysinternals/autologon.aspx - is a glorified registry editor, and not command line based Not entirely accurate."You can also pass the username, domain and password as command-line arguments:autologon user domain password" Also, the AutoLogon tool encrypts the password which is much safer than adding the registry keys for AutoAdminLogon as described in the MS article. 2 hours ago, Bert said: Umm....you can run scripts as an admin without logging in. Its how packages are pushed to PCs without the users logged in. Agreed. There are many ways to push scripts without having to login...now if your script depends on a user being logged in, that's another thing but that's not a very good deployment approach and should be avoided if possible. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
jguinch Posted December 13, 2016 Posted December 13, 2016 I can confirm : autologon from Sysinternals works perfectly in command line. What kind of tasks do you want to launch ? Spoiler Network configuration UDF, _DirGetSizeByExtension, _UninstallList Firefox ConfigurationArray multi-dimensions, Printer Management UDF
Bobby_Moore Posted December 16, 2016 Author Posted December 16, 2016 The autologin does work, but all it is doing is injecting the relevant registries. I can do that without the autologin tools to achieve the same goal en masse. Problem is, we are trying to login around 200 PCs via this method and there are documented issues when it comes to this scale. What would be more reliable is an AutoIt script to sequence the keys to login - would this be possible?
Bert Posted December 17, 2016 Posted December 17, 2016 I strongly do NOT recommend you try the approach you are asking for. I've been doing IT since 1995 and your the first to want to do it the way you are asking. EVERYONE else does it the way we are telling you. Why not just do small batches and verify the jobs ran properly in each batch? The Vollatran project My blog: http://www.vollysinterestingshit.com/
spudw2k Posted December 19, 2016 Posted December 19, 2016 On 12/16/2016 at 2:54 AM, Bobby_Moore said: there are documented issues when it comes to this scale. What documented issues? On 12/16/2016 at 2:54 AM, Bobby_Moore said: I can do that without the autologin tools to achieve the same goal en masse How do you encrypt the password? Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now