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 msmq
but i cant see any possibilities.
NET
[ ACCOUNTS | COMPUTER | CONFIG | CONTINUE | FILE | GROUP | HELP |
HELPMSG | LOCALGROUP | PAUSE | SESSION | SHARE | START |
STATISTICS | STOP | TIME | USE | USER | VIEW ]
I found the answer. I tried to use this command:
net stop msmq /y
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.