Copy and paste the following syntax into notepad or any text editor and save as a file with a .bat extension.
This can be used to stop services without prompting the user with confirmation dialogue.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
net stop AeLookupSvc /y net stop BITS /y net stop Browser /y net stop CryptSvc /y net stop Dfs /y net stop Dhcp /y net stop dmserver /y net stop DNS /y net stop Dnscache /y net stop ERSvc /y net stop Eventlog /y net stop EventSystem /y net stop helpsvc /y net stop HTTPFilter /y net stop HTTP SSL /y net stop IISADMIN / net stop IMAP4Svc /y net stop IsmServ /y net stop kdc / net stop lanmanserver /y net stop Server /y net stop lanmanworkstation /y net stop Workstation /y net stop LmHosts /y net stop MSDTC /y net stop MSExchangeES /y net stop MSExchangeIS /y net stop MSExchangeMTA /y net stop MSExchangeSA /y net stop MSExchangeSRS /y net stop MSMQ /y net stop MSSEARCH /y net stop Netlogon /y net stop Netman /y net stop Nla /y net stop NtFrs /y net stop NtLmSsp /y net stop PlugPlay /y net stop PolicyAgent /y net stop POP3Svc /y net stop ProtectedStorage /y net stop RemoteRegistry /y net stop RESvc /y net stop RpcSs /y net stop SamSs /y net stop Schedule /y net stop seclogon /y net stop SENS /y net stop ShellHWDetection /y net stop SMTPSVC /y net stop Spooler /y net stop TermService /y net stop VMTools /y net stop W32Time /y net stop W3SVC /y net stop WinHttpAutoProxySvc /y net stop winmgmt /y |
Using RMAN for...
12 March 2019