Giter Club home page Giter Club logo

windows-update-disabler's Introduction

Windows Update Disabler

โšก The one-click way to disable auto updates for good, without leaving leftover stuff running in the background.

Warning

Before you run this script, you must check if Windows is fully updated and isn't currently installing or downloading updates!

How to Use

Simple!

  1. Clone this repository or download it as a ZIP file and extract it.
  2. Check if there are no updates currently being installed! (Settings > Update & Security > Windows Update)
  3. Run "disable updates.bat" and Windows will never update automatically again.

You can run "reenable updates.bat" to undo the changes and allow Windows to update automatically again.

Recommended Way of Updating

  1. Run "reenable updates.bat" to re-enable Windows Update
  2. Update Windows from settings (Settings > Update & Security > Windows Update)
  3. Run "disable updates.bat"

Manually Update Windows

Tested for Windows 10 only:

  1. Run "manual update.bat" to re-enable Windows Update Service (which is essential for installing updates)
  2. Download the Windows 10 Update Assistant from the official Microsoft website and use it to install updates.
  3. After updating, uninstall the assistant
  4. Rerun the disabler script

What It Does

  • Disables the Windows Update Service (wuauserv).
  • Disables the Update Orchestrator Service (UsoSvc).
  • Disables the Windows Update Medic Service (WaaSMedicSvc).
  • Disables all update-related scheduled tasks.
  • Disallows auto-updates through registry changes.

Why is PsExec Needed?

Some of the services and tasks involved are protected from user accounts, and they require elevated system privileges to be modified. PsExec allows the script to run commands with the necessary permissions to bypass these restrictions.

PsExec is part of the official Sysinternals suite from Microsoft. More info: https://docs.microsoft.com/en-us/sysinternals/downloads/psexec

windows-update-disabler's People

Contributors

tsgrgo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.