Sunday, November 22, 2015

disable window 10 update auto




powershell

Clear-Host
Write-Host "1 -> Never check for updates (not recommened)"
Write-Host "2 -> Check for updates but let me choose whether to download and install them"
Write-Host "3 -> Download updates but let me choose whether to install them"
Write-Host "4 -> Install updates automatically (recommended)"
Write-Host "Enter any character to exit"
Write-Host
switch(Read-Host "Choose Window Update Settings"){
       1 {$UpdateValue = 1}
       2 {$UpdateValue = 2}
       3 {$UpdateValue = 3}
       4 {$UpdateValue = 4}
       Default{Exit}
}
$AutoUpdatePath = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update"
Set-ItemProperty -Path $AutoUpdatePath -Name AUOptions -Value $UpdateValue




http://www.pctools.com/guides/registry/detail/1176/
Open your registry and find or create the key below.
Create the required DWORD values from table below:
Value: NoAutoUpdate


  • 0 - Enable Automatic Updates (Default)
  • 1 - Disable Automatic Updates
    Value: AUOptions
  • 2 - Notify for download and notify for install
  • 3 - Auto download and notify for install
  • 4 - Auto download and schedule the install
    Value: ScheduledInstallDay
  • 0 - Install every day
  • 1 to 7 - Install on specific day of the week from Sunday (1) to Saturday (7).
    Value: ScheduledInstallTime
  • 0 to 23 - Install time of day in 24-hour format
    Restart Windows for the changes to take effect.



  • The registry can be found in
    https://drive.google.com/file/d/0B2gSi3Jo8NCES09nSUNBdmUxMjA/view?usp=sharing


    No comments:

    Post a Comment