|
-
July 3rd, 2002, 03:07 AM
#1
Run command without Login
I want to run a command after my server boots up but without me having to log on first.
Seems the Run key in the registry or the programs in the StartUp folder are only executed when someone logs on.
I could write a service of course, but may be there is another way?
Thank you all
-
July 3rd, 2002, 08:53 AM
#2
The standard way is to write a service and use RunOnce (ref. MS doc: http://support.microsoft.com/default...;EN-US;q179365 )
{ you already knew this anyway.. }
-
July 3rd, 2002, 09:28 AM
#3
I'm assuming you are using W2K server.
You could write a service as you said.
You could put the executable in a startup script.
You could put the executable in the scheduler and run on boot (user ID and password required).
-
July 3rd, 2002, 10:28 AM
#4
Thanks
I don't think that one can tell the scheduler to do anything just after it's loaded - one always needs a time / date.
But I forgot autoexec.nt - hope it will do the trick.
-
July 3rd, 2002, 11:31 AM
#5
Originally posted by solex
Thanks
I don't think that one can tell the scheduler to do anything just after it's loaded - one always needs a time / date.
But I forgot autoexec.nt - hope it will do the trick.
Like I said, I'm assuming you are using Windows 2000 server. Yes, you can. You don't need a time/date.
-
July 4th, 2002, 02:23 AM
#6
Thanks - didn't know that but as I am running NT 4 this is not available and autoexec.nt is no use here - so I had to go for a service.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|