Skip to content

Commit 4c2d1a8

Browse files
authored
Update bashscript.bat
Windows update
1 parent 0d4eb63 commit 4c2d1a8

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

bashscript.bat

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -541,22 +541,24 @@ set /p sair=
541541
if "%input%"==""(
542542
exit
543543
)
544+
544545
:escolha4
545546

546-
net start bits
547+
net stop wuauserv
548+
net stop bits
549+
net stop cryptsvc
550+
net stop trustedinstaller
551+
net stop appidsvc
552+
ren %systemroot%\softwaredistribution softwaredistribution.bak
553+
ren %systemroot%\system32\catroot2 catroot2.bak
547554
net start wuauserv
548-
net start cryptSvc
549-
net start msiserver
550-
551-
SC config wuauserv start= auto
552-
553-
SC config bits start= auto
554-
555-
SC config cryptsvc start= auto
556-
SC config trustedinstaller start= auto
555+
net start bits
556+
net start cryptsvc
557+
net stop trustedinstaller
558+
net start appidsvc
557559

558560
@echo.
559-
@echo Verifique nas configuracoes se o windows esta atualizando.
561+
@echo Verifique nas configuracoes se o windows esta atualizando. E necessario reiniciar o computador.
560562
@echo.
561563
@pause
562564

0 commit comments

Comments
 (0)