Skip to content

Instantly share code, notes, and snippets.

@Zobber
Last active October 31, 2020 13:39
Show Gist options
  • Save Zobber/ee6f4b7cfa39d7615dafa16f54c2137d to your computer and use it in GitHub Desktop.
Save Zobber/ee6f4b7cfa39d7615dafa16f54c2137d to your computer and use it in GitHub Desktop.
##
Desinstalar Antivirus
##
Descargar el solucionador de problemas
https://support.microsoft.com/en-gb/help/10164/fix-windows-update-errors
##
Para los servicios
net stop wuauserv
net stop cryptSvc
net stop bits
net stop msiserver
Renombrar archivos que contienen actualizaciones de Windows
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
Una vez hecho lo anterior iniciar los servicios
net start wuauserv
net start cryptSvc
net start bits
net start msiserver
##
Descargar y correr SetupDiag
##
Run sfc /scannow
##
Añadir clave en el regedit
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade
Crear AllowOSUpgrade y en el valor asignar 1
##
Correr el siguiente comando para ver el estado de la imagen del S.O
Dism /Online /Cleanup-Image /RestoreHealth
##
In the oddly named $Windows.~BT\Sources\Panther\setuperr.log it told me the error was attempting to move a folder (in my case mbar), that failed.
Checked this folder and it was locked.
Make sure you do not have any devices plugged into any USB 3.0 ports. Then make sure you only connect a basic USB or ps2 keyboard to your system and unplug every usb device besides that keyboard.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment