-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathReload.bat
43 lines (30 loc) · 1.02 KB
/
Reload.bat
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
@Echo File by Kauan Fonseca
@Echo Off
echo.
echo -----------------------------------
echo Reiniciando Aplicativos
echo -----------------------------------
echo.
taskkill /f /fi "USERNAME eq %USERNAME%" > nul 2>&1
:: Reiniciar o serviço de áudio do Windows ::
net stop Audiosrv > nul 2>&1
net start Audiosrv > nul 2>&1
net stop VIAKaraokeService > nul 2>&1
net start VIAKaraokeService > nul 2>&1
:: Reiniciar o serviço de rede ::
net stop LanmanWorkstation > nul 2>&1
net start LanmanWorkstation > nul 2>&1
:: Reiniciar o serviço de firewall do Windows ::
net stop MpsSvc > nul 2>&1
net start MpsSvc > nul 2>&1
:: Reiniciar o serviço de gerenciamento de eventos do Windows ::
net stop EventLog > nul 2>&1
net start EventLog > nul 2>&1
:: Reiniciar o serviço de serviço de perfil de usuário ::
net stop ProfSvc > nul 2>&1
net start ProfSvc > nul 2>&1
:: Reiniciando Explorer ::
taskkill /F /IM explorer.exe > nul 2>&1
timeout /t 2 /nobreak > nul 2>&1
start explorer.exe
exit