If we want to Stop or Start the services of other server which is in same domain or Trusted Domain then we can utilize a wonderful command in Dos Paromapt "SC"
Syntax:
SC ServerName Command Service name
The option server has the form \\servername
Eg: To Stop SQL server 2005 Default Instance services
first stop it's dependency as SQLAgent
SC \\servername stop SQLServerAgent
Then stop the SQl server with below coomand.
SC \\server Name Stop MSSQLServer
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment