Solved

Creating a startup script for PC Charge application

Posted on 2007-11-27
4
986 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
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 21

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Add Windows 2008 R2 Session Host to 2012 R2 RDWeb 3 54
DR TECHNOLOGY APART FROM SRM 5 98
Microsoft AD for Secure LDAP 3 53
Best practice DHCP migration 7 63
After having deployed hundreds of thousands of Terminal Services seats worldwide, I still see all the time people asking me that same old question: "If TS/RDS is that reliable why are you telling me I should reboot it that often? My DC/SQL/Exchange/…
Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip is around source server preparation. No migration is an easy migration, there is a…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

861 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

30 Experts available now in Live!

Get 1:1 Help Now