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

Description
- package : tis-kb4571756
- version : 1.0.1-6
- architecture : x64
- 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:57:11.768439
- Conflicts :
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
import re
uninstallkey = []
# Defining variables
kb_files_list = ['windows10.0-kb4571756-x64_66f7130a68dd9748511454436b3ffb61730d9775.msu']
url_dl = 'http://download.windowsupdate.com/d/msdownload/update/software/secu/2020/09/windows10.0-kb4571756-x64_66f7130a68dd9748511454436b3ffb61730d9775.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
[["setup.py","f5b4b1d04bcd8b02dfd3246078d3399e2ebe7382d59065ec823370386f5202f8"],["WAPT/icon.png","50ebc8b391d1e8930ff6b89e962c0af3c804cab454c62d13514438f4dd703e60"],["windows10.0-kb4571756-x64_66f7130a68dd9748511454436b3ffb61730d9775.msu","8628adf9289107d6157b62c3848c782051cfc4e9ef3eb2685154b5a67463a794"],["WAPT/certificate.crt","a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf"],["WAPT/control","a7f238631d0f04082dd0876648c8ccbf9c45499f20bb37da8439e4921a45420f"]]