78 words
1 minute
How to fix Windows update
2020-02-02
统计加载中...
Terminal window
@echo off
:: Check admin
net session >nul 2>&1
if %errorLevel% == 0 (
echo Running as admin
) else (
echo Requesting for admin
powershell -Command "Start-Process '%~f0' -Verb runAs"
exit /b
)
set "UpdateDir=C:\Windows\SoftwareDistribution"
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
if exist "%UpdateDir%\DataStore\" (
rd /s /q "%UpdateDir%\DataStore"
)
if exist "%UpdateDir%\Download\" (
rd /s /q "%UpdateDir%\Download"
)
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
How to fix Windows update
https://blog.spr-aachen.com/posts/tutorial-windows/fixwindowsupdate/
Author
Spr-Aachen
Published at
2020-02-02
License
CC BY-NC-SA 4.0

Some information may be outdated

封面
Music
Artist
封面
Music
Artist
0:00 / 0:00