SCCM Management

Contents

SCCM Management

Description

With 2 dedicated Nexthink Act remote actions, retrieve information about the SCCM-related client services and restore them if necessary. Useful for endpoints remote maintenance.

Platforms

  • Windows 7
  • Windows 10

License modules

  • Nexthink Act.

Compatibility

  • Nexthink V6.14 and later.

Script Get SCCM Client Status

  • Version 2.0.0.0 - Added new output fields with information about SCCM client
  • Version 1.0.0.0 - Initial release

Script Description

Gets SCCM-related client services status (SMS Agent, BITS, WMI, etc.) and information about SCCM client on devices. The script is designed for Windows 7 and 10.

Execution context and suggested scheduling

Run the script manually as local system.

Parameters

None.

Outputs

ID Label Type Description
1 SMSAgentStatus String Status of the SMS Agent Service
2 BITSStatus String Status of the Background Intelligent Transfer Service
3 WMIStatus String Status of the Windows Management Instrumentation Service
4 RPCSubsystemStatus String Status of the Remote Procedure Call Subsystem Service
5 WindowsTimeServiceStatus String Status of the Windows Time Service
6 ClientInstalled Bool If SCCM client is installed or is not
7 ManagementSite String Site where the device is connecting to
8 LastCommunication DateTime Last communication date with server
9 LastCumulativeUpdate String Last cumulative update installed on the device


Script Restore SCCM Client

  • Version 2.0.0.0 - Added new output fields with information about SCCM client
  • Version 1.0.0.0 - Initial release

Script Description

Restores SCCM-related client services (SMS Agent, BITS, WMI, etc) and retrieves information about SCCM client on devices. The script is designed for Windows 7 and 10.

Execution context and suggested scheduling

Run the script manually as local system.

Parameters

None.

Outputs

ID Label Type Description
1 SMSAgentStatus String Status of the SMS Agent Service
2 BITSStatus String Status of the Background Intelligent Transfer Service
3 WMIStatus String Status of the Windows Management Instrumentation Service
4 RPCSubsystemStatus String Status of the Remote Procedure Call Subsystem Service
5 WindowsTimeServiceStatus String Status of the Windows Time Service
6 ClientInstalled Bool If SCCM client is installed or is not
7 ManagementSite String Site where the device is connecting to
8 LastCommunication DateTime Last communication date with server
9 LastCumulativeUpdate String Last cumulative update installed on the device

Further Information

When restarting SCCM-related services, services with dependent services are not stopped in the first place. For safety considerations, those services are just started in case they were previously stopped. Keep in mind that many dependent services may affect directly critical functionality of Collector (network, etc).

Restrictions

  • Recovery action includes Windows Update execution, which may not be executed if user has it disabled due to Group Policy configuration.