Skip to content

Instantly share code, notes, and snippets.

@Zobber
Last active October 31, 2020 13:39
Show Gist options
  • Select an option

  • Save Zobber/ee6f4b7cfa39d7615dafa16f54c2137d to your computer and use it in GitHub Desktop.

Select an option

Save Zobber/ee6f4b7cfa39d7615dafa16f54c2137d to your computer and use it in GitHub Desktop.

Revisions

  1. Zobber revised this gist Oct 31, 2020. 1 changed file with 9 additions and 1 deletion.
    10 changes: 9 additions & 1 deletion Windows Upgrade Tips
    Original file line number Diff line number Diff line change
    @@ -36,4 +36,12 @@ 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
    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.
  2. Zobber revised this gist Oct 23, 2020. 1 changed file with 10 additions and 6 deletions.
    16 changes: 10 additions & 6 deletions Windows Upgrade Tips
    Original file line number Diff line number Diff line change
    @@ -4,32 +4,36 @@ 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
    ##
    Rename SoftwareDistribution and catroot2 Folders. To do this we will need to stop Windows Update services.

    Renombrar archivos que contienen actualizaciones de Windows

    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old

    ##
    Once done restart Servers
    Una vez hecho lo anterior iniciar los servicios

    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver

    ##
    Download and Run SetupDiag
    Descargar y correr SetupDiag
    ##
    Run sfc /scannow
    ##
    Añadir clave en el regedit

    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade

    Look for AllowOSUpgrade and set value to 1
    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
  3. Zobber revised this gist Oct 15, 2020. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion Windows Upgrade Tips
    Original file line number Diff line number Diff line change
    @@ -25,4 +25,11 @@ net start msiserver
    ##
    Download and Run SetupDiag
    ##
    Run sfc /scannow
    Run sfc /scannow
    ##
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\OSUpgrade

    Look for AllowOSUpgrade and set value to 1

    ##
    Dism /Online /Cleanup-Image /RestoreHealth
  4. Zobber created this gist Oct 15, 2020.
    28 changes: 28 additions & 0 deletions Windows Upgrade Tips
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,28 @@
    ##
    Desinstalar Antivirus
    ##
    Descargar el solucionador de problemas
    https://support.microsoft.com/en-gb/help/10164/fix-windows-update-errors
    ##
    net stop wuauserv
    net stop cryptSvc
    net stop bits
    net stop msiserver
    ##
    Rename SoftwareDistribution and catroot2 Folders. To do this we will need to stop Windows Update services.

    ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
    ren C:\Windows\System32\catroot2 catroot2.old

    ##
    Once done restart Servers

    net start wuauserv
    net start cryptSvc
    net start bits
    net start msiserver

    ##
    Download and Run SetupDiag
    ##
    Run sfc /scannow