How do you start, pause, continue or stop a Windows service
off the command line?



How do you start, pause, continue or stop a Windows service off the command line?..

Answer / swapna

net start ServiceName, net pause ServiceName and so on.
Also sc.exe provides a command-line interface for Windows
services. View the OS documentation or proper book chapters
on using sc.exe

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What is the base class of Button control?

2 Answers  


If I am writing in a language like vb or c++, what are the procedures to be followed to support .net?

0 Answers  


What is a formatter in .net?

0 Answers  


Explain security measures exist for .net remoting in system.runtime.remoting?

0 Answers  


Explain about the Common Language Runtime?

0 Answers  






Tell us why do we use the “using” statement?

0 Answers  


What?s SingleCall activation mode used for?

1 Answers  


String[] a = new string[10] for(i=0; i<10; i++) { a[i] = i; } How many heap object will be created for this array. Choose the answer below. Ans: 1, 10, 11, 12

6 Answers  


What application do you use to install a Windows service?

1 Answers  


What is Assembly manifest? what all details the assembly manifest will contain.

2 Answers   Ksb,


Describe the difference between inline and code behind which is best in a loosely coupled solution?

1 Answers  


Explain memory-mapped files.

0 Answers  


Categories