Can't trigger a software update scan

I'm having trouble triggering a software update scan.  I am trying to do this as part of a task sequence so I can get all of the updates installed.  But I can't even get it to work from the command line.  The command I am using, and seems to work for others, is:

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

When I run it I get:

Executing (sms_client)->TriggerSchedule()

ERROR:

Description = Not found

If I run the same thing but change it to "000000000108" it runs and says:

Executing (sms_client)->TriggerSchedule()

Method execution successful.

Why won't it work?  I'm using a CM2012 R2 client (5.00.7958.1000).  Did the numbers (e.g. 000000000113) change for the available actions?  How do I list those numbers so I can see what the right one is for a software update scan?

T

November 19th, 2013 10:05pm

Hi,

There might be some problems with method in sms_client.

I suggest you reinstalling the client.

Best Regards,

Joyce Li

Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2013 11:13am

Have you already tried running it manually on an existing client?
November 22nd, 2013 11:48am

Thanks, Joyce.  And Torsten, thanks and congratulations on passing 100,000 points!  :)

I have tried this manually on an existing client.  I then tried reinstalling the client and tried it again and got the same results.

Z:\Client>WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000113}" /NOINTERACTIVE

Executing (sms_client)->TriggerSchedule()

ERROR:

Description = Not found

 

Z:\Client>ccmsetup.exe /uninstall

 

Z:\Client>ccmsetup /source:"\\server.abc.com\SMS_TMP\Client" /noservice /logon SMSMP=server.abc.com SMSSITECODE=TMP DNSSUFFIX=abc.com

 

 

Z:\Client>WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000108}" /NOINTERACTIVE

Executing (sms_client)->TriggerSchedule()

Method execution successful.

Out Parameters:[abstract]

class __PARAMETERS

{

        [out] uint32 ReturnValue;

};

 

 

Z:\Client>WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000113}" /NOINTERACTIVE

Executing (sms_client)->TriggerSchedule()

ERROR:

Description = Not found

 

Z:\Client>

Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2013 8:30pm

Is the software updates client agent installed or enabled? Can you kick it off using the control panel applet?
November 22nd, 2013 9:10pm

In the control panel applet it says Software Updates Agent is "enabled".  I kicked off the Software Updates Deployment Evaluation Cycle and it seemed to go okay.  I saw this in the UpdatesDeployment.log:

 

System time change event received.        UpdatesDeploymentAgent        11/22/2013 12:20:24 PM        2860 (0x0B2C)

Message received: '<?xml version='1.0' ?><SoftwareUpdatesMessage MessageType='EvaluateAssignments'><UseCachedResults>True</UseCachedResults></SoftwareUpdatesMessage>'        UpdatesDeploymentAgent        11/22/2013 12:23:04 PM        2860 (0x0B2C)

Evaluation initiated for (0) assignments.        UpdatesDeploymentAgent        11/22/2013 12:23:04 PM        2860 (0x0B2C)

Message received: '<?xml version='1.0' ?><SoftwareUpdatesMessage MessageType='EvaluateAssignments'><UseCachedResults>False</UseCachedResults></SoftwareUpdatesMessage>'        UpdatesDeploymentAgent        11/22/2013 12:23:26 PM        1328 (0x0530)

Removing scan history to force non cached results        UpdatesDeploymentAgent        11/22/2013 12:23:26 PM        1328 (0x0530)

Evaluation initiated for (0) assignments.        UpdatesDeploymentAgent        11/22/2013 12:23:26 PM        1328 (0x0530)

Free Windows Admin Tool Kit Click here and download it now
November 22nd, 2013 9:30pm

Where/when in the task sequence are you calling this (relative to other known, fixed tasks)?

Are you using a Run Command Line task to call this?

November 23rd, 2013 12:30am

I'm running it in a CM2012 build and capture task sequence right at the end.  The only step after it is another install software updates step.  But I'm running this directly from the cmd line on the PC with no su

Free Windows Admin Tool Kit Click here and download it now
November 24th, 2013 1:21am

"Right at the end"? Do you mean before the capture group?
November 24th, 2013 9:18pm

Oops, my mistake!  It's the last thing I do right BEFORE I run the capture.  Tried to include a screenshot but having trouble doing that for some reason.
Free Windows Admin Tool Kit Click here and download it now
November 25th, 2013 3:51am

Yes, I know this is an old post, but Im trying to clean them up. Did you solve this problem, if so what was the solution?

February 1st, 2015 12:32pm

I never was able to trigger a software update scan but I did get all of the software updates to apply which was the final goal anyway.  It has been a while but I basically installed kb2522623, restarted the computer, ran the install updates step, restarted again, ran the install updates step again.  I can't remember what made the difference but those were the notes I took and I remember I got all the updates installed.  Thanks.
Free Windows Admin Tool Kit Click here and download it now
February 2nd, 2015 4:35pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics