Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need a solution to auto start a program on Reboot.

Posted on 2010-09-10
9
Medium Priority
?
873 Views
Last Modified: 2012-05-10
Server 2008 Domain, Client is Windows XP:

Client reboots by itself (I'm checking on why this is happening but it may be Windows Update. Could be a virus). The computer is used for a timeclock. For the data from the timeclock to get downloaded, an application must be running at all times. Since it reboots by itself and no one is logged in, the data from the timeclock cannot transfer and it is causing problems. I need a solution to somehow make sure this application starts up automatically when the computer boots, instead of when a user logs in... if this would be a valid solution.

...I wonder if I could have windows automatically log a specific user in on reboot. Then I could just put the application shortcut in the startup folder.

Anyways, I'm open to suggestions but the final solution is to have that application running at all times, even after a reboot, with no human interaction. It must me automated.

Thanks.
0
Comment
Question by:rbudj
9 Comments
 
LVL 6

Expert Comment

by:Joshua_Peters
ID: 33651031
Scheduled tasks will let you set up automation.
0
 
LVL 23

Expert Comment

by:Suliman Abu Kharroub
ID: 33651059
you can use startup script.

create a batch file to start the program then add it in the local polices under computer configuration -> startup scripts
0
 
LVL 42

Accepted Solution

by:
kevinhsieh earned 2000 total points
ID: 33651069
If your timeclock software isn't set to run as a service, it's probably best to have your XP box automatically logon and put a shortcut into the startup items. This assumes that the software doesn't need any interaction to get it running.

If you used scheduled tasks to start the program upon boot or srvany to install it as a service, you won't have any way to interact with the program.

Use autologon to set the login http://technet.microsoft.com/en-us/sysinternals/bb963905.aspx .

Since the machine runs unattended, you should physically secure the console and remote access.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 1

Expert Comment

by:jc1305b
ID: 33651115
Kevinhsieh beat me to it.  Or you could use the older Tweak UI at http://download.microsoft.com/download/f/c/a/fca6767b-9ed9-45a6-b352-839afb2a2679/TweakUiPowertoySetup.exe and set an autologon account.  But Autologon for Windows is probably simplier.  Then just put a shortcut for your app in that user's startup folder.
0
 
LVL 12

Expert Comment

by:naykam
ID: 33652492
Auto logon without software (registry changes): http://www.howtonetworking.com/windows/autologon.htm#AutoLogon for all Windows OS - win9x, 2000 and XP

Why dont you bind that program to become a service ?

http://goo.gl/nrId

http://goo.gl/Sdbq

Just thought id let you know
0
 
LVL 6

Expert Comment

by:che6ausc
ID: 33652928
You can trigger a task to run at startuo in Task Scheduler.  Very simple.
Capture.jpg
0
 
LVL 2

Expert Comment

by:navinmohanta
ID: 33653209
Simple and easy way:

Simply add the shortcut to the program to the All Users Startup.
Path:
C:\Documents and Settings\All Users\Start Menu\Programs\Startup

This should autostart the application.

Thanks !
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 33653958
I would make the program a service


http://support.microsoft.com/kb/251192
0
 
LVL 16

Author Closing Comment

by:rbudj
ID: 33654170
Thank you all for your suggestions. In my situation the Sysinternals Autologon works perfectly. Thanks for all the suggestions.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Question has a verified solution.

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

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Suggested Courses

927 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