# Disable Windows Update

This guide explains how to disable Windows Update on a Windows Server 2022 system. Disabling updates can be helpful in scenarios where automatic updates may interfere with specific workflows or require manual control. Follow these steps carefully.<br>

### Step 1: Open PowerShell&#x20;

1. Press Win + S to open the search bar.
2. Type PowerShell.
3. Right-click on Windows PowerShell and select Run as Administrator.

### Step 2: Disable the Windows Update Service

1\. In the PowerShell window, run the following command to stop and disable the Windows Update service:

Set-Service -Name wuauserv -StartupType Disabled -Status Stopped

```powershell
Set-Service -Name wuauserv -StartupType Disabled -Status Stopped
```

• Set-Service: Modifies the configuration of a service.

• -Name wuauserv: Specifies the Windows Update service.

• -StartupType Disabled: Sets the service to not start automatically.

• -Status Stopped: Immediately stops the service.

### Step 3: Verify the Service Status

To confirm that the Windows Update service has been successfully disabled, use the following command:

```powershell
Get-Service -Name wuauserv

```

The output should indicate:

• Status: Stopped

• StartupType: Disabled

### Step 4: Optional - Re-enable Windows Update

If you ever need to re-enable Windows Update, you can do so by running the following command in PowerShell:

```powershell
Set-Service -Name wuauserv -StartupType Manual -Status Running
```

### **Important Notes**

{% hint style="warning" %}

1. Disabling Windows Update can leave your server vulnerable to security risks due to unpatched software. Use this option only when necessary and ensure updates are managed manually.
2. Make sure to document any changes to server configurations for future reference.
   {% endhint %}

This completes the guide to disabling Windows Update on Windows Server 2022. For any questions or further assistance, contact your system administrator or IT support team.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vibeshost.com/gtq/windows/disable-windows-update.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
