Skip to content

Disconnected network (enterprise) WSUS import-export process.

Notifications You must be signed in to change notification settings

marikb/Win-offline-Patch-Management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

Disconnected Network Windows Patch Management Export Import

Project Badge

Disconnected WSUS Servers

Two script for file export and file import of patches from Windows Update for WSUS servers.

Export.ps1 - WSUS server connected to Windows Updates
Import.ps1 - WSUS server located in your disconnected environment.

WSUS configuration requirments

Validate both WSUS servers have same:
I. Products and Classifications
II. Update files and languages
III. Set Express

IIS Application Pools (Disconnected WSUS):
⦁ Increase the WsusPool Queue Length to 25000
⦁ Increase the WsusPool Private Memory limit set to 0 (unlimited)
⦁ In AppPool of WSUSPool change Regular Time Interval (Minutes) to 0

Modify httpRunTime by adding an executionTimeout attribute:
<httpRuntime maxRequestLength="4096" executionTimeout="3600">

Configure to SUP - additional permissions to allow the WSUS Configuration Manager
⦁ Add the SYSTEM account to the WSUS Administrators group
⦁ Add the NT AUTHORITY\SYSTEM account as a user for the WSUS database (SUSDB). Configure a minimum of the webService database role membership.

SSL Configuration
⦁ Create a certificate for the hostname (Optional to SQL too)
⦁ Import into server via wusa ctl.
⦁ Open port 8531 to all clients

How to run

Copy Export folder for connected updates and Import folder to disconnected server.

Connected WSUS to Windows Updates:
⦁ Run sync
⦁ Run script to create bulk, make sure deny and approve configured as desired.

Disconnected WSUS (in your disconnected network):
⦁ Copy created bulk folder to Import folder
⦁ Run script

Additional sources

⦁ Best Practices with Windows Server Update Services - https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/cc720525(v=ws.10)

⦁ SUP configuration - https://everythingsccm.com/2017/03/27/configuring-wsus-with-sccm-current-branch-server-2016-part-i/ https://docs.microsoft.com/en-us/sccm/sum/understand/software-updates-introduction#BKMK_SUMCompliance

About

Disconnected network (enterprise) WSUS import-export process.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published