Discussion Locked

How to run a command just after bootup

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is anyone aware of a registry location or 3rd party utility that will allow you to run a command at boot time after the services have started on NT 4.0?

7 replies

by shmaltz

You can put it in the start up folder, but someone will have to log on in order for it to run.
Or you can use NT schedular to run any program. Since NT Schedular will run as a service the programs NT Schedular is running will be running after the services are started.

by shanghai sam

Unacceptable sounds a little harsh. I appreciate any response. I did think of both of these solutions already. The normal NT Schedular doesn't have the capability to schedule something to run at startup. The task schedular that comes with IE hasa startup setting but that requires IE to be installed which I didn't want to do.

by bhrdwh

1. Either add the allications' .exe to your Scheduler or
2. Convert it into a Service using "SRVANY.exe" from NT Resource Kit CD, Then change its option into "Automatic", this will make it to run after server boots.
Akash

by shanghai sam

Thanks for the response just the same however I'm looking to run a batch file at startup. If you're talking about the task scheduler (and not the normal NT "AT" scheduler, I've considered is already.

by dsmit221

There's a service called AUTOEXNT in the NT Reskit... This works the same as Autoexec.bat but for NT

by rack-ny

That's the one. I found it last night and it worked perfectly. I was going to close the thread this morning but you beat me to it with the answer.

This discussion is closed to new replies.