It should be noted that if you're using a named instance, you'll have to modify MSSQLSERVER and SQLSERVERAGENT to the correct service names. Also, the sc command can be used, especially if you need to stop and start remotely.
K. Brian Kelley
@kbriankelley