- Joined
- Mar 14, 2023
- Messages
- 42,815
It’s frustrating to get the same error after going through the in-place upgrade. The “The system cannot find the path specified” during the postinstall process suggests there are still path or configuration issues in IIS or WSUS. This can happen if WSUS cannot properly bind to its directories or if the content directory has a misconfiguration.
Steps to Troubleshoot Further:
Step 1: Review the Log File for Specific Errors
- Open the Log File:
- Check the mentioned log file (
C:\\Users\\DAdmin\\AppData\\Local\\Temp\\WSUS_PostInstall_20241209T151930.log
) for more detailed information. - Look for specific error messages that indicate which path or directory is causing the issue. Focus on entries that outline failed operations or specific paths that cannot be found.
- Check the mentioned log file (
Step 2: Verify the Content Directory
- Confirm the Path Exists:
- Double-check that the physical directory D:\WSUS\WSUSCONTENT exists and is accessible by the WSUS application and the user context running the
wsusutil
command.
- Double-check that the physical directory D:\WSUS\WSUSCONTENT exists and is accessible by the WSUS application and the user context running the
- Permissions:
- Ensure the following:
- Network Service has Modify and Read & Execute permissions on this directory.
- Right-click the directory, go to Properties > Security, and confirm permissions.
- Ensure the following:
Step 3: IIS Virtual Directories
- Open IIS Manager:
- Verify all WSUS-related directories are created:
- Right-click on WSUS Administration site and choose Explore—check whether virtual directories such as
Content
,SelfUpdate
, etc., point to correct paths.
- Right-click on WSUS Administration site and choose Explore—check whether virtual directories such as
- Verify all WSUS-related directories are created:
- Manually Create Missing Virtual Directories:
- If any are missing:
- Right-click on the WSUS Administration site > Add Virtual Directory for each necessary path:
- Alias:
Content
, Physical Path:D:\WSUS\WSUSCONTENT
- Other virtual directories from WSUS standard paths.
- If any are missing:
Step 4: Reconfigure WSUS without Damaging SCCM
You might need to run the following commands with a focus on skipping IIS configurations again, given the situation:- PostInstall with Safe Approach:
Bash:wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="ARIMGMT" CONTENT_DIR="D:\\WSUS\\WSUSCONTENT"
Step 5: Test Isolation of WSUS with IIS
- If WSUS is still failing, walk through removing all other bindings, then attempt to reestablish:
- Go to IIS > WSUS Administration and remove conflicting or incorrect binding entries.
- Add basic bindings for WSUS.
If All Else Fails
If none of the above works, we might explore a few other avenues:- Use a Clean Install of WSUS to see if the new configuration sets up properly without any old remnants that might be lingering.
- Consider temporarily removing SCCM Software Update Point, reconfigure WSUS separately, and then reintegrate after successfully setting up WSUS again.
Conclusion
Focus on reviewing the logs for granular errors; permissions and paths remain integral to resuming functionality. Let me know what the log reveals and any follow-up errors during reconfiguration. We’ll keep troubleshooting until we clear up this installation hitch!- Thread Author
- #102
Looks like our problems lie with IIS
From th elog
2024-12-09 10:19:35 Configuring IIS...
2024-12-09 10:19:35 Start: ConfigureWebsite
2024-12-09 10:19:36 System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at Microsoft.UpdateServices.Administration.UseCustomWebSite..ctor()
at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
at Microsoft.UpdateServices.Administration.PostInstall.Run()
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
From th elog
2024-12-09 10:19:35 Configuring IIS...
2024-12-09 10:19:35 Start: ConfigureWebsite
2024-12-09 10:19:36 System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at Microsoft.UpdateServices.Administration.UseCustomWebSite..ctor()
at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
at Microsoft.UpdateServices.Administration.PostInstall.Run()
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
- Joined
- Mar 14, 2023
- Messages
- 42,815
Thanks for sharing the new log details. Based on the log snippets, the COMException (0x80070003) error consistently indicates that WSUS is unable to find a specific path while trying to configure IIS during the postinstall process. This further emphasizes that the issue is indeed with your IIS configuration and virtual directories, which we need to sort out carefully, especially with the existing SCCM integration.
Steps to Resolve IIS-Related Issues for WSUS
Step 1: Verify IIS Configuration
- Open IIS Manager:
- Ensure that WSUS Administration is visible in the sites.
- Check the existing bindings.
- Check Virtual Directories:
- Right-click on WSUS Administration > Explore to view all virtual directories.
- Confirm the Content and other necessary directories are present and pointed to the correct locations (e.g.,
D:\WSUS\WSUSCONTENT
).
Step 2: Recreate Missing or Issue Virtual Directories
- If any virtual directories are missing or have incorrect configurations:
- Right-click on the WSUS Administration site > Add Virtual Directory.
- For each required path, use the following example:
- Alias:
Content
- Physical Path:
D:\WSUS\WSUSCONTENT
- Alias:
- Ensure that Directory Browsing is enabled for WSUS:
- Click on the site, then look for Directory Browsing in the middle pane and enable it if it is not already.
- Default Document:
- Make sure a default document exists (if needed, add
default.aspx
or a similar entry).
- Make sure a default document exists (if needed, add
Step 3: Adjust and Validate Permissions
- Review Permissions:
- Ensure that the
D:\WSUS\WSUSCONTENT
directory has permissions set to allowNETWORK SERVICE
or the account running the WSUS application pool.
- Ensure that the
Step 4: Remove and Re-add the WSUS Administration Site (if necessary)
If configurations seem too tangled or you're still facing issues:- Backup Current Settings:
- Back up the existing IIS configuration using:
Code:bash appcmd add backup "PreWSUSFix"
- Back up the existing IIS configuration using:
- Remove the WSUS Administration Site:
- Right-click the WSUS Administration site in IIS and choose Remove.
- Reconfigure WSUS:
- Rerun:
Code:bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
- Rerun:
Step 5: Review Logs for Further Issues
After adjustments or rebuilding:- Check WSUSSetup.log in:
Code:C:\Program Files\Update Services\LogFiles
- Look for additional errors that indicate what part of creating or configuring the site is failing.
Step 6: Confirm Functional Testing of WSUS and SCCM After Adjustments
- Test the WSUS connection:
- Verify HTTP access to WSUS endpoints in a browser:
- For example:
http://localhost:8530/ClientWebService/client.asmx
- Check that all virtual directories respond without errors now.
- Verify HTTP access to WSUS endpoints in a browser:
- Test the SCCM connection and functionalities afterwards.
Final Considerations
This focused troubleshooting should help isolate and resolve the IIS configuration issues WSUS is facing. Each adjustment will increase clarity over potential errors or configurations that might still be conflicting. Let me know how things go after these steps or if any specific errors persist—we’ll continue adapting until WSUS is fully operational!- Thread Author
- #104
- Joined
- Mar 14, 2023
- Messages
- 42,815
The command
If you have any more questions about IIS commands or further adjustments, feel free to ask!
appcmd add backup "PreWSUSFix"
is used to create a backup of your current IIS (Internet Information Services) configuration on your server. Here’s a breakdown of what it does and why it's useful:Understanding the Command
appcmd
: This is a command-line tool provided by IIS that allows you to manage the server settings, sites, application pools, and more through the command line.add backup
: This part of the command specifically tells IIS to create a backup of the current configuration state."PreWSUSFix"
: This is a name you assign to the backup. It can be any descriptive name that helps you recall what the backup contains. In this case, it references a state of the IIS configuration before taking any steps to fix WSUS.
Why Use This Command?
- Safety Precaution:
- Before making significant changes (like removing and recreating the WSUS site or altering core configurations), it’s a best practice to create a backup.
- If the changes lead to unintended consequences or errors, you can easily restore the previous state.
- Restoration:
- If issues arise with WSUS or other sites after you implement fixes, you can restore IIS to this saved state using:
Code:bash appcmd restore backup "PreWSUSFix"
- If issues arise with WSUS or other sites after you implement fixes, you can restore IIS to this saved state using:
- Configuration Management:
- Keeping a series of backups as you make cumulative changes helps maintain a clear path of changes, effectively acting like version control for your IIS configuration.
How to Use Backup and Restore
Here's what to do after creating a backup:- If you made an error (such as misconfiguring IIS or WSUS):
- Run:
Code:bash appcmd restore backup "PreWSUSFix"
- This will bring your IIS configuration back to how it was when the backup was created, allowing you to start over without losing existing configurations.
- Run:
Conclusion
This command is quite helpful for managing your IIS setup, especially when you're performing repeated adjustments or debugging issues like those we've faced with WSUS.If you have any more questions about IIS commands or further adjustments, feel free to ask!
- Thread Author
- #106
Still Error
024-12-09 10:33:17 Starting service W3SVC
2024-12-09 10:33:17 Configuring IIS...
2024-12-09 10:33:17 Start: ConfigureWebsite
2024-12-09 10:33:17 System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at Microsoft.UpdateServices.Administration.UseCustomWebSite..ctor()
at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
at Microsoft.UpdateServices.Administration.PostInstall.Run()
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
024-12-09 10:33:17 Starting service W3SVC
2024-12-09 10:33:17 Configuring IIS...
2024-12-09 10:33:17 Start: ConfigureWebsite
2024-12-09 10:33:17 System.Runtime.InteropServices.COMException (0x80070003): The system cannot find the path specified.
at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)
at System.DirectoryServices.DirectoryEntry.Bind()
at System.DirectoryServices.DirectoryEntry.get_AdsObject()
at System.DirectoryServices.PropertyValueCollection.PopulateList()
at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)
at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)
at Microsoft.UpdateServices.Administration.UseCustomWebSite..ctor()
at Microsoft.UpdateServices.Administration.PostInstall.ConfigureWebsite(Int32 portNumber)
at Microsoft.UpdateServices.Administration.PostInstall.Run()
at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
- Joined
- Mar 14, 2023
- Messages
- 42,815
The persistent COMException (0x80070003) error during the WSUS post-installation process indicates that IIS is still encountering issues finding a specified path. Given the logs you shared, it appears that WSUS’s configuration is failing specifically in the website configuration process, likely due to missing or incorrectly configured paths in IIS.
Feel free to share any new errors or log outputs here for further analysis. We’ll keep peeling this back until we get to the heart of the WSUS configuration problem!
Let's address this systematically:
Step 1: Review and Verify IIS Configuration
- Recheck All Virtual Directories:
- Open IIS Manager.
- Make sure the WSUS Administration site has the following virtual directories:
- Content
- SelfUpdate
- ApiRemoting30
- ClientWebService
- ServerSyncWebService
- DssAuthWebService
- Confirm the physical paths of each virtual directory point to valid locations.
- Confirm Paths Exist:
- For
Content
, it should be:
Code:D:\WSUS\WSUSCONTENT
- For SelfUpdate, it should be something like:
Code:C:\Program Files\Update Services\SelfUpdate
- If any directories are missing or incorrectly configured, rectify their settings or add them manually.
- For
Step 2: Manually Update or Recreate Virtual Directories
If the virtual directories are properly defined but still returning errors:- Remove & Recreate:
- Right-click the virtual directory that might be causing trouble (like Content) in the WSUS Administration site and remove it.
- Right-click on the WSUS Administration site > Add Virtual Directory:
- Alias:
Content
- Path:
D:\WSUS\WSUSCONTENT
- Alias:
- Repeat for any missing pertinent directories.
Step 3: Confirm IIS Permissions and Settings
- Permissions:
- Ensure
NETWORK SERVICE
and the WSUS application pool user have Read & Execute, List Folder Contents, and Read privileges on theD:\WSUS\WSUSCONTENT
folder.
- Ensure
- Default Document:
- Make sure the
Default Document
settings are configured correctly for each virtual directory in IIS under:- Click the directory > Default Document > Verify there’s something like
default.aspx
.
- Click the directory > Default Document > Verify there’s something like
- Make sure the
- Testing Access:
- Ensure you can access:
http://localhost:8530/ClientWebService/client.asmx
http://localhost:8530/SelfUpdate/
- If you can browse these pages, it confirms that IIS is functioning correctly.
- Ensure you can access:
Step 4: Check Application Pool Identity
- Make sure the Application Pool for WSUS (typically named
WsusPool
) is running under the right identity:- Open IIS Manager > Application Pools.
- Right-click on WsusPool > Advanced Settings:
- Set the Identity to
NetworkService
to allow WSUS to connect using the correct security context.
- Set the Identity to
Step 5: Retry Postinstall Command
Once you have confirmed all paths and permissions:- Rerun:
Code:bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
- If it still does not work, try with:
Code:bash wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
Final Check: Collecting More Information
If it fails again:- Check the WSUSSetup.log for further information relating to specific paths it’s trying to bind to.
- Look through the IIS logs under:
Code:
C:\inetpub\logs\LogFiles
- Thread Author
- #108
- Joined
- Mar 14, 2023
- Messages
- 42,815
Thank you for the update! Since the virtual directories are showing as application icons instead of regular folder icons in IIS, it indicates that they are set up as application folders rather than standard static content directories. This discrepancy can contribute to the ongoing issues and errors you're experiencing during the WSUS setup.
Step-by-Step Resolution:
Step 1: Verify Application Configuration
- Open IIS Manager:
- Select each of the virtual directories: ApiRemoting30, ClientWebService, ServerSyncWebService, and DssAuthWebService.
- Check Application Configuration:
- Right-click on each of these directories and choose Convert to Application (if this option is present):
- Make sure they are pointing to:
Code:bash C:\Program Files\Update Services\WebServices\DssAuthWebService
- Make sure they are pointing to:
- Right-click on each of these directories and choose Convert to Application (if this option is present):
- If they are already set as applications:
- Click on each virtual directory, and check in the Actions pane if it says “Remove Application” or “Convert to Application.” This will confirm the application status.
Step 2: Browse Directly to the Web Service Endpoints
- Directly Access the URLs:
In a web browser, attempt to navigate to:http://localhost:8530/ApiRemoting30/
http://localhost:8530/ClientWebService/
http://localhost:8530/ServerSyncWebService/
http://localhost:8530/DssAuthWebService/
- If they’re browsing correctly (not resulting in 403 or similar errors), this indicates the service endpoints are active.
Step 3: Remove and Recreate Virtual Directories (If Required)
If the application directories still do not respond correctly:- Right-click on each problematic directory (the application icons) and choose Remove (if you have backups).
- Recreate the Virtual Directories Manually:
For each service:- Right-click on WSUS Administration > Add Virtual Directory:
- Alias: ApiRemoting30, Path:
Code:C:\Program Files\Update Services\WebServices\ApiRemoting30
- Alias: ApiRemoting30, Path:
- Repeat for ClientWebService, ServerSyncWebService, and DssAuthWebService.
- Right-click on WSUS Administration > Add Virtual Directory:
Step 4: Run the Postinstall Command Again
After adjustments:- Retest by running:
Code:bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
- If that still doesn’t work, try with the option to skip IIS configuration:
Code:bash wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
Step 5: Review Log Files Again
If errors persist after these actions, return to:- WSUSSetup.log for error contexts.
- Review the IIS logs for any clues coming from failed requests to virtual directories.
Final Notes
By ensuring that these virtual directories are correctly configured as needed for WSUS, we should clarify any existing issues causing “the system cannot find the path specified.” Let me know how these steps work out, and I’ll be here for further assistance!- Joined
- Mar 14, 2023
- Messages
- 42,815
Thanks for the clarification! Since you mentioned that the virtual directories for WSUS are showing as application icons (indicating they are recognized as IIS applications) but you can still explore to them via IIS, we can work with that setup without removing them outright.
Steps to Address the Current Situation
Step 1: Verify Application Settings
- Open IIS Manager:
- Select each of the virtual directories: ApiRemoting30, ClientWebService, ServerSyncWebService, and DssAuthWebService.
- Check Application Pool:
- Ensure each virtual directory is correctly associated with the WsusPool application pool:
- To check, right-click each virtual directory and select Convert to Application if it's not already done.
- Make sure it points to
WsusPool
as its application pool.
- Ensure each virtual directory is correctly associated with the WsusPool application pool:
- Check Directory Permissions:
- Right-click on each virtual directory > Edit Permissions:
- Under Security, confirm that Network Service or the account running the IIS application pool has sufficient permissions (Read and Execute).
- Right-click on each virtual directory > Edit Permissions:
Step 2: Configure Required IIS Features
- Ensure Required IIS Features Are Installed:
- Open Server Manager > Add Roles and Features.
- Under Web Server (IIS), ensure the following features are installed:
- Application Development:
- ASP.NET
- ISAPI Extensions
- ISAPI Filters
- Common HTTP Features:
- Static Content
- Default Document
- Management Tools:
- IIS Management Console
Step 3: Test Each Virtual Directory for Access
Go to a web browser and access the endpoints for each service:- Navigate to:
http://localhost:8530/ApiRemoting30/
http://localhost:8530/ClientWebService/
http://localhost:8530/ServerSyncWebService/
http://localhost:8530/DssAuthWebService/
Step 4: Retry WSUS Postinstall with Adjustments
If everything seems correct with the directories:- Attempt running the postinstall command again:
Code:bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
- If errors persist, use:
Code:bash wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
Step 5: Assess Logs for Additional Information
If you still encounter issues during the postinstall:- Review the WSUSSetup.log again for any new errors that detail what's failing during the second run.
- Check reachability in the IIS logs for failed requests, particularly for the WSUS applications.
Final Thoughts
Confirming that the directory structure is optimized for proper application settings without conflicting with SCCM is key here. You are doing a thorough job navigating this, and it will pay off! Let me know how each step turns out, and we'll continue to modulate our approach based on your findings.- Thread Author
- #111
- Joined
- Mar 14, 2023
- Messages
- 42,815
If the WSUSSetup.log file is missing, that indicates WSUS hasn't been able to complete its setup process properly, which can happen if there were significant errors earlier in the installation. However, we can still gather useful information from other sources. Here's how to move forward:
Let me know how each of the above checks goes, and if any log insights or errors arise, I’m here to help sift through any specifics and push towards a resolution!
Steps to Diagnose WSUS Issues Without the WSUSSetup.log
Step 1: Review Available Log Files
- Check Other Log Files in the WSUS Directories:
- Look in this directory:
Code:C:\Program Files\Update Services\LogFiles\
- Other log files to check could be:
- Change.log
- SoftwareDistribution.log
- Look in this directory:
- Check IIS Logs:
- Open the directory:
Code:C:\inetpub\logs\LogFiles\W3SVC1\
- Look for recent log entries related to WSUS requests, especially around the time you tried to run the
postinstall
. Note down any 403, 404, or other errors that might elucidate problems.
- Open the directory:
- CBS.log:
- Since we collected CBS logs earlier when running DISM, they can provide insight into issues that might be affecting WSUS. Look for entries related to WSUS or IIS.
- SCCM Logs:
- If SCCM is tightly integrated and you believe it may be affecting WSUS:
- Verify if relevant SCCM logs indicate issues with the Software Update Point (SUP).
Step 2: Check IIS Configuration
Since the log is not present:- Recheck IIS Settings:
- Ensure all WSUS-related virtual directories are present and correctly configured in IIS Manager.
- Confirm Application Settings:
- Right-click each virtual directory and ensure they are created as applications pointing to the correct physical paths (as discussed in previous messages).
Step 3: Use PowerShell to Verify IIS and WSUS Configuration
- List IIS Sites:
- Run in PowerShell (Admin):
Code:powershell Get-WebSite | Select Name, PhysicalPath
- This should confirm if the WSUS Administration site is correctly configured.
- Run in PowerShell (Admin):
- List Virtual Directories:
Optionally, get a list of application instances in WSUS to verify they exist:
Code:powershell Get-WebApplication -Site "WSUS Administration"
Step 4: Manually Configure WSUS Settings (If Necessary)
- If you need to recreate the WSUS Administration site in a controlled way:
- Proceed with caution, ensuring that you don't affect SCCM configurations.
- Run the Postinstall Command Again with Caution:
- If all checks seem good, retry the necessary command under appropriate privileges:
Code:bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
- If issues arise again:
Code:bash wsusutil.exe postinstall -skipIISConfig SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
- If all checks seem good, retry the necessary command under appropriate privileges:
Final Note
While the absence of the WSUSSetup.log is a bit of a setback, by leveraging the other logs and confirming IIS configurations, we can still triangulate the sources of the problems you're facing.Let me know how each of the above checks goes, and if any log insights or errors arise, I’m here to help sift through any specifics and push towards a resolution!
- Thread Author
- #113
- Joined
- Mar 14, 2023
- Messages
- 42,815
Yes, you can back up both sites—including WSUS Administration and any other web applications like HP Automatic Updates—before uninstalling and reinstalling IIS. This can be a useful strategy if you suspect that there may be corruption or configuration issues with IIS that are affecting your WSUS setup.
Here’s How to Proceed:
Step 1: Backup Your IIS Configuration
Usingappcmd
, you can create backups of your current configuration, including all sites and virtual directories.- Open Command Prompt as Administrator.
- Create Backups:
To create a backup of your IIS configuration, you can run:
Code:bash appcmd add backup "IISConfigBackup"
- You can replace "IISConfigBackup" with any descriptive name you like (e.g.,
PreWSUSFix
). - This will capture the current state of IIS.
- You can replace "IISConfigBackup" with any descriptive name you like (e.g.,
Step 2: Backup Specific Sites
- Individually Backup Site Settings:
To back up specific sites (like WSUS and HP):
a. First, find the site ID:
Code:bash appcmd list sites
Code:bash appcmd add backup "WSUSBackup" --site.name:"WSUS Administration" appcmd add backup "HPBackup" --site.name:"HP Automatic Updates"
Step 3: Uninstall IIS
- Open Server Manager:
- Go to Roles and Features.
- Remove IIS:
- Uninstall the Web Server (IIS) role entirely.
- Follow prompts to remove features related to the web server.
Step 4: Reinstall IIS
- Reinstall IIS via Server Manager:
- Add the feature back. Make sure to include all necessary sub-features required for WSUS and any other applications you might use.
- Confirm Successful Installation:
- Check in IIS Manager post-installation to ensure it’s functioning properly.
Step 5: Restore Backed-up Sites
- Restore Your IIS Sites:
- Use the following command to restore from your backup:
Code:bash appcmd restore backup "IISConfigBackup"
- Ensure you restore each site individually if you did specific backups, or restore the complete IIS config.
- Use the following command to restore from your backup:
- Reboot the Server as Necessary.
Final Considerations
- Confirm Directories: After restoring, double-check physical paths associated with the WSUS and other sites to ensure they are still accurate.
- Check Application Pools: Ensure application pools are accurately set to run under the appropriate identities (e.g.,
NetworkService
). - Verify Functionality: Finally, check WSUS and HP updates to ensure they both operate correctly after the reinstall.
- Thread Author
- #115
- Joined
- Mar 14, 2023
- Messages
- 42,815
Understood! Restoring the server from the weekend backup is a sound approach, especially if you’ve encountered issues since then. Here’s a streamlined plan to follow once the restore is complete:
Let me know when the restore is complete, and we can evaluate how smoothly the site configuration unfolds!
Steps After Server Restore
- Verify the Restore:
- Ensure that the server functions as expected after the restore.
- Check that the WSUS administration site and its virtual directories are back in the correct configurations.
- Test WSUS Functionality:
- After restore, attempt to access the WSUS console via IIS:
- Navigate to
http://:8530/WSUSAdmin
.
- Check for any issues or warning messages.
- Navigate to
- Backup IIS Configuration (if things look stable):
- If WSUS starts without error after the restore, create backups of your current IIS configuration and sites again:
Code:bash appcmd add backup "PostRestoreBackup"
- If WSUS starts without error after the restore, create backups of your current IIS configuration and sites again:
- Uninstall and Reinstall IIS (once you verify the restore):
- If the WSUS site returns the same error as before after trying to access it, proceed to uninstall IIS entirely.
- Use Server Manager > Roles and Features to remove Web Server (IIS).
- After removal, restart your server.
- If the WSUS site returns the same error as before after trying to access it, proceed to uninstall IIS entirely.
- Reinstall IIS:
- Use the Add Features option in Server Manager to reinstall IIS.
- Ensure to select all relevant features needed for WSUS as you reinstall.
- Run Postinstall Command for WSUS:
- After successfully installing IIS, rerun the WSUS postinstall command:
Code:bash wsusutil.exe postinstall SQL_INSTANCE_NAME="YourInstanceName" CONTENT_DIR="D:\WSUS\WSUSCONTENT"
- If issues persist during this operation, consider using the
-skipIISConfig
option.
- After successfully installing IIS, rerun the WSUS postinstall command:
- Verify Functionality:
- After completing these steps, access the WSUS console and ensure it operates without the previous errors.
- Confirm all virtual directories are present and functioning properly.
- After restore, attempt to access the WSUS console via IIS:
Final Note
Restoring from a backup is often the cleanest way to address complex issues when configurations become tangled. Once you’ve restored and uninstalled/reinstalled IIS, that should help set a fresh stage for WSUS to function correctly.Let me know when the restore is complete, and we can evaluate how smoothly the site configuration unfolds!
- Thread Author
- #117
- Joined
- Mar 14, 2023
- Messages
- 42,815
No problem at all! Take your time with the restoration—it’s a crucial step to ensure everything is in a good state before continuing on with WSUS configuration. Here’s a quick recap of what to focus on once the restoration is complete:
Immediate Actions Post-Restoration:
- Verify the System Status:
- Once the restoration is finished, check the overall functionality of the server.
- Make sure that core services are running as expected.
- Test Access to WSUS:
- Attempt to access the WSUS administration console via the browser.
- Navigate to:
Code:http://:8530/WSUSAdmin
- Verify if you encounter the previous errors or a fresh state.
- Backup the Current Configuration:
- If everything works smoothly after the restore, back up the current IIS configuration before proceeding with any changes.
- Plan for IIS Reinstallation and WSUS Configuration:
- If errors return, proceed to uninstall and reinstall IIS without affecting your SCCM setup.
- Follow the steps back to
wsusutil.exe postinstall
afterward.
No Rush
It's wise to ensure the restoration process is done properly before any further troubleshooting. Once you're successful with that part, feel free to update me, and we can proceed with the next steps for WSUS configuration!- Thread Author
- #119
http://arimgmt:8530/WSUSAdmin produces 404.0 Not found
- Joined
- Mar 14, 2023
- Messages
- 42,815
A 404.0 Not Found error when trying to access the WSUS Administration Console indicates that either the URL is incorrect or the necessary web application in IIS may not be set up properly. This can happen if WSUS is misconfigured or if the virtual directory is missing or not correctly mapped in IIS.
Here are the steps to troubleshoot the 404 error effectively:
Here are the steps to troubleshoot the 404 error effectively:
Step 1: Verify the WSUS Application Existence in IIS
- Open IIS Manager:
- Type
inetmgr
in the Run dialog (Windows + R) to open IIS Manager.
- Type
- Check the Sites and Application:
- Look for the WSUS Administration site under Sites.
- Confirm that it is listed and that it’s using the correct bindings:
http
on port 8530.
- Review the Virtual Directories:
- Expand WSUS Administration and ensure the following virtual directories are there:
ClientWebService
ApiRemoting30
ServerSyncWebService
DssAuthWebService
Content
(ensure this points toD:\WSUS\WSUSCONTENT
).
- If any of these directories are missing, then that could be the source of your 404 error.
- Expand WSUS Administration and ensure the following virtual directories are there:
Step 2: Verify the Physical Paths
- Confirm Configuration for Each Virtual Directory:
- Right-click on each virtual directory and select Explore to check that the physical path resolves correctly.
- If ClientWebService or others return 404:
- Right-click the virtual directory > Remove, then Add Virtual Directory again:
- For ClientWebService:
- Alias:
ClientWebService
- Physical Path:
C:\Program Files\Update Services\WebServices\ClientWebService
- Alias:
- Repeat for all other directories that may be missing or misconfigured.
Step 3: Browse the Directories Directly
- Direct Access Test:
- Try accessing the following URLs directly:
http://arimgmt:8530/ClientWebService/client.asmx
http://arimgmt:8530/SelfUpdate/
- This will help identify if it's a general WSUS problem or specific to the Administration Console.
- Try accessing the following URLs directly:
- Check IIS Errors:
- Look in the IIS logs located under:
Code:C:\inetpub\logs\LogFiles\W3SVC1\
- Review log entries corresponding to your access attempts.
- Look in the IIS logs located under:
Step 4: Restart IIS
- After making adjustments, restart IIS to apply any changes made:
Code:bash iisreset
Final Step: Retry Access to WSUS Console
- After completing the above steps, retry accessing:
Code:http://arimgmt:8530/WSUSAdmin
Summary
The 404 error is typically a sign of a missing application or incorrectly configured path in IIS. By verifying the existence and configuration of WSUS’s virtual directories, we can get to the root of the problem. Let me know how this goes, and we’ll continue to adapt our approach based on those outcomes!Similar threads
- Replies
- 0
- Views
- 3K
- Solved
Windows 7
Complex Problem with Windows 7 (again)
- Replies
- 30
- Views
- 5K