12.6 CheckServicePack

Use this Knowledge Script to compare the installed version of a Microsoft Windows service pack to a specified minimum threshold. This script raises an event if the version of the service pack installed on the target computer falls below the minimum threshold.

This script queries the computer’s registry to determine the current service pack level.

12.6.1 Resource Objects

Windows 2003 Server or later

12.6.2 Default Schedule

The default interval for this script is Weekly.

12.6.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Event Notification

Create event if service pack does not meet minimum?

Select Yes to raise an event if the version of the service pack installed on the target computer falls below the threshold. The default is Yes.

Severity - Service pack does not meet minimum

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the service pack version falls below the threshold. The default is 8 (red event indicator).

Severity - Job failure

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the CheckServicePack job fails. The default is 8 (red event indicator).

Data Collection

Collect service pack data?

Select Yes to collect data for charts and reports. If enabled, data collection returns the target computer’s configuration, including the Windows version and service pack number. The default is unselected.

Monitoring

Check Windows XP Service Pack?

Select Yes to check the Windows XP service pack level on the target computer. The default is Yes.

Threshold - Service pack minimum

Specify the minimum version of the Windows XP service pack that must be installed to prevent an event from being raised. For example, to check whether Service Pack 1 (or later) is installed, enter 1. The default is 3.

Check Windows Server 2003 Service Pack?

Select Yes to check the Windows Server 2003 service pack level on the target computer. The default is Yes.

Threshold - Service pack minimum

Specify the minimum version of the Windows Server 2003 service pack that must be installed to prevent an event from being raised. For example, to check whether Service Pack 1 (or later) is installed, enter 1. The default is 2.

Check Windows Vista Service Pack?

Select Yes to check the Windows Vista service pack level on the target computer. The default is Yes.

Threshold - Service pack minimum

Specify the minimum version of the Windows Vista service pack that must be installed to prevent an event from being raised. For example, to check whether Service Pack 1 (or later) is installed, enter 1. The default is 2.

Check Windows Server 2008 Service Pack?

Select Yes to check the Windows Server 2008 service pack level on the target computer. The default is Yes.

Threshold - Service pack minimum

Specify the minimum version of the Windows Server 2008 service pack that must be installed to prevent an event from being raised. For example, to check whether Service Pack 1 (or later) is installed, enter 1. The default is 2.

Check Windows 7 Service Pack?

Select Yes to check the Windows 7 service pack level on the target computer. The default is Yes.

Threshold - Service pack minimum

Specify the minimum version of the Windows 7 service pack that must be installed to prevent an event from being raised. For example, to check whether Service Pack 1 (or later) is installed, enter 1. The default is 0.

Check Windows Server 2008 R2 Service Pack?

Select Yes to check the Windows Server 2008 R2 service pack level on the target computer. The default is Yes.

Threshold - Service pack minimum

Specify the minimum version of the Windows Server 2008 R2 service pack that must be installed to prevent an event from being raised. For example, to check whether Service Pack 1 (or later) is installed, enter 1. The default is 0.

Check Windows 8 Service Pack?

Select Yes to check the Windows 8 service pack level on the target computer. The default is Yes.

Threshold - Service pack minimum

Specify the minimum version of the Windows 8 service pack that must be installed to prevent an event from being raised. For example, to check whether Service Pack 1 (or later) is installed, enter 1. The default is 0.

Check Windows Server 2012 Service Pack?

Select Yes to check the Windows Server 2012 service pack level on the target computer. The default is Yes.

Threshold - Service pack minimum

Specify the minimum version of the Windows Server 2012 service pack that must be installed to prevent an event from being raised. For example, to check whether Service Pack 1 (or later) is installed, enter 1. The default is 0.