PDA

View Full Version : Running some code "at start-up" *WITHOUT* setting up a scheduled task


\A_Michigan_User\
February 4th 06, 03:01 PM
I have a small executable that I need to run each time Windows XP-Pro starts
up.

I can do it fine if I schedule a "run at start-up" as a "scheduled task".

Is there another way? By simply dropping my executable into a certain
folder somewhere?

I do *NOT* want to run this executable "during each log-in" or "when a
certain user logs in"... but
simply: Run each time Windows XP starts up.

Thanks.

Andrew Meador - ASCPA, MCSE, MCP+I, Network+, A+
February 4th 06, 03:14 PM
I do not have the exact steps, but I believe in the Resource Kit there
is a utility to convert an executable into a service. You could then
setup this new service to start up automatically. This would get the
application running even before anyone logs in.

Dave Patrick
February 4th 06, 04:35 PM
Use the Group policy editor
%systemroot%\system32\gpedit.msc
Computer Config\Windows Settings\Scripts\Startup/Shutdown

--

Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

""A_Michigan_User"" wrote:
|I have a small executable that I need to run each time Windows XP-Pro
starts
| up.
|
| I can do it fine if I schedule a "run at start-up" as a "scheduled task".
|
| Is there another way? By simply dropping my executable into a certain
| folder somewhere?
|
| I do *NOT* want to run this executable "during each log-in" or "when a
| certain user logs in"... but
| simply: Run each time Windows XP starts up.
|
| Thanks.
|
|

Google