Solved

Creating a startup script for PC Charge application

Posted on 2007-11-27
4
985 Views
Last Modified: 2013-12-05
Here is a good one I can't seem to figure out.

We have an application called PC Charge. In order for this program to run someone has to log on to the PC and launch manually launch the application. This becomes a problem if the server is rebooted and no one logs in to start the app. Anone know the best to automate this process?
0
Comment
Question by:Atomic75
4 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 500 total points
Comment Utility
You could create a Scheduled Task to run the program and schedule it for "When my computer starts".  Be sure to run it under an account which has all the necessary privileges.

You could also set it up as a Windows service, though this will not work with all programs.  Note that sc.exe is included natively in XP and 2003.  The article linked below was written for an older version but should still apply.
http://support.microsoft.com/kb/251192

Both of these methods require that the program be able to run in the background without user intervention.
0
 
LVL 21

Expert Comment

by:dan_blagut
Comment Utility
Hi
Else you can use autologon facility (use TweakUI to be sure), then place the link to your app in startup for all. That for be sure to launch the app indiferent what user login.
Or you can regster your app as service and run it if the app support that type.

Dan
0
 

Author Closing Comment

by:Atomic75
Comment Utility
Thank worked. I used the scheduled task to run at startup and it seems to be working.

Thanks Dan as well. I did not get to try your solution yet, but thanks for your input.
0
 

Expert Comment

by:Shragel
Comment Utility
Where you successful in creating such a script? If yes can you post it?
0

Featured Post

Do email signature updates give you a headache?

Constantly trying to correctly format email signatures? Spending all of your time at every user’s desk to make updates? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today!

Join & Write a Comment

Every system administrator encounters once in while in a problem where the solution seems to be a needle in haystack.  My needle was an anti-virus version causing problems with my Exchange server. I have an HP DL350 with Windows Server 2008 Stand…
Problem Description: Actually I found the below issue with some customers after migration from SMS 2003 to SCCM 2007 and epically if they change site code, some clients may appear in the console with old site code, plus old sites still appearing …
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now