Checking whether a service is up
Hi all,
Is there a way to check, via a batch script, whether a specific Windows Service is up??
Thanks,
Amir.
[131 byte] By [
amirw] at [2007-11-20 1:51:52]

# 1 Re: Checking whether a service is up
I assume by up, you mean running. Look into sc.exe. You can get all the service information you need from that.
# 3 Re: Checking whether a service is up
Yes it does. What version do you have?
APPLIES TO
Microsoft Windows NT Server 4.0 Terminal Server
Microsoft Windows 2000 Server
Microsoft Windows 2000 Advanced Server
Microsoft Windows 2000 Professional Edition
Microsoft Windows NT Server 3.51
Microsoft Windows NT Server 4.0 Standard Edition