Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Program Logon 1

Status
Not open for further replies.

aquias

MIS
Jun 13, 2003
820
US
Alrighty,

Blame Mark for this!!!

Honestly I don't know whether or not anyone will be able to help me out with this but here goes...

I've got a Windows 2003 AD setup. We're using this for Terminal Services and setting up several clients to automatically launch a program upon login. To this point there isn't a problem...

Where my problem is, is that two of the systems being utilized for this are launching a different program. Now, all of these programs are designed to work with touch screens and as such they were scheduled to not be deployed with any keyboards or mice (and they are being mounted to the wall so keyboards are mice are no longer an option).

Onto the problem, on these two stations the software is throwing up an additional logon prompt, without a touch screen interface. What I'd like to do is to create a VBS or batch file to launch this program and automatically log in as a specified user.

Honestly, I know nada about VBS and I'm just starting to dig for this issue but this problem could delay the entire project. As for my batch writing skills, to say their rusty is an understatement, so any help is appreciated.

For the software itself (for those curious, the company that wrote the software knows logon can be automated, they have clients that have done it, but they have no idea how to accomplish it) it has three fields that have to be filled in

Username
password
facility

It runs off of an Oracle/BDE backend and that's about my extent to the language the software was written in.

Again, thank you!
 
Sounds tricky, not sure about filling in the fields 'Username', 'password' & 'facility' automatically and clicking OK if that is what you are asking?

When I have completed similar tasks I generally use RUNAS to open the application and SANUR to enter the password details....this would all take place in the form of a batch file without user intervention.

Are there any switches available for the application?

 
well that would have to be teh applciation prompting for credentials is that correct?

windows wont ask for facility

if it were windows though, i would say the user didnt have perms on teh backend server to whatever they were conencting to, or did not have access this computer frmo teh network rights

sorry for the typos...tired :)

-Brandon Wilson
MCSE00/03, MCSA:Messaging, MCSA03, A+
almost got a paragraph there :)
 
Thinking about it, there is an application called PTFB which is designed to automate responses. The responses can be in the form of entering details when prompted or clicking a button, though you may have to do some tailoring to get to work.

I have used this application to answer various questions and open an application when a server is rebooted during the night......maybe of use...maybe not???
 
Actually Roeee, that would be perfect. If I can automate this down to a one button process it would be of great help!

As to shortcut/command line switches to the program. None that are documented or that the company has been kind enough to share with me. I just hung up with one of the developers and his only response is that this is being worked on...which means in a year I'll get a working response.
 
It may get complicated, however there is another application called AutoIt which simulates keystrokes etc. You maybe able to combine PTFB and autoit to do the necessary.

From what I understand you can use PTFB to recognise when the pop-up box has appeared, this triggers autoit to enter the info and then click OK.

Not sure if this will work as its getting a bit tricky, maybe there is some other software out there?????
 
AutoIT was perfect. I'm not a programmer (as is painfully obvious) and in about five minutes I had a working script and converted it to the .exe that was called at logon. Thanks Roeee!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top