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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logon Script 1

Status
Not open for further replies.
Apr 5, 2006
33
NG
Hi all,

I have a third party software that refuses to start whenever I rebooted my windows 2003 domain controller. I had to physically go to the data center to manually start the software.

Does anybody know how to enable windows Group Policy logon script to start a third party application when the computer starts.

I will appreciate your time.

omotomilola

 
You will need to provide a little more information. Does the application require a user to be logged on?

What is the executable name?

Is is a service?

WSHSHell.Run will do the trick for you to execute whatever executables you want. Provide additional details on the application and I can assist you.

I hope you find this post helpful.

Regards,

Mark
 
Thank Mark,

The application is Raid Management Software. It's a software that manages our RAID 5 configured DCs it is suppose to be running continously while the server is on.

I found out that whenever the system is restarted this software does not start. I have to physically connect the software and enter username and password before it can start.

I checked for this software in services to know the location on c:\ and saw this C:\Program Files\RAID Management Software\service\hptsvr.exe".

What would I do to get it started whenever the system is restarted.

Thanks mark.

Olusayo.
 
OK, so it IS A SERVICE?

Set the properties on it to Automatic on the General tab and set the user credentials on the Log On tab.

I hope you find this post helpful.

Regards,

Mark
 
Thanks Mark,

Like I said, before the Raid Service can run, I have to physically launch it from program menu, enter username and password.

Like you said,I created the RAID ACCOUNT on the DC., join the account to Windows authentication access group.

I went to services, When I got to the Properties of RAID Services, I change the startup type to AUTOMATIC, on the Logon Tab, I checked This Account Box and enter RAID's account and password.

I stopped and restarted the service before rebooting the server.

As soon as the server comes up, it opens C:\Program Files\RAID Management Software\service\...". with error message stating that I should click Yes or No to send report to Microsoft or not.

I selected 'Dont send report to Microsoft.

The RAID service did not start.

What do you think I should do from here.

I believe that there is a solution hanging somewhere.

Thanks for the BIG HELP.

Omotomilola


 
Sounds to me like there is a problem with the way the service registered itself. You might want to first check to see if the vendor has an y updates and either way might want to conisder eemoving the software and reinstalling.

I worry I am missunderstanding your issue. You say you can launch the applicaiton and have to enter credentials. Why is that? Are you not logged in to the box with an account that is authorized to run the application? Or do you mean the application itself has a login box? Or is it that when you launch it the OS is prompting for credentials (as apposed to the application prompting)?

I hope you find this post helpful.

Regards,

Mark
 
Thanks Mark,

After login on as an administrator, I will still have to start the application from Application Menu, The application prompt me to enter RAID login Account and Password before the application can run.

Is there anywhere in the group policy where service can be started at logon?

Thanks for your time.

Omotomilola

 
omotomilola,

i believe he is asking if the prompt is from the application itself or the server operating system.

David McKissic
A+, Net+, i-net+, CCNA, CNE, CNA
Dell, Compaq, IBM, HP
Network Administrator
 
Thanks David,

The prompt is from The application and not the server OS.

Thanks
 
If I'm following this thread correctly you have to logon to the computer, launch the program, type stuff into the program and press a button then everything is happy?

If so I would suggest that you track down a programmer (any ole computer science senior should do, give the kid gas money for a week or two) to write a program that you can put in a logon script on the system THEN have the program the kid writes launch your raid configuration software use something like the send keys methods to enter the login information into your RAID controller program push the button for you, then terminate the program itself, have the script that started that program then execute your screen saver (maybe set it at 1 minute to go on with locking the console) --- just execute the .scr file.

I did not have to resort to writing a program to do this but I was prepared to for another system where the "service" wasn't really a service but a program that needed a logged in user with a "screen", I managed to figure out the command line switches to do what I needed and used a logon script to execute the program with the switches, then execute the screen saver. I configured the computer to auto login as the domain admin (bad I know, but means to an end).

Hopefully this might give you some directio nto go --- even if it is the round about not the right way to do things.

...in the mean time, am I the only one who hates vendors who write "services" that don't really run as services but are programs that all want their own computer? I have 9 computers running "services" that aren't really services that all want their GUI screens open with all 13 little sub windows and if any one of those little windows closes all hell in my enterprise application breaks loose!

MAL

 
You are not alone MAL. Best thing to do is provide feedback to those vendors and let them know you will not use future version of their product until they clean up their act.

I hope you find this post helpful.

Regards,

Mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top