NT Services
For Windows NT 4.0 workstation, is there any way to delay a service to start at logon?
Please help.
Thank You
Windows Forum
For Windows NT 4.0 workstation, is there any way to delay a service to start at logon?
Please help.
Thank You
Hi,
Yes, you can go into 'control-panel', 'services', and select the service you are wanting to delay and set it to 'manual' instead of automatic service.
Beyond that, a lot (most? or all?) services can be started from the command line - if you wanted to always start the service a certain time after logon, you could create a batch file and wait a specified time and then launch the service....
Hope this helps,
Howard H.
by linhle
Thank you for your reply,
My problem is I want a Non-administrators domain user to delay and start the service at logon if possible. And as far as i know that you can grant the domain user "log on as a Service" right via User manager and then you can specify the user to start the service... but what about password? domain users need to change their password, too.
by mhinckley
I'm curious: What service do you want to delay, and why? You can always construct a batch file with a utility like rservice.exe to start the service, and use the sleep.exe command to delay the start of it.
Mike
by mhinckley
by linhle
by mhinckley
Okay, I see now. The SMS Client services can be run by the SMS Service Account, which has admin rights. If you're not the SMS administrator, you'll have to get with him/her to get the exact account name and password. Once you have that, set the service to manual, and to use the SMS Service account (or you can use that account in the .ini file when you call your rservice utility to start the service). Next create a batch file which uses the rservice.exe utility to start the service. Put a Sleepcommand in the batch file so it won't start on bootup.
Or better yet, create a batch file that first stops the service, then starts your AS/400 program, and put an icon for that batch file on the users desktop. You'd have to restart the SMS services when the AS/400 connection is no longer needed, so maybe another batch file? Anyway, if you did this you could stop the service on demand, and wouldn't have to worry about timing etc.
by linhle
by linhle
by mhinckley
by shanghai sam
by mhinckley
Re:
"Hi again, I searched through technet but did not find any references about specifying password in the .ini file. Please show me if you remember how to specify password in the .ini file. Thanks again"
Hmm. I looked and see that the ini file does not specify password (in the technet example), and I can't locate the ones we used here - so I suppose I'm defeated on this one. Sorry about that.
This discussion is closed to new replies.
Sort by Trending