General discussion

Locked

Adding a command as a service.

By ddbaker ·
I am starting this service "c:\winnt\system32\rshd.exe -r" from a batch file that is in the administrators startup folder. Is there a way to make a command run as a service so that it will continue to function while no one is loged into the server?

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Adding a command as a service.

by SyscoKid In reply to Adding a command as a ser ...

Yes, you can use SRVANY.EXE, which comes with the NT Resource Kit. This is from the documentation:

You can use the Srvany utility to run Windows NT applications as services, with the following benefits.
 When applications are run as services, they are not closed during logoff, so users do not need to restart them each time they log on.
 Server applications can service requests even when no user is logged on.
 Applications can run and perform tasks specific to a logon account that is different from the user who is currently logged on.

Collapse -

Adding a command as a service.

by ddbaker In reply to Adding a command as a ser ...

Poster rated this answer

Collapse -

Adding a command as a service.

by ddbaker In reply to Adding a command as a ser ...

This question was closed by the author

Back to Networks Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums