Solved

SCCM 2012 Auto Deployment

Posted on 2014-03-05
5
2,288 Views
Last Modified: 2014-03-11
We are using a System Center 2012 with WSUS as the host for deploying software updates.

I am trying to set up auto deployment rules but they keep failing. The idea is to have System Center check daily for updates. Critical updates and security updates will be pushed immediately to a certain group.

I've set up the rules but it keeps failing. The error on the automatic deployment screen shows "last error" of 0x80004005, unspecified error.

Can anyone advise what could be wrong?

ruleengine.log shows the following:

RuleSchedulerThred: Next Event Time Signalled.  $$<SMS_RULE_ENGINE><03-05-2014 09:05:02.767+360><thread=4752 (0x1290)>
RuleSchedulerThred: Timeout Signalled, when next event time is not reached. Will continue waiting...  $$<SMS_RULE_ENGINE><03-05-2014 09:05:02.798+360><thread=4752 (0x1290)>
RuleEngine: Got next rule execution time successfully. Next event is in  76 minutes  $$<SMS_RULE_ENGINE><03-05-2014 09:05:02.814+360><thread=4752 (0x1290)>
Sleeping for 15 minutes  $$<SMS_RULE_ENGINE><03-05-2014 09:05:02.829+360><thread=4752 (0x1290)>
~Found notification file C:\Program Files\Microsoft Configuration Manager\inboxes\RuleEngine.box\16777226.RUL  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.444+360><thread=4700 (0x125C)>
RuleSchedulerThred: Change in Rules Object Signalled.  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.460+360><thread=4752 (0x1290)>
~Constructing Rule 16777226 using Auto Deployment Rule Factory  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.491+360><thread=4700 (0x125C)>
~    Populating Rule Skeleton  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.491+360><thread=4700 (0x125C)>
~    Populating Criterion Skeleton  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.522+360><thread=4700 (0x125C)>
Refreshed ScheduleList instance for Rule (16777218) from schedule string (5902BA8000100200) with next occurence (3/5/2014 10:22:00 AM)  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.553+360><thread=4752 (0x1290)>
Refreshed ScheduleList instance for Rule (16777223) from schedule string () with next occurence (12/31/1969 6:00:00 PM)  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.569+360><thread=4752 (0x1290)>
Refreshed ScheduleList instance for Rule (16777225) from schedule string () with next occurence (12/31/1969 6:00:00 PM)  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.569+360><thread=4752 (0x1290)>
Refreshed ScheduleList instance for Rule (16777226) from schedule string () with next occurence (12/31/1969 6:00:00 PM)  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.569+360><thread=4752 (0x1290)>
Refreshed ScheduleList instance for Rule (16777227) from schedule string () with next occurence (12/31/1969 6:00:00 PM)  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.569+360><thread=4752 (0x1290)>
FindNextEventTime found next event for RuleID 16777218 as :3/5/2014 10:22:00 AM  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.585+360><thread=4752 (0x1290)>
RuleEngine: Got next rule execution time successfully. Next event is in  76 minutes  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.600+360><thread=4752 (0x1290)>
Sleeping for 15 minutes  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.600+360><thread=4752 (0x1290)>
~    Populating Action Skeleton  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.663+360><thread=4700 (0x125C)>
~    Populating Action Skeleton  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.694+360><thread=4700 (0x125C)>
~CRuleHandler: Need to Process 1 rules  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.725+360><thread=4700 (0x125C)>
~CRuleHandler: Processing Rule with ID:16777226, Name:Windows 7 Advanced.  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.741+360><thread=4700 (0x125C)>
~Evaluating Update Criteria for AutoDeployment Rule 16777226  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.741+360><thread=4700 (0x125C)>
~  Evaluating Update Criteria...  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.756+360><thread=4700 (0x125C)>
~    Rule Criteria is: <UpdateXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="SMS_SoftwareUpdate" LocaleId="1033"><UpdateXMLDescriptionItems><UpdateXMLDescriptionItem PropertyName="_Product" UIPropertyName=""><MatchRules><string>'Product:bfe5b177-a086-47a0-b102-097e4fa1f807'</string></MatchRules></UpdateXMLDescriptionItem><UpdateXMLDescriptionItem PropertyName="_UpdateClassification" UIPropertyName=""><MatchRules><string>'UpdateClassification:e6cf1350-c01b-414d-a61f-263d14d133b4'</string><string>'UpdateClassification:0fa1201d-4330-4fa8-8ae9-b877473b6441'</string></MatchRules></UpdateXMLDescriptionItem></UpdateXMLDescriptionItems></UpdateXML>  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.787+360><thread=4700 (0x125C)>
~      Inserting PropertyName:_Product, PropertyValue:'Product:bfe5b177-a086-47a0-b102-097e4fa1f807'  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.803+360><thread=4700 (0x125C)>
~      Inserting PropertyName:_UpdateClassification, PropertyValue:'UpdateClassification:e6cf1350-c01b-414d-a61f-263d14d133b4'  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.819+360><thread=4700 (0x125C)>
~      Inserting PropertyName:_UpdateClassification, PropertyValue:'UpdateClassification:0fa1201d-4330-4fa8-8ae9-b877473b6441'  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.834+360><thread=4700 (0x125C)>
~    Query to run is: select CI_ID from dbo.fn_ListUpdateCIs(1033) ci~where IsExpired=0~  and (CI_ID in (select CI_ID from v_CICategories_All where CategoryInstance_UniqueID in (N'Product:bfe5b177-a086-47a0-b102-097e4fa1f807')))~  and (CI_ID in (select CI_ID from v_CICategories_All where CategoryInstance_UniqueID in (N'UpdateClassification:e6cf1350-c01b-414d-a61f-263d14d133b4', N'UpdateClassification:0fa1201d-4330-4fa8-8ae9-b877473b6441')))  $$<SMS_RULE_ENGINE><03-05-2014 09:05:58.834+360><thread=4700 (0x125C)>
  Rule resulted in a total of 0 updates  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.162+360><thread=4700 (0x125C)>
  Evaluation Resultant XML is: <EvaluationResultXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><CI_IDs></CI_IDs> </EvaluationResultXML>  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.255+360><thread=4700 (0x125C)>
~Enforcing Content Download Action  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.271+360><thread=4700 (0x125C)>
Download Rule Action XML is: <ContentActionXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><PackageID>HQ100102</PackageID><ContentLocales><Locale>Locale:9</Locale><Locale>Locale:0</Locale></ContentLocales><ContentSources><Source Name="Internet" Order="1"/><Source Name="WSUS" Order="2"/><Source Name="UNC" Order="3" Location=""/></ContentSources></ContentActionXML>  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.287+360><thread=4700 (0x125C)>
Criteria Filter Result XML is: <EvaluationResultXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><CI_IDs></CI_IDs> </EvaluationResultXML>  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.302+360><thread=4700 (0x125C)>
No active SUP found on this site  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.458+360><thread=4700 (0x125C)>
Failed to get proxy information from the site control file  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.458+360><thread=4700 (0x125C)>
No new update was added to the package. Package "HQ100102" would not be updated.  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.474+360><thread=4700 (0x125C)>
Failed to run the DownloadAction for the AutoDeployment.  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.474+360><thread=4700 (0x125C)>
STATMSG: ID=8706 SEV=E LEV=M SOURCE="SMS Server" COMP="SMS_RULE_ENGINE" SYS=configmanager.firstcom.local SITE=HQ1 PID=2232 TID=4700 GMTDATE=Wed Mar 05 15:05:59.489 2014 ISTR0="SMS Rule Engine" ISTR1="Failed to download one or more content files" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.489+360><thread=4700 (0x125C)>
~Enforcing Create Deployment Action  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.505+360><thread=4700 (0x125C)>
~  Create Deployment Rule Action XML is: <DeploymentCreationActionXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><CollectionId>HQ100011</CollectionId><IncludeSub>true</IncludeSub><Utc>false</Utc><Duration>7</Duration><DurationUnits>Days</DurationUnits><AvailableDeltaDuration>0</AvailableDeltaDuration><AvailableDeltaDurationUnits>Hours</AvailableDeltaDurationUnits><SuppressServers>Unchecked</SuppressServers><SuppressWorkstations>Unchecked</SuppressWorkstations><PersistOnWriteFilterDevices>Checked</PersistOnWriteFilterDevices><AllowRestart>false</AllowRestart><DisableMomAlert>false</DisableMomAlert><GenerateMomAlert>false</GenerateMomAlert><UseRemoteDP>true</UseRemoteDP><UseUnprotectedDP>true</UseUnprotectedDP><UseBranchCache>true</UseBranchCache><EnableDeployment>true</EnableDeployment><EnableWakeOnLan>false</EnableWakeOnLan><AllowDownloadOutSW>false</AllowDownloadOutSW><AllowInstallOutSW>false</AllowInstallOutSW><EnableAlert>true</EnableAlert><AlertThresholdPercentage>90</AlertThresholdPercentage><AlertDuration>7</AlertDuration><AlertDurationUnits>Days</AlertDurationUnits><EnableNAPEnforcement>false</EnableNAPEnforcement><UserNotificationOption>DisplayAll</UserNotificationOption><LimitStateMessageVerbosity>true</LimitStateMessageVerbosity><StateMessageVerbosity>5</StateMessageVerbosity><AllowWUMU>true</AllowWUMU><AllowUseMeteredNetwork>false</AllowUseMeteredNetwork></DeploymentCreationActionXML>  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.521+360><thread=4700 (0x125C)>
~  Rule XML is: <AutoDeploymentRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DeploymentName>Windows 7 Advanced</DeploymentName><DeploymentDescription/><LocaleId>1033</LocaleId><UseSameDeployment>false</UseSameDeployment><EnableAfterCreate>true</EnableAfterCreate><NoEULAUpdates>false</NoEULAUpdates><AlignWithSyncSchedule>true</AlignWithSyncSchedule><ScopeIDs><ScopeID>SMS00UNA</ScopeID></ScopeIDs></AutoDeploymentRule>  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.521+360><thread=4700 (0x125C)>
~  Criteria Filter Result XML is: <AutoDeploymentRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DeploymentName>Windows 7 Advanced</DeploymentName><DeploymentDescription/><LocaleId>1033</LocaleId><UseSameDeployment>false</UseSameDeployment><EnableAfterCreate>true</EnableAfterCreate><NoEULAUpdates>false</NoEULAUpdates><AlignWithSyncSchedule>true</AlignWithSyncSchedule><ScopeIDs><ScopeID>SMS00UNA</ScopeID></ScopeIDs></AutoDeploymentRule>  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.536+360><thread=4700 (0x125C)>
~    Parsing Deployment Action XML...  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.552+360><thread=4700 (0x125C)>
~    Parsing Rule XML...  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.552+360><thread=4700 (0x125C)>
Could not find element DeploymentId  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.567+360><thread=4700 (0x125C)>
Could not find element UpdateGroupId  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.583+360><thread=4700 (0x125C)>
Could not find element UpdateGroupName  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.599+360><thread=4700 (0x125C)>
The rule resulted in no updates being found. Skip deployment creation or update...  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.630+360><thread=4700 (0x125C)>
~CRuleHandler: Enforcing Actions for Rule 16777226 failed!  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.661+360><thread=4700 (0x125C)>
~CRuleHandler: ResetRulesAndCleanUp()  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.661+360><thread=4700 (0x125C)>
~Updated Failure Information for Rule: 16777226  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.708+360><thread=4700 (0x125C)>
~CRuleHandler: Deleting Rule 16777226  $$<SMS_RULE_ENGINE><03-05-2014 09:05:59.739+360><thread=4700 (0x125C)>
~Found notification file C:\Program Files\Microsoft Configuration Manager\inboxes\RuleEngine.box\16777226.RUL  $$<SMS_RULE_ENGINE><03-05-2014 09:06:31.845+360><thread=4700 (0x125C)>
RuleSchedulerThred: Change in Rules Object Signalled.  $$<SMS_RULE_ENGINE><03-05-2014 09:06:31.861+360><thread=4752 (0x1290)>
Refreshed ScheduleList instance for Rule (16777218) from schedule string (5902BA8000100200) with next occurence (3/5/2014 10:22:00 AM)  $$<SMS_RULE_ENGINE><03-05-2014 09:06:31.876+360><thread=4752 (0x1290)>
Refreshed ScheduleList instance for Rule (16777223) from schedule string () with next occurence (12/31/1969 6:00:00 PM)  $$<SMS_RULE_ENGINE><03-05-2014 09:06:31.908+360><thread=4752 (0x1290)>
Refreshed ScheduleList instance for Rule (16777225) from schedule string () with next occurence (12/31/1969 6:00:00 PM)  $$<SMS_RULE_ENGINE><03-05-2014 09:06:31.923+360><thread=4752 (0x1290)>
Refreshed ScheduleList instance for Rule (16777226) from schedule string () with next occurence (12/31/1969 6:00:00 PM)  $$<SMS_RULE_ENGINE><03-05-2014 09:06:31.939+360><thread=4752 (0x1290)>
Refreshed ScheduleList instance for Rule (16777227) from schedule string () with next occurence (12/31/1969 6:00:00 PM)  $$<SMS_RULE_ENGINE><03-05-2014 09:06:31.954+360><thread=4752 (0x1290)>
FindNextEventTime found next event for RuleID 16777218 as :3/5/2014 10:22:00 AM  $$<SMS_RULE_ENGINE><03-05-2014 09:06:31.970+360><thread=4752 (0x1290)>
RuleEngine: Got next rule execution time successfully. Next event is in  75 minutes  $$<SMS_RULE_ENGINE><03-05-2014 09:06:32.001+360><thread=4752 (0x1290)>
Sleeping for 15 minutes  $$<SMS_RULE_ENGINE><03-05-2014 09:06:32.017+360><thread=4752 (0x1290)>
~CRuleHandler: Need to Process 0 rules  $$<SMS_RULE_ENGINE><03-05-2014 09:06:31.876+360><thread=4700 (0x125C)>
~CRuleHandler: ResetRulesAndCleanUp()  $$<SMS_RULE_ENGINE><03-05-2014 09:06:32.064+360><thread=4700 (0x125C)>
0
Comment
Question by:Firstcom
  • 4
5 Comments
 
LVL 8

Expert Comment

by:Leon Taljaard
ID: 39906952
Hi

When is your sync with MS happening ? It could be that your ADR is trying to run at the same time the MS sync is happening or when it is still running, so maybe also confirm that.

Also check your filter criteria on what updates you are wanting your ADR to download, seems like it isn't finding any.

Hope it gives you some idea.

Thanks
0
 
LVL 1

Author Comment

by:Firstcom
ID: 39906966
Hi Leon,

It's scheduled to sync daily, but to test I'm launching the update request from within System Center manually. It's set to grab all critical and security updates, but it's bombing  with the info I provided above.
0
 
LVL 1

Author Comment

by:Firstcom
ID: 39909171
Still seeking assistance with this!
0
 
LVL 1

Accepted Solution

by:
Firstcom earned 0 total points
ID: 39910893
Figured it out. Had to go to our "central" server to enable the rules.
0
 
LVL 1

Author Closing Comment

by:Firstcom
ID: 39919996
Figured it out on our own.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Ever wondered why Windows 8 and 10 don't seem to accept your GPO-based software deployment while Windows 7 does? Read on.
Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now