Scripts Thread, I have a script that needs GUI interaction - how can I make it login to windows? in Coding and Web Development; So I have a script, written in autoit, that performs a series of clicks and actions on a Server 2003 ...
25th February 2013, 06:30 PM #1
- Rep Power
I have a script that needs GUI interaction - how can I make it login to windows?
So I have a script, written in autoit, that performs a series of clicks and actions on a Server 2003 X64 system. Being a server, its never really logged into the console. Does anyone have a script, in any language, that can sign a user into windows?
FYI, I disabled "Require CTRL ALT DEL" So that is one less hurdle.
25th February 2013, 06:33 PM #2
If you really want to do it, although I'd suggest you really don't, any reason you just don't use autologin as already defined in Windows?
The main point of the login page is to stop things like scripts interacting with it.
25th February 2013, 06:38 PM #3
- Rep Power
Yes, the Server runs a clinical application for a 24/7 Hospital. I had considered a script to do something like this....
1. Define Autologin Credentials
3. Cleanup Autologin Reg Settings
4. Run Script With GUI Commands
But, with the nature of this application, a reboot could cause some serious problems, if users are not properly in downtime mode.
25th February 2013, 06:41 PM #4
Is there something specific you're trying to do though, as a lot of the main commands etc can be scripted into a schedule task so you don't need to be logged on.
Unless you start getting into the area of coding dlls, or credential providers there isn't really a "Proper" easy way to do stuff to the login screen e.g. autoit
25th February 2013, 06:46 PM #5
- Rep Power
The application has a GUI that is required to edit the NAS purge settings. I talked to the vendor about which file is modified during this process, and they have told me that It is only possible to modify these settings using the GUI. Apparently the XML file it changes is encrypted somehow. Long story short, I will be scheduing purges to happen during non-peak hours.
Last edited by wisem2540; 25th February 2013 at 06:48 PM.
By reggiep in forum Windows
Last Post: 3rd February 2012, 01:45 PM
By burgemaster in forum Scripts
Last Post: 8th August 2011, 06:15 PM
By farquea in forum Windows
Last Post: 15th July 2011, 04:13 PM
By pritchardavid in forum Scripts
Last Post: 22nd November 2009, 12:07 PM
By mossj in forum Web Development
Last Post: 7th July 2009, 05:56 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)