restart wuauserv during install

This commit is contained in:
zeffy
2017-06-29 21:43:28 -07:00
parent 5b03c8b9d0
commit d9e35a6163
3 changed files with 4 additions and 66 deletions

View File

@@ -154,8 +154,12 @@ schtasks /Create /XML "%wufuc_xml%" /TN "%wufuc_task%" /F
schtasks /Change /TN "%wufuc_task%" /TR "'%systemroot%\system32\rundll32.exe' """%wufuc_dll%""",Rundll32Entry"
schtasks /Change /TN "%wufuc_task%" /ENABLE
rundll32 "%wufuc_dll%",Rundll32Unload
net stop wuauserv
schtasks /Run /TN "%wufuc_task%"
timeout /nobreak /t 3 >nul
net start wuauserv
echo.
echo Installed and started wufuc, you can now continue installing updates! :^)
echo.