cancel
Showing results for 
Search instead for 
Did you mean: 

Manual startup/shutdown of windows services using command prompt or .bat

Former Member
0 Kudos

Hi,

I know that we could shutdown and start of SAP in windows using the following commands in a .bat file.

SAP:

stopsap name=<SID> nr=<SYSNR> SAPDIAHOST=<host>

startsap name=<SID> nr=<SYSNR> SAPDIAHOST=<host>

OS Collector:

saposcol -k

Oracle Listener:

lsnrctl stop / start

How about the following services:

SAPDEV_00

OracleOraHome92Agent

OracleServiceDEV

How can I stop and start of these services in a batch file?

thanks,

kbas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Try,

net stop <service name>

net start <service name>

Message was edited by:

Bidwan Baruah

Former Member
0 Kudos

thanks bidwan

Answers (0)