How to Stop, Start SQL Server Agent services using command prompt

To start stop a service using NET command the syntax is as follows

net start/stop service_name

Open command prompt as admin

For example, to start the SQL Agent service of the default SQL Server instance the command is

net start SQLSERVERAGENT


To stop the SQL Agent service of the default SQL Server instance the command is

net stop SQLSERVERAGENT

 

Comments

Popular posts from this blog

Exception deserializing the package "The process cannot access the file because it is being used by another process."

SSRS INTERVIEW QUESTIONS

Failed to execute the package or element. Build errors were encountered