Problem with random701′s solution is that the sc command will give the PID of svchost.exe process which host several other services too. they are:
Appinfo, AppMgmt, BDESVC, BITS,
CertPropSvc, EapHost, gpsvc, IKEEXT,
iphlpsvc, LanmanServer, MMCSS, ProfSvc
RasMan, Schedule, seclogon, SENS,
SessionEnv, ShellHWDetection, Themes,
Winmgmt, wuauserv
So, question is, if you are willing to kill so many services, why not reboot it manuaally and GRACEFULLY using shutdown command?