Actions in Configuration Manager Client – Jocha

Understanding how the Configuration Manager client works is a crucial part of troubleshooting.
Below you will find information about how to retrieve policies from the SCCM server.

  • Application Deployment Evaluation Cycle re-evaluates the requirement rules for all deployments.
  • Branch Distribution Point Maintenance Task verifies any prestaged packages and downloads any that do not exist on the branch distribution point. While Technet does not explicitly state it, I believe this task is useful only on branch distribution points and is ignored on normal clients.
  • Discovery Data Collection Cycle causes the client to generate a new discovery data record (DDR). When the DDR is processed by the site server, Discovery Data Manager adds or updates resource information from the DDR in the site database.
  • File Collection Cycle When a file is specified for collection, the SCCM software inventory agent searches for that file when it runs a software inventory scan on each client in the site. If the software inventory client agent finds a file that should be collected, the file is attached to the inventory file and sent to the site server. This action differs from software inventory in that it actually sends the file to the site server, so that it can be later viewed using Resource Explorer. This is a part of SCCM inventory functionality.
  • Hardware Inventory Cycle collects information such as available disk space, processor type, and operating system about each computer. This is a part of SCCM inventory functionality.
  • Machine Policy Retrieval & Evaluation Cycle The client downloads its policy on a schedule. By default, this value is configured to every 60 minutes and is configured with the option Policy polling interval (minutes). However, there might be occasions when you want to initiate ad-hoc policy retrieval from the client—for example, in a troubleshooting scenario or when testing. This action initiates ad-hoc machine policy retrieval from the client outside its scheduled polling interval.
  • Software Inventory Cycle collects software inventory data directly from files (such as .exe files) by inventorying the file header information. Configuration Manager can also inventory unknown files — files that do not have detailed information in their file headers. This provides a flexible, easy-to-maintain software inventory method. You can also have Configuration Manager collect copies of files that you specify. Software inventory and collected file information for a client can be viewed using Resource Explorer. This is a part of SCCM inventory functionality.
  • Software Metering Usage Report Cycle collects the data that allows you to monitor and client software usage.
  • Software Updates Deployment Evaluation Cycle initiates a scan for software updates compliance. Before client computers can scan for software update compliance, the software updates environment must be configured.
  • Software Updates Scan Cycle Just after a software update installation completes, a scan is initiated to verify that the update is no longer required and to create a new state message that indicates the update has been installed. When the installation has finished but a restart is necessary, the state will indicate that the client computer is pending a restart.
  • User Policy Retrieval & Evaluation Cycle Similar to Machine Policy Retrieval & Evaluation Cycle, but this action initiates ad-hoc user policy retrieval from the client outside its scheduled polling interval.
  • Windows Installer Source List Update Cycle causes the Product Source Update Manager to complete a full update cycle. When you install an application using Windows Installer, those Windows Installer applications try to return to the path they were installed from when they need to install new components, repair the application, or update the application. This location is called the Windows Installer source location. Windows Installer Source Location Manager can automatically search Configuration Manager distribution points for the source files, even if the application was not originally installed from a distribution point.

VB Script: Trigger an action.vbs

' This script will trigger an update for the chosen policy.

actionNameToRun = "Discovery Data Collection Cycle"    '*
Dim controlPanelAppletManager 
Set controlPanelAppletManager = CreateObject("CPApplet.CPAppletMgr") 
Dim clientActions 
Set clientActions = controlPanelAppletManager.GetClientActions() 
Dim clientAction 
For Each clientAction In clientActions
If clientAction.Name = actionNameToRun Then '*
clientAction.PerformAction 
End If '*
Next 
WScript.Echo "Executed: " & actionNameToRun    'If you want to get a message

' If you would like to update all policies delete the lines before -> '*


'These are some more actions which can be used in above script as and when required:

'Software Metering Usage Report Cycle    
'Request & Evaluate Machine Policy    
'Updates Source Scan Cycle    
'Request & Evaluate User Policy    
'Hardware Inventory Collection Cycle    
'Software Inventory Collection Cycle    
'Software Updates Assignments Evaluation Cycle    
'Peer DP Maintenance Task    
'Machine Policy Retrieval 
'Evaluation Cycle
'MSI Product Source Update Cycle