Stopping a Windows Server service if you cannot do so from the GUI

Occasionally you need to force stop a Windows service.  In order to do it follow these steps.
Open the command prompt by going to the start menu and typing CMD.  Don’t just click on it but shift+right click on it to run as administrator.  Once that is complete type in the following command
sc queryex MyService
Where you replace MyService with the name of the service you’re trying to kill.
You will see a bunch of lines.  You’re looking for one that looks like this.
PID                : 3028
Once you have the PID you need to run this command
taskkill /F /PID 3028