Stopping a service
Posted: 03 Nov 2016, 16:50
Hi. I'd like to use hotkey to stop a service, without any prompts, confirmations, etc. In W8.1. I've done a search, and have found a few theoretical solutions, but none of them are working. Everything I've tried, based on what I've found, is along these lines:
and
These all run in a cmd window but are not stopping the service.
Anyone know how I can do this?
Thank you!
Code: Select all
^!+x::run net stop "wuauserv"
Code: Select all
^!+x::RunWait, %comspec% /c net ... , , hide
Anyone know how I can do this?
Thank you!