Windows update service ошибка

::Сброс центра обновлений ::GamesQA.ru

:bits set /a b=%b%+1 if %b% equ 3 ( goto end1 )

:end1 cls echo. echo Cannot reset Windows Update since «Background Intelligent Transfer Service» (bits) service failed to stop. echo. pause goto Start

:wuauserv set /a w=%w%+1 if %w% equ 3 ( goto end2 ) net stop wuauserv echo Checking the wuauserv service status. sc query wuauserv | findstr /I /C:"STOPPED" if not %errorlevel%==0 ( goto wuauserv ) goto loop3

:loop3 set app=0 :appidsvc set /a app=%app%+1 if %app% equ 3 ( goto end3 ) net stop appidsvc echo Checking the appidsvc service status. sc query appidsvc | findstr /I /C:"STOPPED" if not %errorlevel%==0 ( goto appidsvc ) goto loop4

:loop4 set c=0

:end4 cls echo. echo Cannot reset Windows Update since «Cryptographic Services» (cryptsvc) service failed to stop. echo. pause goto Start

if exist «%SYSTEMROOT%\winsxs\pending.xml.bak» del /s /q /f «%SYSTEMROOT%\winsxs\pending.xml.bak» if exist «%SYSTEMROOT%\winsxs\pending.xml» ( takeown /f «%SYSTEMROOT%\winsxs\pending.xml» attrib -r -s -h /s /d «%SYSTEMROOT%\winsxs\pending.xml» ren «%SYSTEMROOT%\winsxs\pending.xml» pending.xml.bak )

if exist «%SYSTEMROOT%\system32\Catroot2.bak» rmdir /s /q «%SYSTEMROOT%\system32\Catroot2.bak» if exist «%SYSTEMROOT%\system32\Catroot2» ( attrib -r -s -h /s /d «%SYSTEMROOT%\system32\Catroot2» ren «%SYSTEMROOT%\system32\Catroot2» Catroot2.bak )

:: Reset the BITS service and the Windows Update service to the default security descriptor sc.exe sdset bits D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)

:: Reregister the BITS files and the Windows Update files cd /d %windir%\system32 regsvr32.exe /s atl.dll regsvr32.exe /s urlmon.dll regsvr32.exe /s mshtml.dll regsvr32.exe /s shdocvw.dll regsvr32.exe /s browseui.dll regsvr32.exe /s jscript.dll regsvr32.exe /s vbscript.dll regsvr32.exe /s scrrun.dll regsvr32.exe /s msxml.dll regsvr32.exe /s msxml3.dll regsvr32.exe /s msxml6.dll regsvr32.exe /s actxprxy.dll regsvr32.exe /s softpub.dll regsvr32.exe /s wintrust.dll regsvr32.exe /s dssenh.dll regsvr32.exe /s rsaenh.dll regsvr32.exe /s gpkcsp.dll regsvr32.exe /s sccbase.dll regsvr32.exe /s slbcsp.dll regsvr32.exe /s cryptdlg.dll regsvr32.exe /s oleaut32.dll regsvr32.exe /s ole32.dll regsvr32.exe /s shell32.dll regsvr32.exe /s initpki.dll regsvr32.exe /s wuapi.dll regsvr32.exe /s wuaueng.dll regsvr32.exe /s wuaueng1.dll regsvr32.exe /s wucltui.dll regsvr32.exe /s wups.dll regsvr32.exe /s wups2.dll regsvr32.exe /s wuweb.dll regsvr32.exe /s qmgr.dll regsvr32.exe /s qmgrprxy.dll regsvr32.exe /s wucltux.dll regsvr32.exe /s muweb.dll regsvr32.exe /s wuwebv.dll regsvr32.exe /s wudriver.dll netsh winsock reset netsh winsock reset proxy :: Set the startup type as automatic sc config wuauserv start= auto sc config bits start= auto sc config DcomLaunch start= auto

Понравилась статья? Поделиться с друзьями:
ErrorWin
Добавить комментарий

;-) :| :x :twisted: :smile: :shock: :sad: :roll: :razz: :oops: :o :mrgreen: :lol: :idea: :grin: :evil: :cry: :cool: :arrow: :???: :?: :!: