Skip to content

Instantly share code, notes, and snippets.

@andreagx
Last active March 23, 2021 09:31
Show Gist options
  • Select an option

  • Save andreagx/11f31a7a4f8490904b31aa163f141d42 to your computer and use it in GitHub Desktop.

Select an option

Save andreagx/11f31a7a4f8490904b31aa163f141d42 to your computer and use it in GitHub Desktop.
# Attenzione prima di mettere in pausa gli aggiornamenti leggere qui:
# https://www.kyoceradocumentsolutions.com/asia/en/about-us/press/20210317_news.html
#
# Defect Patch (March 9 Released)
# Windows 10 Ver.20H2/2004 : KB5000802
# Windows 10 Ver.1909/1903 : KB5000808
# Windows 10 Ver.1803 : KB5000809
# Windows 10 Ver.1809 : KB5000822
#
# Microsoft had released the countermeasure Patch on 18thMarch.
# Countermeasure Patch(18thMarch Release)
# Windows 10 Ver.20H2/2004 : KB5001567
# Windows 10 Ver.20H2/2004 : KB5001649
# Windows 10 Ver.1909/1903 : KB5001648
# Windows 10 Ver.1803  : KB5001634
# Windows 10 Ver.1809  : KB5001638
# Bypass execution policy
Set-ExecutionPolicy Bypass -Scope Process -Force
<#
# Sospendere Update fino 22/04/2021
$date = "2021-04-22T00:00:00Z"
Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings' -Name 'PauseUpdatesExpiryTime' -Value $date
# Controllo
Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings'| Select-Object PauseUpdatesExpiryTime
#>
# Deploy WA Module
Install-Module PSWindowsUpdate
#
get-wulist -Install -Verbose -Silent -AcceptAll
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment