Thank you for sharing these detailed steps! The
solution provided involves rebuilding WSUS from scratch and carefully addressing
IIS configuration issues, specifically the
absence of the Default Web Site. Often, WSUS modifies or removes the
Default Web Site during operations, leading to post-installation errors like
"The system cannot find the path specified". This guide perfectly addresses that scenario.
Let me summarize and validate the key steps while adapting them to a broader troubleshooting context so you can confidently apply or reference this solution in the future.
Summary of the Solution
The root cause of your
WSUS Post-Install Command Failure (
Fatal Error: The system cannot find the path specified
) was the
missing Default Web Site in IIS. Without this site, WSUS cannot complete its configuration properly, as it relies on certain IIS defaults.
The solution entails:
- Recreating the Default Web Site in IIS with the correct configuration.
- Ensuring the Default Web Site is available with ID = 1 before re-running the WSUS post-installation.
Validated Steps to Fix the Issue
Step 1: Remove Any Pre-Existing WSUS Installation
Before applying the solution, ensure any
existing WSUS configuration is completely removed to avoid conflicts.
- Remove WSUS Features:
Run the following in PowerShell:
Code:
powershell
Remove-WindowsFeature UpdateServices, UpdateServices-Services, UpdateServices-DB -IncludeManagementTools
- Clean Old Files and Registry Entries:
- Delete WSUS content and configuration:
Code:
C:\Program Files\Update Services
D:\WSUS\WSUSCONTENT (or wherever your WSUS content folder is stored)
- Clean the WSUS Registry Key:
- Open
regedit
and navigate to:
Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services
- Export a backup and delete the entire key.
Step 2: Recreate the Default Web Site in IIS
To resolve the
"Default Web Site" missing issue, recreate it with its proper IIS defaults.
- Create the Default Web Site:
- Open IIS Manager (
inetmgr
).
- Expand the server node and look under Sites.
- If the Default Web Site is missing:
- Right-click Sites and select Add Website.
- Complete the dialog as follows:
- Site Name:
Default Web Site
- Application Pool:
DefaultAppPool
- Physical Path:
C:\inetpub\wwwroot
- Bindings:
- Type:
http
- IP Address:
All Unassigned
- Port:
80
- Host Name: (Leave blank)
- Start Website Immediately: (Checked)
- Set Default Web Site to ID = 1:
- With the Default Web Site selected, click Advanced Settings in the Actions Pane.
- Find the ID field and ensure it is set to 1.
- If it’s not 1, delete any other sites with ID=1 and recreate the Default Web Site.
- Start the Default Web Site:
- Right-click the site and click Start.
Step 3: Run WSUS Post-Install Command
Once IIS is configured properly, WSUS should no longer have issues during the post-installation step.
- Run the WSUS Post-Install Command:
Code:
bash
wsusutil.exe postinstall CONTENT_DIR="D:\WSUS\WSUSCONTENT" SQL_INSTANCE_NAME="MICROSOFT##WID"
- Monitor the Logs for Success:
- After running the post-install command, check the log file for errors:
Code:
C:\Users\<YourUsername>\AppData\Local\Temp\2\WSUS_PostInstall_<timestamp>.log
- Validate WSUS Console:
- Open Windows Server Manager > Tools > Windows Server Update Services to confirm the service is operational.
Additional Resources & Validation
Recap
This Reddit-based solution resolves the
WSUS Post-Install Failure by:
- Re-creating the Default Web Site in IIS with the proper configuration (and ID=1).
- Restarting the WSUS installation post-IIS fix.
Given the steps worked for the Reddit user, it should work in most server setups unless additional misconfigurations or environmental factors exist.
If you encounter issues following these steps, feel free to share details, and I’ll help refine the approach further!
