Install and Configure WSUS on Windows Server
In this article
Yes, you can install and configure WSUS (Windows Server Update Services) on Windows Server to centrally manage and distribute Microsoft updates across your network. This guide walks you through the entire process, from prerequisites to post-installation configuration, with troubleshooting and tips included.
What You'll Need
- A Windows Server (2016, 2019, or 2022) with at least 2 CPU cores, 4 GB RAM, and 40 GB free disk space (more if you plan to store many updates).
- Administrator credentials on the server.
- A stable internet connection to download updates from Microsoft.
- Optional but recommended: a separate drive or partition for the WSUS content store (where update files are saved).
- If you plan to use SSL, you'll need a certificate from your internal CA or a public CA.
Step-by-Step
- Install the WSUS role – Open Server Manager, click Add roles and features, select Role-based or feature-based installation, choose your server, and under Windows Server Update Services check the box. When prompted, include WSUS Services and Database (choose WID if you don't have SQL Server). Leave the default features selected and complete the wizard.
- Run the WSUS post-installation wizard – After installation, Server Manager will show a notification. Click it and select Launch Post-Installation Tasks. This creates the database and configures IIS. Wait for it to finish; it may take several minutes.
- Open the WSUS console – From Server Manager, click Tools > Windows Server Update Services. The WSUS console will open, and the WSUS Configuration Wizard starts automatically.
- Choose a database – The wizard asks if you want to use Windows Internal Database (WID) or a SQL Server instance. For most setups, select Install a local database using Windows Internal Database. If you have SQL Server, choose the second option and provide the connection string.
- Select the update storage location – Choose Store updates locally if you want to download update files to the server (recommended for most networks). Specify a path, e.g.,
D:\WSUS. If you choose Do not store updates locally, clients will download updates directly from Microsoft, which defeats the purpose of WSUS. - Connect to Microsoft Update – The wizard asks if you want to connect to Microsoft Update. Select Connect to Microsoft Update to synchronize update metadata. If you have an upstream WSUS server, choose the other option and enter its name.
- Set proxy settings (if needed) – If your network uses a proxy to access the internet, enter the proxy server name and port. Otherwise, leave blank and click Next.
- Start the initial synchronization – Click Start Connecting to begin the first sync. This downloads the list of available updates and can take a while (from 15 minutes to a few hours depending on your connection). You can monitor progress in the WSUS console under Synchronizations.
- Configure products and classifications – After the initial sync, go to Options > Products and Classifications. Select the Microsoft products you want to update (e.g., Windows Server 2022, Windows 11, Office). Under Classifications, choose the types (Critical Updates, Security Updates, etc.). Click OK to save.
- Set the synchronization schedule – Under Options > Synchronization Schedule, check Synchronize automatically and set a daily time (e.g., 2:00 AM). This ensures WSUS regularly checks for new updates.
- Configure client targeting – To control which updates go to which computers, go to Options > Computers. Choose either Use the Update Services console (manual) or Use Group Policy or registry settings (recommended for larger networks). If you choose the latter, you'll set up Group Policy later.
- Create computer groups (optional) – In the WSUS console, right-click All Computers and select Add Computer Group. Create groups like "Workstations" and "Servers" to organize updates.
- Configure automatic approval rules – Under Options > Automatic Approvals, you can create rules to automatically approve updates for specific groups. For example, approve all Critical and Security updates for the "Workstations" group. Click New Rule and follow the wizard.
- Point clients to WSUS via Group Policy – On a domain controller (or on the WSUS server if it's a DC), open Group Policy Management, create a new GPO, and edit Computer Configuration > Policies > Administrative Templates > Windows Components > Windows Update. Set Specify intranet Microsoft update service location to Enabled and enter the WSUS server URL (e.g.,
http://wsus01). Also set Automatic Updates configuration to Enabled and choose a schedule (e.g., auto-download and schedule install). Link the GPO to the OU containing your computers. - Force a Group Policy refresh – On a test client, run
gpupdate /forcein an elevated command prompt, then wait a few minutes and check if it appears in the WSUS console under Computers. - Approve and deploy updates – In the WSUS console, go to Updates > All Updates. Use the search and filters to find updates you want to deploy. Right-click an update and select Approve. Choose the group(s) and set a deadline if desired. Click OK.
Common Mistakes
- Choosing the wrong database option – Selecting SQL Server without having it installed will cause the wizard to fail. Stick with WID unless you have a SQL instance ready.
- Storing updates on the system drive – This can fill up the C: drive quickly. Always use a separate drive with ample space.
- Forgetting to configure products and classifications – If you skip this, WSUS will sync all Microsoft products, which is unnecessary and can bloat the database.
- Not setting a synchronization schedule – Without a schedule, WSUS only syncs manually, so updates will become stale.
- Clients not pointing to WSUS – If you don't configure Group Policy, clients will still use Windows Update directly. Double-check the GPO settings and that the WSUS URL is correct.
- Approving updates without testing – Approving everything immediately can break applications. Always test in a pilot group first.
Tips
- Use a dedicated drive for WSUS content and ensure it has at least 100 GB if you plan to store updates for multiple products.
- Create a separate computer group for test machines and approve updates there first.
- Regularly run the Server Cleanup Wizard (found under Options) to remove obsolete updates and free up disk space.
- If you have multiple sites, consider setting up a downstream WSUS server to reduce WAN bandwidth.
- Monitor WSUS health with the built-in reports under Reports to see compliance status.
- Keep the WSUS server itself up to date by approving its own updates.
Troubleshooting
- Clients not showing up in WSUS – First, verify the client can reach the WSUS server (try
http://wsus01in a browser). Check the Windows Update service on the client. Rungpresult /rto confirm the GPO applied. Also check the Windows Update log (%windir%\WindowsUpdate.logorGet-WindowsUpdateLog). - Synchronization fails – Check the WSUS server's internet connection. If you have a proxy, ensure the proxy settings are correct in the WSUS console. Also verify that the firewall on the WSUS server allows outbound HTTPS (port 443) to Microsoft.
- Disk space running low – Run the Server Cleanup Wizard to delete superseded updates. Also consider moving the content store to a larger drive (you can change the location in Options > Update Files and Languages).
- WSUS console errors – If the console fails to load, restart the WSUS service (WsusService) and the IIS services. Also check the Windows Event Log for related errors.
- Updates not downloading to clients – Ensure the updates are approved and that the clients are in the correct group. Also verify that the WSUS server has enough disk space to store the update files.
- Port 8530 vs 8531 – By default, WSUS uses port 8530 for HTTP and 8531 for HTTPS. Make sure your GPO URL matches the port you configured. If you didn't change anything, it's 8530.
Frequently Asked Questions
Can I install WSUS on a domain controller?
Yes, it's possible, but it's not recommended for performance and security reasons. A dedicated server is better.
How much disk space do I need for WSUS?
It depends on the number of products and classifications you select. A typical small network can use 50-100 GB; larger networks may need 500 GB or more.
Can I use WSUS to update third-party software?
No, WSUS only handles Microsoft products. For third-party updates, you'd need a separate patch management solution.
Do clients need to be on the same domain?
Yes, WSUS relies on Active Directory Group Policy for client configuration. Workgroup clients can be configured via registry, but it's more complex.
Can I have multiple WSUS servers?
Yes, you can set up a hierarchy with a central server and downstream servers for branch offices. Each downstream server syncs from the upstream server.
How often should I synchronize WSUS?
Daily is typical. You can set multiple sync times per day if needed, but daily is sufficient for most environments.