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.

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

All Comments

Collapse -

Adding a command as a service.

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

You may try command from NT Resource Kit.

Srvany.exe

Applications as Services Utility
With Srvany, you can configure any Windows application so that it runs as a service. 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 handle requests even when nobody is logged on to the server
an application can run with a logon account different from that of the current user

Note
Even when started as services, some applications terminate when the user logs off. This happens if the applications do not ignore the WM_ENDSESSION message (or CTRL_LOGOFF_EVENT).

Srvany works best with 32-bit applications written for Windows NT. You can use this tool to start 16-bit Windows applications as services, but some 16-bit applications are not able to keep running after a user logs off from the computer.

Note
All Srvany services should be disabled when installing or upgrading Windows NT Server, Windows NT Workstation, or applications.

Collapse -

Adding a command as a service.

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

The question was auto-closed by TechRepublic

Collapse -

Adding a command as a service.

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

If you can get a copy of Norton AntiVirus 2000, you can run the batch file from it's task scheduler.

Collapse -

Adding a command as a service.

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

The question was auto-closed by TechRepublic

Collapse -

Adding a command as a service.

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

This question was auto closed due to inactivity

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

Related Discussions

Related Forums