kaotkbliss Posted February 26, 2010 Share Posted February 26, 2010 I have searched through the forums but no solution was ever mentioned (except with 3rd party software) I was hoping to find a way to Unlock a PC with only autoit scripting. My problem is, I have scripts running to automate jobs on a PC at work. These scripts rely on pixels searches and mouse locations etc. Occasionally I need to VPN into this PC which sets the computer in a locked state. When I am done with the VPN I need to Unlock the PC so the automation scripts will run correctly. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
mistersquirrle Posted February 26, 2010 Share Posted February 26, 2010 Couldn't you unlock it from the VPN? lol, also broke my computer trying stuff I tried this: Sleep(6000) While 1 If ProcessExists("LogOnUI.exe") Then ProcessClose("LogonUI.exe") Else ExitLoop EndIf Sleep(100) WEnd didn't end to well, but meh. I don't know how you would log back on. The easiest way would be to just have the VPN not auto lock the computer when you disconnect We ought not to misbehave, but we should look as though we could. Link to comment Share on other sites More sharing options...
kaotkbliss Posted February 26, 2010 Author Share Posted February 26, 2010 The thing is, the site our company uses to VPN from home automatically brings up the "locked" screen on the PC at work as soon as you log into the VPN. The locked screen, of course, stays open until someone physically enters a username and password. 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
mistersquirrle Posted February 26, 2010 Share Posted February 26, 2010 There's no setting in the program to not lock it? I use LogMeIn, and there's a setting to lock after disconnect. You might be breaking some rules though, I'm sure, if you changed to settings... But then again, you're using AutoIt to do something, so meh. You could always make a robot that watches the screen and if it's on the login screen have it type the password lol. Just gotta build and program a robot now. You said there was some third party software that could do it? Why not just use that? or are you really keen on using pure AutoIt? We ought not to misbehave, but we should look as though we could. Link to comment Share on other sites More sharing options...
kaotkbliss Posted February 26, 2010 Author Share Posted February 26, 2010 well, I personally would have no problems using 3rd party software. Unfortunately this is a company PC and they are picky on what gets installed. Fortunately I was able to talk them into letting me use AutoIt We use SonicWall website to VPN, so there are no settings (at least that I can find on my website login screen) 010101000110100001101001011100110010000001101001011100110010000 001101101011110010010000001110011011010010110011100100001 My Android cat and mouse gamehttps://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek We're gonna need another Timmy! Link to comment Share on other sites More sharing options...
mistersquirrle Posted February 26, 2010 Share Posted February 26, 2010 Well... What I'm about to suggest, you may wanna deny ever hearing but are the rules just on that you can't install stuff on the computers? Cause if so... then you could try leaving a flash drive plugged into the computer, and run it from there? unless they like monitor processes and such... We ought not to misbehave, but we should look as though we could. Link to comment Share on other sites More sharing options...
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