This project has moved and is read-only. For the latest updates, please go here.

application manager user policy action

Topics: Generic
Dec 4, 2015 at 1:56 AM
Hi Guys long time lover of client center.
I've been doing a user-based app install deployment and would like to trigger this I've been trying:

WMIC /namespace:\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000122}" /NOINTERACTIVE

and

Invoke-WMIMethod -ComputerName $Server -Namespace root\ccm -Class SMS_CLIENT -Name TriggerSchedule "{00000000-0000-0000-0000-000000000122}"

But they can't seem to find that schedule. Only success I've had is with client center clicking "application manager user policy action".

How could I get this working? I want to trigger this on a lot of machines at once.
Dec 8, 2015 at 11:45 AM
It seems that you cannot trigger "{00000000-0000-0000-0000-000000000122}" for the machine, you have to call it for a specific user...

Have you checked the PowerShell-Command that ClientCenter is triggering ?
$a=([wmi]"root\ccm\Policy\S_1_5_21_<Rest of User-SID>\ActualConfig:CCM_Scheduler_ScheduledMessage.ScheduledMessageID='{00000000-0000-0000-0000-000000000122}'");
$a.Triggers=@('SimpleInterval;Minutes=1;MaxRandomDelayMinutes=0');
$a.Put()
or have you tried the Global Evaluation:
 ((New-Object -comobject "CPApplet.CPAppletMgr").GetClientActions() | Where-Object { $_.ActionID -eq '{00000000-0000-0000-0000-000000000123}' }).PerformAction()
Dec 8, 2015 at 11:08 PM
Hi Roger thanks for the reply.
Unfortunately the global evaluation doesn't seem to trigger the application user install.

Might have to do some scripting looking for user sids and their primary devices to trigger this.

I thought having a custom client setting that checked for software deployments daily would have done the job of triggering the user install more often. But looking at the appdiscovery and appenforce logs. Appdiscovery does check daily but it's looking for machine based installs more.