Standalone WSUS server updates stuck in downloading status

David Zemdegs 1,591 Reputation points
2023-05-29T23:14:34.03+00:00

I have setup an offline WSUS server and followed the instructions as per:

https://learn.microsoft.com/en-us/mem/configmgr/sum/get-started/synchronize-software-updates-disconnected

I have also ensured the settings are the same i.e. language etc.

The content on the export and import server is in the exact same path D:\WSUS\WSUSCONTENT

After importing and approving updates on the offline WSUS server, all updates are stuck in the 'downloading' file status. Why is that?

Thanks

David Z

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,797 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
13,227 questions
0 comments No comments
{count} vote

4 answers

Sort by: Most helpful
  1. Khaled Elsayed Mohamed 1,290 Reputation points
    2023-05-30T08:44:44.85+00:00

    Hi David

    If you have set up an offline WSUS (Windows Server Update Services) server and followed the instructions to synchronize software updates in a disconnected environment, but the updates are stuck in the "downloading" file status, there could be several reasons for this issue. Here are a few possible causes and solutions:

    1. Misconfiguration of the WSUS server: Double-check the configuration of your WSUS server, including the synchronization settings, update classifications, and languages. Ensure that the WSUS server is properly configured to synchronize the updates you need for your environment.
    2. Firewall or network connectivity issues: Make sure that the WSUS server has the necessary network connectivity to reach the upstream update source or the source where you exported the updates from. Check if any firewalls or network restrictions are blocking the WSUS server's access to the internet or the import server.
    3. Incorrect update source location: Confirm that the WSUS server is pointing to the correct location of the downloaded updates. Verify that the content directory path on the WSUS server matches the location where you exported the updates.
    4. Permissions and access rights: Ensure that the WSUS service account has appropriate permissions to access the content directory and download updates. Check the security settings on the content directory to verify that the WSUS service account has the necessary permissions.
    5. Update metadata mismatch: In some cases, if the metadata (such as update IDs or revision numbers) of the exported updates does not match the metadata expected by the WSUS server, it can cause issues with downloading the updates. Ensure that the exported updates contain the correct metadata that matches the WSUS server's expectations.
    6. Software update synchronization issues: Monitor the WSUS synchronization process and check the synchronization logs for any errors or warnings. Review the WSUS synchronization settings and make sure they align with the exported updates.

    If you have verified these aspects and the updates are still stuck in the "downloading" status, further investigation may be needed. Consult the WSUS logs (such as SoftwareDistribution.log and WCM.log) located in the WSUS installation directory for more detailed information about the download process and any encountered errors.

    Additionally, consider checking the Windows Event Viewer for any relevant error messages related to WSUS synchronization or content downloading. These logs can provide additional insights into the specific cause of the issue.

    If the problem persists, you may need to seek assistance from Microsoft support or consult the Microsoft TechNet forums for more specialized guidance on troubleshooting WSUS synchronization and update downloading issues in a disconnected environment.


  2. Ravo Maminirina RABEARISOA 11 Reputation points
    2023-05-30T09:25:37.96+00:00

    Hi,

    The updates are stuck on the client side ?
    Have you checked the windowsupdate log on client side ?


  3. Adam J. Marshall 9,511 Reputation points MVP
    2023-06-05T15:21:57.8433333+00:00

    Check the permissions of your WsusContent folder against this:

    https://www.ajtek.ca/wsus/wsus-permissions-wsuscontent-registry-and-iis/

    If it's all good, run a wsusutil reset on the ONLINE system - perhaps it didn't download everything properly. This will cause the online system to check and verify all files are downloaded properly and are not corrupted. After this is finished (wait 24 hours), run another wsusutil export and import on the disconnected system. Ensure to copy the WHOLE WsusContent folder from the ONLINE system to the disconnected system.


  4. Dijo Joseph 0 Reputation points
    2023-11-21T23:14:42.03+00:00

    We had the similar issue on Online WSUS Server - Windows Server 2019. We resolved it by

    1. Deleted the WSUS content folder and Restarted WsusService
      (Followed this page - https://www.10it.pl/qa-23-force-wsus-server-to-download-patches-once-again/)
      Still the Download was really slow.
    2. Change the BitDownloadpriority and Saved the Config. Then Restarted the Server. Then download was much faster and completed.
      (https://www.saotn.org/force-bits-to-download-wsus-updates-in-the-foreground-in-windows-server/ and https://serverfault.com/questions/809344/how-to-force-bits-to-download-wsus-updates-in-foreground-in-win-server-2012)

    Details

      1. Stop WSUS Service - We used PowerShell
    Stop-Service WsusService
    
    • Go to WSUS Content Folder and Delete the folders that is stuck (in our cases the new downloads stuck was Nov 2023, So deleted all Nov 2023 created folders, left the Oct 2023 untouched as it was working)
    • Start WSUS Service - We used PowerShell
    Start-Service WsusService
    
    • Did WsusUtil reset as per the instructions on the link
    wsusutil reset
    

    Then it started downloading the patches again but really slow in one point it was stuck.

    • To speed up WSUS update download via changing the BITS foreground priority.
    $Configuration=(Get-WSUSServer).GetConfiguration()
    $Configuration.BitsDownloadPriorityForeground=$True
    $Configuration.Save()
    (get-wsusserver).GetConfiguration()
    
    • Then was not sure which Service to restart to this to take effect, So restarted the Server. Download was completed quickly, much faster.

    Hope this helps someone.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.