A tool that suppresses Windows Updates in build environments by disabling and stopping the Windows Update service (wuauserv).
NoUpdates continuously monitors the Windows Update service and ensures it stays disabled:
- Sets the Windows Update service startup type to Disabled
- Stops the service if it is currently running
- Rechecks every 10 minutes to ensure the service has not been re-enabled
This is useful for CI/CD build agents and test environments where unexpected Windows Updates can cause downtime, reboots, or unreliable builds.
- Windows operating system
- .NET 10.0 Runtime (or use the self-contained release)
- Administrator privileges -- the application requires elevated rights to manage Windows services (enforced via app manifest)
- Download the latest release from the Releases page
- Run
NoUpdates.Console.exeas Administrator - The tool runs in a loop and logs its actions to the console
# Clone the repository
git clone https://github.com/CleverCodeCravers/NoUpdates.git
cd NoUpdates
# Build
dotnet build Source/NoUpdates
# Run (requires Administrator privileges)
dotnet run --project Source/NoUpdates/NoUpdates.Console/NoUpdates.Console.csprojSource/NoUpdates/
NoUpdates.Console/ # Entry point (console application with admin manifest)
NoUpdates.BL/ # Business logic
NoUpdates.BL.Tests/ # Unit tests (xUnit)
NoUpdates.Infrastructure/ # Infrastructure layer
NoUpdates.Interfaces/ # Interfaces and abstractions
See LICENSE for details.