tis-kb4571756

1.0.1-6
2020-09 Cumulative Update for Windows 10 Version 2004. Microsoft Knowledge Base (KB) that solves the problem of WUA
284 downloads
Download

  Description 

  • package : tis-kb4571756
  • version : 1.0.1-6
  • architecture : x86
  • categories : Security,System and network
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • description : 2020-09 Cumulative Update for Windows 10 Version 2004. Microsoft Knowledge Base (KB) that solves the problem of WUA
  • locale : all
  • target_os : windows
  • min_os_version : 10.0.19041
  • max_os_version : 10.0.19042
  • min_wapt_version : 1.8
  • sources : https://www.catalog.update.microsoft.com/Search.aspx?q=kb4571756
  • installed_size :
  • impacted_process :
  • description_fr : 2020-09 Mise à jour cumulative pour Windows 10 Version 2004. Base de connaissance (KB) Microsoft qui résous le problème de WUA
  • description_pl :
  • description_de :
  • description_es :
  • description_pt :
  • description_it :
  • description_nl :
  • description_ru :
  • editor : Microsoft
  • licence :
  • signature_date : 2020-09-11T14:58:38.439472
  • Conflicts :

  Setup.py 

# -*- coding: utf-8 -*-
from setuphelpers import *
import re

uninstallkey = []

# Defining variables
kb_files_list = ['windows10.0-kb4571756-x86_32b08a98d6246f4e0186c74e0280a5c1518d883d.msu']
url_dl = 'http://download.windowsupdate.com/d/msdownload/update/software/secu/2020/09/windows10.0-kb4571756-x86_32b08a98d6246f4e0186c74e0280a5c1518d883d.msu'


def is_kb_installed(hotfixid):
    installed_update = installed_windows_updates()
    if [kb for kb in installed_update if kb['HotFixID'].upper() == hotfixid.upper()]:
        return True
    return False


def waiting_for_reboot():
    # Query WUAU from the registry
    if reg_key_exists(HKEY_LOCAL_MACHINE,r"SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired") or \
        reg_key_exists(HKEY_LOCAL_MACHINE,r"SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending") or \
        reg_key_exists(HKEY_LOCAL_MACHINE,r'SOFTWARE\Microsoft\Updates\UpdateExeVolatile'):
        return True
    return False


def install():
    with EnsureWUAUServRunning():
        for kb_file in kb_files_list:
            kb_guess = re.findall(r'^.*-(KB.*)-',kb_file)
            if not kb_guess or not is_kb_installed(kb_guess[0]):
                print('Installing {}'.format(kb_file))
                run('wusa.exe "{}" /quiet /norestart'.format(kb_file),accept_returncodes=[0,3010,2359302,-2145124329],timeout=3600)
            else:
                print('{} already installed'.format(kb_file))

    if waiting_for_reboot():
        print("A reboot is required.")


def update_package():
    print('Downloading/Updating package content from upstream binary sources')

    # Initializing variables
    proxies = get_proxies()
    latest_bin = kb_files_list[0]
    version = control.get_software_version()

    # Downloading latest binaries
    if not isfile(latest_bin):
        print('Downloading: %s' % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

    # Changing version of the package
    control.version = '%s-%s'%(version,int(control.version.split('-')[-1])+1)
    control.save_control_to_wapt()
    print('Changing version to: %s in WAPT\\control' % control.version)


def get_proxies():
    import platform
    if platform.python_version_tuple()[0] == '3':
        from urllib.request import getproxies
    else:
        from urllib import getproxies
    return getproxies()


										

  Changelog 


Changelog software url : https://support.microsoft.com/help/4571756/windows-10-update-kb4571756

No changelog
  manifest.sha256 
[["setup.py","548a3ff307db19c61fcc2688913129d949224af3e116fd62f92e5f488e32128e"],["WAPT/icon.png","50ebc8b391d1e8930ff6b89e962c0af3c804cab454c62d13514438f4dd703e60"],["windows10.0-kb4571756-x86_32b08a98d6246f4e0186c74e0280a5c1518d883d.msu","1d9004f48c33c2904019d6dfd9d06bfbdc894c481b9aa6f146000eab7b37ca07"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/control","82c35e4715bd871dd9c2135bd6c4527f5a4a972c2e73da0cd17d2529a77be0d8"]]