Difference between revisions of "Automate Windows Update"
From RiceFamily Wiki
(Created page with "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...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
* https://www.reddit.com/r/PowerShell/comments/cf893h/force_windows_updates/ | * https://www.reddit.com/r/PowerShell/comments/cf893h/force_windows_updates/ | ||
** Untested | ** Untested | ||
+ | |||
+ | = 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 | ||
[[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