Skip to content Skip to sidebar Skip to footer

How To Check Patches Installed In Windows Server 2008

Network Administration - In Windows Server 2008, Server Core installation provides a minimal surround just to run the necessary server roles, which can reduce maintenance requirements as well as management or assistants. Some other key is reducing the assail surface on server roles.

However, one of the difficulties in using Server Core is the direction aspect. Luckily for us, most management difficulties tin exist solved using hand-crafted scripts and third-political party and contempo graphical user interface tools. is SCONFIG tool.

Subsequently properly configuring Server Core and set to deploy it to the server system, you must definitely download and install the latest Windows Server 2008 R2 updates from Microsoft's Windows Update page. . So how do you do this task?

In that location are many means to help you accomplish this task, hither are five methods that we want to innovate to you.

Method one: Install the updates yourself

To install updates, you need to configure the Server Core car and so that it tin can automatically download and install updates:
At the command prompt:

  1. To verify the current settings, type:
cscript scregedit.wsf / AU / v

Picture 1 of 5 ways to install updates on Windows Server 2008 R2 Core

  1. To enable automatic upgrades, type:
cscript scregedit.wsf / AU 4

Picture 2 of 5 ways to install updates on Windows Server 2008 R2 Core

  1. To disable automated upgrade, type:
cscript scregedit.wsf / AU 1

The problem with this setting is that you cannot control which updates are being downloaded and beingness installed. So if you lot don't desire to enable automatic updates, yous can manually download each upgrade from Microsoft'due south Windows Update page, transfer them to the Core car, and install them using msiexec.exe or wusa.exe :

Msiexec (command line options)

https://ift.tt/gfJecNo states/library/cc759262(WS.ten).aspx

Description of the Windows Update Stand-alone installer (Wusa.exe) and of .msu files in Windows Vista and in Windows Server 2008

https://ift.tt/RU1WElt.


Method two: Install from script

You can too use the following script from MSDN:

Search, download and install updates: https://ift.tt/MbjR6Bq

Set updateSession = CreateObject ("Microsoft.Update.Session")
Set updateSearcher = updateSession.CreateupdateSearcher ()
WScript.Echo "Searching for updates ." & vbCRLF
Set searchResult = _
updateSearcher.Search ("IsInstalled = 0 and Type = 'Software'")
WScript.Repeat "Listing of applicative items on the machine:"
For I = 0 To searchResult.Updates.Count-i
Fix update = searchResult.Updates.Particular (I)
WScript.Repeat I + 1 & ">" & update.Title
next
If searchResult.Updates.Count = 0 Then
WScript.Due east for "At that place are no applicative updates."
WScript.Quit
Stop If
WScript.E for vbCRLF & "Creating collection of updates to download:"
Set updatesToDownload = CreateObject ("Microsoft.Update.UpdateColl")
For I = 0 to searchResult.Updates.Count-1
Set update = searchResult.Updates.Particular (I)
WScript.Repeat I + ane & "> calculation:" & update.Title
updatesToDownload.Add (update)
next
WScript.Echo vbCRLF & "Downloading updates ."
Set downloader = updateSession.CreateUpdateDownloader ()
downloader.Updates = updatesToDownload
downloader.Download ()
WScript.Echo vbCRLF & "List of downloaded updates:"
For I = 0 To searchResult.Updates.Count-1
Set update = searchResult.Updates.Item (I)
If update.IsDownloaded And so
WScript.Repeat I + 1 & ">" & update.Title
End If
next
Gear up updatesToInstall = CreateObject ("Microsoft.Update.UpdateColl")
WScript.East for vbCRLF & _
"Creating collections download updates to install:"
For I = 0 To searchResult.Updates.Count-1
ready update = searchResult.Updates.Particular (I)
If update.IsDownloaded = true Then
WScript.Echo I + i & "> adding:" & update.Title
updatesToInstall.Add together (update)
Finish If
next
WScript.Echo vbCRLF & "Would y'all similar to install updates now? (Y / Due north)"
strInput = WScript.StdIn.Readline
WScript.Repeat
If (strInput = "Northward" or strInput = "n") Then
WScript.Quit
ElseIf (strInput = "Y" or strInput = "y") Then
WScript.E for "Installing updates ."
Set installer = updateSession.CreateUpdateInstaller ()
installer.Updates = updatesToInstall
Set installationResult = installer.Install ()
'Output results of install
WScript.Echo "Installation Event:" & _
installationResult.ResultCode
WScript.Repeat "Reboot Required:" & _
installationResult.RebootRequired & vbCRLF
WScript.Echo "Listing of updates installed" & _
"and individual installation results:"
For I = 0 to updatesToInstall.Count - 1
WScript.Repeat I + 1 & ">" & _
updatesToInstall.Item (i) .Championship & _
":" & installationResult.GetUpdateResult (i) .ResultCode
side by side
End If

Re-create the text in the script, salvage it nether the WUA_SearchDownloadInstall.vbs file in the system32 directory and run:

cscript WUA_SearchDownloadInstall.vbs

Picture 3 of 5 ways to install updates on Windows Server 2008 R2 Core

Picture 4 of 5 ways to install updates on Windows Server 2008 R2 Core


Method iii: Apply SCONFIG

SCONFIG is an interesting tool to be included in R2, you can use information technology to manage many aspects of Server Core computers. One of those features is the power to control Windows Updates settings, and then use it to download updates and install selectively, or install them all at one time.

To run SCONFIG, enter sconfig.cmd in the command prompt window and press Enter.

Get-go, activate Automatic Updates by typing "5" and press Enter.

Picture 5 of 5 ways to install updates on Windows Server 2008 R2 Core

Type 'a' and printing Enter.

Picture 6 of 5 ways to install updates on Windows Server 2008 R2 Core

Next, type '6' so SCONFIG will perform a search and download missing updates.

Picture 7 of 5 ways to install updates on Windows Server 2008 R2 Core

You can install all missing updates, or but updates are recommended.

Picture 8 of 5 ways to install updates on Windows Server 2008 R2 Core

Picture 9 of 5 ways to install updates on Windows Server 2008 R2 Core


Method 4: Visual Core Configurator 2008

Visual Cadre Configurator 2008 is a tool with a graphical user interface, provided by Guillermo Musumeci. This tool is provided free of charge, yous tin can download information technology from:

CtxAdmTools - Visual Core Configurator 2008 v1.1

Subsequently downloading this tool, copy the files to the Server Core server, or if it is a virtual car, you can use the ISO file instead.

Then run the tool.

Picture 10 of 5 ways to install updates on Windows Server 2008 R2 Core

Click the "Windows Update" icon .

Picture 11 of 5 ways to install updates on Windows Server 2008 R2 Core

Click the "Search for updates" button.

Picture 12 of 5 ways to install updates on Windows Server 2008 R2 Core

Select the updates you desire to download and install, click the " Download and Install Updates" button.

Picture 13 of 5 ways to install updates on Windows Server 2008 R2 Core


Method 5: Install using Cadre Configurator two.0

In third-party GUI tools for Server Cadre, this tool is gratuitous to employ and you lot tin download it from the link below:

Core Configurator 2.0 (Windows Server 2008 R2)

Run Start_Coreconfig.wsf to launch the tool.

Picture 14 of 5 ways to install updates on Windows Server 2008 R2 Core

The latest version of Core Configurator requires .Net Framework and PowerShell, which are components that will automatically install when the tool is executed.

Picture 15 of 5 ways to install updates on Windows Server 2008 R2 Core

You will be reminded to join the customer experience improvement program. Accepting or denying is completely upwards to you.

Picture 16 of 5 ways to install updates on Windows Server 2008 R2 Core

Click the "Control Console" button.

Picture 17 of 5 ways to install updates on Windows Server 2008 R2 Core

Click the "Windows Updates" push button.

Picture 18 of 5 ways to install updates on Windows Server 2008 R2 Core

Starting time, y'all can configure auto-update settings (Auto Updates).

Picture 19 of 5 ways to install updates on Windows Server 2008 R2 Core

And then press the "Check for updates" link and press the "Download updates" button.

Picture 20 of 5 ways to install updates on Windows Server 2008 R2 Core

Yous can now cull which upgrade you lot want to install.

Picture 21 of 5 ways to install updates on Windows Server 2008 R2 Core

Source: https://ift.tt/70m5T8g

Posted by: lacoursereupok.blogspot.com



Post a Comment for "How To Check Patches Installed In Windows Server 2008"