SCCM

SCCM Client Actions Explained: What Each Cycle Does

The Actions tab in the Configuration Manager control panel starts client jobs now, without waiting for their schedule. For a new deployment, run Machine Policy Retrieval and Evaluation first. Then run the cycle for the feature: Application Deployment Evaluation for applications, or Software Updates Scan and Deployment Evaluation for updates.

Where the actions are

  1. Open Control Panel on the client.
  2. Open Configuration Manager.
  3. Select the Actions tab.
  4. Select an action and select Run Now.

The message "The selected cycle will run and might take several minutes to finish" means the request was accepted. It does not mean the job is done. The log for that action shows the real result.

The list shows only the actions for features that are turned on in client settings. A client that just installed shows only a few actions. The rest appear after the first policy download.

What each action does

ActionWhat it doesLog to watch
Machine Policy Retrieval and Evaluation CycleAsks the management point for new computer policy and applies it. Policy holds deployments, client settings and maintenance windows.PolicyAgent.log, PolicyEvaluator.log
User Policy Retrieval and Evaluation CycleThe same, for the user who is signed in. It fetches deployments made to user collections.PolicyAgent.log
Application Deployment Evaluation CycleChecks every deployed application again: requirements, then the detection method. It installs required applications that are missing.AppIntentEval.log, AppDiscovery.log, AppEnforce.log
Software Updates Scan CycleScans the computer against the software update point. The result is the list of updates the computer needs.ScanAgent.log, WUAHandler.log, UpdatesStore.log
Software Updates Deployment Evaluation CycleChecks the update deployments against the scan result. It starts the download and install of required updates that are due.UpdatesDeployment.log, UpdatesHandler.log
Hardware Inventory CycleCollects hardware data and installed programs from WMI and sends it to the site.InventoryAgent.log
Software Inventory CycleScans the disk for the file types set in client settings and sends the file list to the site.InventoryAgent.log
Discovery Data Collection CycleSends a heartbeat discovery record. It tells the site that the client is alive and updates basic facts such as its name and IP address.InventoryAgent.log

Two names mislead people. Hardware inventory also reports installed software, because the list from Programs and Features is read from WMI. Software inventory only scans files. And the Discovery Data Collection Cycle is the heartbeat. It does not discover other computers.

When to run which

SituationRun
A new application deployment does not show in Software CenterMachine Policy Retrieval and Evaluation. For a deployment to a user collection, run User Policy Retrieval and Evaluation.
The application shows, but a required install has not startedApplication Deployment Evaluation
You changed a detection method or fixed the application by handMachine Policy Retrieval and Evaluation, then Application Deployment Evaluation
New updates do not show on the clientMachine Policy Retrieval and Evaluation, then Software Updates Scan, then Software Updates Deployment Evaluation
A report or collection shows old hardware or installed software dataHardware Inventory
The client shows as inactive in the console but it is onlineDiscovery Data Collection
You changed client settings or a maintenance windowMachine Policy Retrieval and Evaluation

Wait between the steps. Policy retrieval takes a minute or two. If you start the application cycle before the new policy has arrived, it checks the old policy.

The client only gets policy for collections it is already in. If you just added the computer to a collection, wait for the collection to update first. Check the membership in the console before you run any action.

What the actions cannot do

  • They do not update collection membership. That happens on the site server.
  • They do not skip a maintenance window. A required install still waits for its window.
  • They do not fix a missing boundary. The client still needs a distribution point it can reach.
  • Inventory data takes time to show in the console. The site must process it after the client sends it.

Trigger the actions from PowerShell

Each action has a schedule ID. The client WMI class SMS_Client in the root\ccm namespace has a TriggerSchedule method that takes this ID. Run the commands in an elevated PowerShell window.

ActionSchedule ID
Hardware inventory{00000000-0000-0000-0000-000000000001}
Software inventory{00000000-0000-0000-0000-000000000002}
Discovery data collection (heartbeat){00000000-0000-0000-0000-000000000003}
Machine policy retrieval{00000000-0000-0000-0000-000000000021}
Machine policy evaluation{00000000-0000-0000-0000-000000000022}
Software updates deployment evaluation{00000000-0000-0000-0000-000000000108}
Software updates scan{00000000-0000-0000-0000-000000000113}
Application deployment evaluation{00000000-0000-0000-0000-000000000121}

The control panel action for machine policy runs two schedules: retrieval (021), then evaluation (022). From PowerShell you trigger them one after the other.

Run one action on the local computer:

Invoke-CimMethod -Namespace 'root\ccm' -ClassName 'SMS_Client' -MethodName 'TriggerSchedule' -Arguments @{ sScheduleID = '{00000000-0000-0000-0000-000000000021}' }

Get new policy, then check the applications again:

$ids = '{00000000-0000-0000-0000-000000000021}',
       '{00000000-0000-0000-0000-000000000022}',
       '{00000000-0000-0000-0000-000000000121}'

foreach ($id in $ids) {
    Invoke-CimMethod -Namespace 'root\ccm' -ClassName 'SMS_Client' -MethodName 'TriggerSchedule' -Arguments @{ sScheduleID = $id }
    Start-Sleep -Seconds 60
}

Run an action on a remote computer. This needs admin rights on that computer and WinRM turned on:

Invoke-CimMethod -ComputerName 'PC001' -Namespace 'root\ccm' -ClassName 'SMS_Client' -MethodName 'TriggerSchedule' -Arguments @{ sScheduleID = '{00000000-0000-0000-0000-000000000113}' }

A ReturnValue that is empty or 0 means the client accepted the request. Check the log for the result.

User policy is different. It belongs to the signed-in user, so a command that runs as an administrator or as SYSTEM does not trigger it for that user. Use the control panel in the user session for that one.

More ready-made scripts are in the script library.

Trigger actions from the console

You can also start some actions from the Configuration Manager console, for one device or a whole collection.

  1. Go to Assets and Compliance, then Devices or Device Collections.
  2. Right-click the device or the collection.
  3. Select Client Notification.
  4. Select the action, for example Download Computer Policy.

Client notification reaches online clients within about a minute. Be careful with large collections. Thousands of clients that scan or send inventory at the same time put a real load on the site.

SCCM MECM client actions PowerShell TriggerSchedule policy
✉

Get new articles in your inbox

SCCM guides, AI tools, automation tips — sent when published. No spam.

Keep reading

Comments