Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it, follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!

run program at startup AND auto-enter credentials

Let me see if I can explain this.

I am looking for something, be it a batch file or bit of script, that will open a program at startup and enter in a username and password automatically. Just putting a shortcut in the startup folder will not work because the program prompts for authentication. Runas at the command line will not work because the program does not require any special rights to run.

I saw this done at a client and love it, but the jerks wont tell me how they did it. It looked like something ran at startup to do this, because it failed when I installed my program to the wrong directory.

chamberlain on
The list never changes: http://www.infinitebacklog.com
Chamberlain.jpg

Posts

  • DietarySupplementDietarySupplement Registered User regular
    What kind of program are we talking about here? Is it a stand-alone app, or is it a web page... or what?

    Skull2185 wrote: »
    Basically, (PlayStation) Home is Second Life Ultra Light? Most of the cool stuff, none of the creepy blimp on blimp fucking.
  • ArrathArrath Registered User
    AutoIt?

    I've made AutoIt scripts to do the very same thing.

    cj iwakura wrote:
    Making for Oregon is suicide, as DOS games have shown.
  • I'd go with AutoIt as well, but yeah, is this a command-line authentication with "type login, press enter, type password, press enter" - and how secure does this password need to be kept?

    Looking for a DX:HR OnLive code for my kid brother.
    Can trade TF2 items or whatever else you're interested in. PM me.
  • TheSonicRetardTheSonicRetard Registered User regular
    I'd go with AutoIt as well, but yeah, is this a command-line authentication with "type login, press enter, type password, press enter" - and how secure does this password need to be kept?


    If it's command line driven, couldn't he just echo the login and password?

    mOimJys.png
  • I'd go with AutoIt as well, but yeah, is this a command-line authentication with "type login, press enter, type password, press enter" - and how secure does this password need to be kept?


    If it's command line driven, couldn't he just echo the login and password?

    Or pipe input from a text file, if it just needs to get the authentication on startup.

    I'd go with AutoIt though, because then it's at least encapsulated in its own little file that can run minimized in the taskbar and not have any output that can be redirected. But we still don't know enough about the app itself to answer 100% Fo' Sho'.

    Looking for a DX:HR OnLive code for my kid brother.
    Can trade TF2 items or whatever else you're interested in. PM me.
  • chamberlainchamberlain Registered User regular
    Thanks for the help, I actually ended up cobbeling together a VBS to do it.

    The password did not need to remain secure at all, the program just had to run.

    For the curious:
    Spoiler:

    I am sure it could be written better, but I found bits of code it two different places that I pieced together.

    The list never changes: http://www.infinitebacklog.com
    Chamberlain.jpg
  • QuantuxQuantux Registered User regular
    Scheduled task. Can be specified to run on system startup or when the user logs in, and alternate credentials can be specified.

    XBL - TheQuantumShift
    PSN/Steam - Quantux
  • chamberlainchamberlain Registered User regular
    Quantux wrote: »
    Scheduled task. Can be specified to run on system startup or when the user logs in, and alternate credentials can be specified.

    A scheduled task wont enter a user name and password into a program, though.

    The list never changes: http://www.infinitebacklog.com
    Chamberlain.jpg
Sign In or Register to comment.