Solved

Creating a startup script for PC Charge application

Posted on 2007-11-27
4
990 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 38

Accepted Solution

by:
Shift-3 earned 500 total points
ID: 20360271
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 22

Expert Comment

by:dan_blagut
ID: 20418373
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
ID: 31411240
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
ID: 25220200
Where you successful in creating such a script? If yes can you post it?
0

Featured Post

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is my 3rd article on SCCM in recent weeks, the 1st (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html) dealing with installat…
Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

622 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