Difference between revisions of "Automate Windows Update"
From RiceFamily Wiki
Line 10: | Line 10: | ||
* Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord | * Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord | ||
* Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord | * Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord | ||
− | + | * Run the WindowsUpdate2.ps1 script | |
[[Category:Work]] | [[Category:Work]] |
Latest revision as of 00:17, 20 June 2020
PowerShell Scripts
- https://marckean.com/2016/06/01/use-powershell-to-install-windows-updates/
- Interesting
- Requires the NuGet module and I need to force it's install as well
Fixing the NewGet problem
- Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord
- Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord
- Run the WindowsUpdate2.ps1 script