+ Post New Thread
Results 1 to 5 of 5
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 ...
  1. #1

    Join Date
    Feb 2013
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    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.

    Thanks!

  2. #2

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,697
    Thank Post
    335
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    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.

    Steve

  3. #3

    Join Date
    Feb 2013
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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
    2. Reboot.
    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.

  4. #4

    Steve21's Avatar
    Join Date
    Feb 2011
    Location
    Swindon
    Posts
    2,697
    Thank Post
    335
    Thanked 515 Times in 483 Posts
    Rep Power
    179
    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

    Steve

  5. #5

    Join Date
    Feb 2013
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    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 05:48 PM.

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 4
    Last Post: 3rd February 2012, 12:45 PM
  2. Replies: 12
    Last Post: 8th August 2011, 05:15 PM
  3. How Can I Make This VB Script Loop??
    By farquea in forum Windows
    Replies: 32
    Last Post: 15th July 2011, 03:13 PM
  4. Replies: 0
    Last Post: 22nd November 2009, 11:07 AM
  5. LDAP? What is It? why do I need it? How can I use it?
    By mossj in forum Web Development
    Replies: 6
    Last Post: 7th July 2009, 04:56 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •