Ok I need to stop a service that has dependencies.
Annoyingly it asks the user to press yes or no. The trouble is that I don’t want it to ask. I want it to automatically do it.
for example
“net stop mgmt”
I’m hoping to run the bat file to uninstall a program but first i need to stop some service and i would like it to be seemless or else it will hold up the process till someone clicks “y”
C:\>net /?
The syntax of this command is:
NET [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | NAME | PAUSE | PRINT | SEND | SESSION |
SHARE | START | STATISTICS | STOP | TIME | USE | USER | VIEW ]
C:\>net stop /?
The syntax of this command is:
NET STOP
service
C:\>