TriFused - IT Stuff

Technology, Windows, Linux, and other IT Stuff

Wednesday, October 23, 2019

Check if Windows update is disabled

$(Get-ItemProperty -Path Registry::HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer -name NoWindowsUpdate).NoWindowsUpdate


if value = 1 then yes
0 = no

ref
https://docs.microsoft.com/en-us/powershell/scripting/samples/working-with-registry-entries?view=powershell-6


Auto Update Settings
$AUSettings = (New-Object -com "Microsoft.Update.AutoUpdate").Settings
$AUSettings



Posted by Lawrence Billinghurst at 5:12 PM
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

Lawrence Billinghurst
View my complete profile

Blog Archive

  • ►  2023 (7)
    • ►  August (1)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  February (1)
    • ►  January (2)
  • ►  2022 (18)
    • ►  December (11)
    • ►  October (1)
    • ►  September (1)
    • ►  July (1)
    • ►  June (1)
    • ►  February (2)
    • ►  January (1)
  • ►  2021 (4)
    • ►  November (1)
    • ►  January (3)
  • ►  2020 (8)
    • ►  December (2)
    • ►  September (1)
    • ►  March (2)
    • ►  February (1)
    • ►  January (2)
  • ▼  2019 (12)
    • ►  December (1)
    • ▼  October (2)
      • Check if Windows update is disabled
      • Email files via PowerShell
    • ►  September (1)
    • ►  August (5)
    • ►  July (2)
    • ►  April (1)
  • ►  2018 (1)
    • ►  December (1)
  • ►  2016 (8)
    • ►  April (4)
    • ►  March (4)
Simple theme. Powered by Blogger.