Skip to content

Buddster124/Break-Windows-Update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

Description

This contains a power-shell script to disable, break, or restore windows update.

How to use

  1. Save RemoveWindowsUpdate.ps1 to your computer.
  2. Open an administrator powershell window.
  3. Navigate to where the script is saved. (cd C:\my_path\yada_yada)
  4. Run the script. (.\RemoveWindowsUpdate.ps1)

What each option does.

  1. Disable: This will disable BITS / wuauserv on start-up and it will stop the service. It will also move/rename qmgr.dll and wuaueng.dll.
  2. Renable: This will revert what the disable option did.
  3. Destroy: This will completly remove qmgr.dll and wuaueng.dll aswell as remove the windows update service completely.
  4. Destroy: At the moment this function only removes the wuauserv service. It will keep the .dll files in "C:\GHTemp\SystemFiles\WindowsUpdate", As you will need qmgr.dll for bits to work.

Notes

  1. The .dll files for windows update and bits are moved to "C:\GHTemp\SystemFiles\WindowsUpdate". If this directory is removed after disabling windows update, You will be unable to restore windows update.
  2. I would highly recommend making a restore point before running this script.
  3. If it complains about script policy you can ether use this tool "https://github.com/Buddster124/Powershell-Execution-Policy-Changer" or you can turn on script bypass with the following command "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine". You can revert this change after running the script by doing the following command "Set-ExecutionPolicy -ExecutionPolicy Default -Scope LocalMachine".
  4. If SFC is ran on the machine you will have to rerun this script as the SFC utility will readd the files.

Roadmap

  1. Create a GUI For the script and pack it into an exe.

About

This contains a power-shell script to disable, break, or restore windows update.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published