Project

General

Profile

Support #783

Updated by Daniel Curtis almost 9 years ago

One of the uses for my Windows Server is to use Windows Server Update Services (WSUS) to manage centralized updates for the various Windows boxes on my network. This is a simple guide for setting up a standalone WSUS on a Windows Server 2012 R2 Core machine using PowerShell. 

 h2. Prepare the Environment 

 * From the command prompt, open a PowerShell session: 
 <pre> 
 powershell 
 </pre> 

 * Install the prerequisite features for required for WSUS: 
 <pre> 
 Import-Module ServerManager 
 Add-WindowsFeature Application-Server 
 Add-WindowsFeature Web-Server 
 Add-WindowsFeature Web-Asp-Net 
 Add-WindowsFeature Web-Windows-Auth 
 Add-WindowsFeature Web-Dyn-Compression 
 Add-WindowsFeature Web-Mgmt-Compat 
 </pre> 

 * Install the WSUS feature using the Windows Internal Database (WID) as the database: 
 <pre> 
 Install-WindowsFeature -Name UpdateServices -IncludeManagementTools 
 </pre> 

 * After installing WSUS, point the application to a location to store downloads: 
 <pre> 
 cd "C:\Program Files\Update Services\Tools\" 
 .\WsusUtil.exe PostInstall CONTENT_DIR=C:\WSUS 
 </pre> 

 h2. Admin Workstation 

 h3. Windows 7 Host 

 # * Install the "Microsoft Report Viewer":https://www.microsoft.com/en-us/download/details.aspx?id=6576 

 # Download Windows Server Update Services 3.0 SP2 "KB972455":http://www.microsoft.com/en-us/download/details.aspx?id=5216 and install the *Administration Console only*.  

 # Once the console is installed, also install "KB2734608":http://support.microsoft.com/kb/2734608/en-us to add support for Windows "Windows 8 and Remote Server 2012. Administration Tool":https://www.microsoft.com/en-us/download/details.aspx?id=28972 

 # Open Windows Server Update Services and connect to the remote server _wsus.example.com_ on port +8530+. 

 h3. Windows 8 Host 

 # * Install the "Microsoft Report Viewer":https://www.microsoft.com/en-us/download/details.aspx?id=6576 

 # Install the "Windows 8 Remote Server Administration Tool":https://www.microsoft.com/en-us/download/details.aspx?id=28972 

 # * Open Windows Server Update Services RSAT and connect to the remote server _wsus.example.com_ on port +8530+. Windows Server. 

 h2. Resources 

 * https://4sysops.com/archives/install-wsus-on-server-2012-with-powershell/ 
 * https://www.microsoft.com/en-us/download/details.aspx?id=28972 
 * http://www.shnake.com/?p=821 
 * https://technet.microsoft.com/en-us/library/dd939916(v=ws.10).aspx 
 * https://technet.microsoft.com/en-us/library/dd939859(v=ws.10).aspx

Back