Contactless Network Stop

I need to stop the service with dependencies.

It is annoying that he asks the user to click "yes" or "no." The trouble is that I do not want her to ask. I want him to do this automatically. eg

net stop msmq

but I do not see any opportunities.

NET
    [ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
      HELPMSG | LOCALGROUP | PAUSE | SESSION | SHARE | START |
      STATISTICS | STOP | TIME | USE | USER | VIEW ]
+4
source share
1 answer

I have found the answer. I tried using this command:

net stop msmq /y
+6
source

Source: https://habr.com/ru/post/1583758/


All Articles