Difference between revisions of "Automate Windows Update"

From RiceFamily Wiki
Jump to: navigation, search
(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...")
 
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
 +
  
 
[[Category:Work]]
 
[[Category:Work]]

Revision as of 23:56, 19 June 2020

PowerShell Scripts

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