Configure WSUS Server Address Using Regedit
This guide explains how to manually configure a client computer to
receive updates from a specific Windows Server Update Services (WSUS)
server by modifying the Windows Registry. Using the Registry Editor
(regedit), you can define the update server location and
reporting server, ensuring the machine bypasses default Microsoft Update
servers and points directly to your internal update infrastructure.
Step 1: Open Registry Editor
- Press
Windows Key + Rto open the Run dialog box. - Type
regeditand pressEnter(or click OK). - If prompted by User Account Control (UAC), click Yes to grant administrative privileges.
Step 2: Navigate to the Windows Update Key
Navigate to the following registry path using the left sidebar:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
Note: If the WindowsUpdate key does not exist under
Windows, right-click on Windows, select
New > Key, and name it
WindowsUpdate.
Step 3: Configure WSUS Server Addresses
Inside the WindowsUpdate key, you must create or modify
two String values:
- WUServer:
- Right-click an empty area in the right pane, select New >
String Value, and name it
WUServer. - Double-click
WUServerand enter your WSUS server URL (e.g.,http://wsus.yourdomain.local:8530orhttps://wsus.yourdomain.local:8531).
- Right-click an empty area in the right pane, select New >
String Value, and name it
- WUStatusServer:
- Right-click, select New > String Value, and name
it
WUStatusServer. - Double-click
WUStatusServerand enter the same URL used forWUServer.
- Right-click, select New > String Value, and name
it
Step 4: Enable WSUS in the AU Subkey
- Under the
WindowsUpdatekey, look for a subkey namedAU. If it does not exist, right-clickWindowsUpdate, select New > Key, and name itAU. - Select the
AUkey. - In the right pane, right-click and select New > DWORD (32-bit) Value.
- Name the value
UseWUServer. - Double-click
UseWUServer, set its Value data to1, and set the Base to Hexadecimal. Click OK.
Step 5: Restart the Windows Update Service
To apply the changes immediately, restart the Windows Update service:
Open Command Prompt as an Administrator.
Run the following commands:
net stop wuauserv net start wuauservTo trigger an immediate check against the newly configured WSUS server, run:
usoctl StartScan(For older Windows versions, use
wuauclt /detectnow /reportnow)