Jump to content


anyweb

using System Center 2012 Configuration Manager - Part 9. Deploying Monthly Updates

Recommended Posts

Hello everyone,

 

I'm currently having a headache with SCUP. We used to have SCCM 2007 with WSUS (not SCUP) which was working fine until both server crash. I then decided to follow your guide on how to install SCCM 2012 with SCUP. All my ADR rules work great, the package get new update, they get update on the DP.

 

My configuration is a standalone Primary Server with all the required role on it, running SCCM 2012 SP1, Server 2012 standard and SQL Server 2012 SP1 Enterprise.

 

Now, what I don't get is my package was updated yesterday with new updates (both windows 7 updates and endpoint updates). But when I run windows update or software center, there's nothing in it. The first update I saw was 2 minutes ago on my SCCM server and it was for an outdated endpoint update (it downloaded the 1.155.1661.0 definition while the 1.155.1705.0 is available).

 

All the updates are into a group and package, and those packages are on collection. I've checked and my computer are in that collection.

 

Is there anyway to solve that?

 

Can we use both wsus and scup on the server? If I understand now, updates will now be "software" from the software center and not from windows update, right? Can I use windows update for, well, windows update and use SCUP for the reste (real software like quicktime updates, flash updates, etc...)? I feel WSUS was working better then SCUP, unless I don't get the concep.

 

Also, is there a way to get rid of replaced update?

 

Thanks

 

Still not working for me... When I open software center, nothing in it. Forefront does get updated, but windows doesn't get any patch.

Share this post


Link to post
Share on other sites

Hello...

First off, thanks for all the work you do in putting together these tutorials. They have sincerely helped a noob like myself trying to migrate from 2007 and administer 2012.

 

Sadly, I can't really even get going on this part because the script doesn't seem to be doing anything for me. I've followed the steps to a tee and the script kicks off and runs without any kind of errors. However, when I open the console, I still don't have any folders created. I will say that I jumped ahead at some point during all this and started syncing updates a while back. As such, I already have a boatload of updates showing up under "All Software Updates." Could that cause an issue with the folders not being created?

 

Any help would be highly appreciated!

Share this post


Link to post
Share on other sites

However, when I open the console, I still don't have any folders created.

 

 

are you sure you are looking in the right part of the console ? have you tried refreshing the view ? i've just rechecked the script on a Configuration Manager 2012 SP1 primary and the collections appeared after I refreshed the console after the script ran.

 

refresh console.png

Share this post


Link to post
Share on other sites

 

are you sure you are looking in the right part of the console ? have you tried refreshing the view ? i've just rechecked the script on a Configuration Manager 2012 SP1 primary and the collections appeared after I refreshed the console after the script ran.

 

attachicon.gifrefresh console.png

Thanks for the quick reply!

 

Unfortunately, I am looking in the right place and have tried refreshing several times. I've even tried re-running the script. Again, it runs without errors, but it does provide different information. I'm not great at reading and understanding scripts, but with the first run, I could tell where it was creating/moving folders and setting collections and maintenance windows. On subsequent runs, it's just performing "Get" commands. It's acting as if the folders do, in fact, exist. But, I don't understand why I don't see them... :/ See screens below.

post-20332-0-04610800-1376688877_thumb.png

post-20332-0-22725000-1376688888_thumb.png

Share this post


Link to post
Share on other sites

Hi Anyweb,

 

I did follow exactly your guide and created two ADRs and I disabled the first ADR and run the second ADR like your guide. But it does not work. I cannot see any update in my Window Update directory and I saw in my logfile "ruleengine.log" and found no errors. Here is my log:

 

 

###########

~ Populating Criterion Skeleton $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.447-120><thread=8848 (0x2290)>
~ Populating Action Skeleton $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.450-120><thread=8848 (0x2290)>
~ Populating Action Skeleton $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.451-120><thread=8848 (0x2290)>
~CRuleHandler: Need to Process 1 rules $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.452-120><thread=8848 (0x2290)>
~CRuleHandler: Processing Rule with ID:16777223, Name:ADR: Windows 7 Ultimate Software Update. $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.453-120><thread=8848 (0x2290)>
~Evaluating Update Criteria for AutoDeployment Rule 16777223 $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.453-120><thread=8848 (0x2290)>
~ Evaluating Update Criteria... $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.454-120><thread=8848 (0x2290)>
~ 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="DateRevised" UIPropertyName=""><MatchRules><string>0:0:1:0</string></MatchRules></UpdateXMLDescriptionItem><UpdateXMLDescriptionItem PropertyName="_Product" UIPropertyName=""><MatchRules><string>'Product:bfe5b177-a086-47a0-b102-097e4fa1f807'</string></MatchRules></UpdateXMLDescriptionItem></UpdateXMLDescriptionItems></UpdateXML> $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.454-120><thread=8848 (0x2290)>
~ Inserting PropertyName:DateRevised, PropertyValue:0:0:1:0 $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.455-120><thread=8848 (0x2290)>
~ Inserting PropertyName:_Product, PropertyValue:'Product:bfe5b177-a086-47a0-b102-097e4fa1f807' $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.455-120><thread=8848 (0x2290)>
~ Query to run is: select CI_ID from dbo.fn_ListUpdateCIs(1033) ci~where IsExpired=0~ and (DateRevised>=N'2013-08-19 11:25:29')~ and (CI_ID in (select CI_ID from v_CICategories_All where CategoryInstance_UniqueID in (N'Product:bfe5b177-a086-47a0-b102-097e4fa1f807'))) $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.455-120><thread=8848 (0x2290)>
Rule resulted in a total of 0 updates $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.557-120><thread=8848 (0x2290)>
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><08-20-2013 13:25:29.561-120><thread=8848 (0x2290)>
~Enforcing Content Download Action $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.561-120><thread=8848 (0x2290)>
Download Rule Action XML is: <ContentActionXML xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><PackageID>DIG00087</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><08-20-2013 13:25:29.561-120><thread=8848 (0x2290)>
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><08-20-2013 13:25:29.561-120><thread=8848 (0x2290)>
0 update(s) need to be downloaded in package "DIG00087" (\\SCCM2013\soureces\Windows Updates\Windows 7 Ultimate) $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.576-120><thread=8848 (0x2290)>
List of update(s) which match the content rule criteria = {} $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.576-120><thread=8848 (0x2290)>
No new update was added to the package. Package "DIG00087" would not be updated. $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.576-120><thread=8848 (0x2290)>
Download action completed for the AutoDeployment $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.577-120><thread=8848 (0x2290)>
~Enforcing Create Deployment Action $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.577-120><thread=8848 (0x2290)>
~ 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>DIG00018</CollectionId><IncludeSub>true</IncludeSub><Utc>false</Utc><Duration>7</Duration><DurationUnits>Days</DurationUnits><AvailableDeltaDuration>4</AvailableDeltaDuration><AvailableDeltaDurationUnits>Hours</AvailableDeltaDurationUnits><SuppressServers>Unchecked</SuppressServers><SuppressWorkstations>Unchecked</SuppressWorkstations><PersistOnWriteFilterDevices>Unchecked</PersistOnWriteFilterDevices><AllowRestart>false</AllowRestart><DisableMomAlert>false</DisableMomAlert><GenerateMomAlert>false</GenerateMomAlert><UseRemoteDP>false</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>false</LimitStateMessageVerbosity><StateMessageVerbosity>10</StateMessageVerbosity><AllowWUMU>false</AllowWUMU><AllowUseMeteredNetwork>false</AllowUseMeteredNetwork></DeploymentCreationActionXML> $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.577-120><thread=8848 (0x2290)>
~ Rule XML is: <AutoDeploymentRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DeploymentName>ADR: Windows 7 Ultimate Software Update</DeploymentName><DeploymentDescription/><LocaleId>1033</LocaleId><UseSameDeployment>false</UseSameDeployment><EnableAfterCreate>true</EnableAfterCreate><NoEULAUpdates>false</NoEULAUpdates><AlignWithSyncSchedule>false</AlignWithSyncSchedule><ScopeIDs><ScopeID>SMS00UNA</ScopeID></ScopeIDs></AutoDeploymentRule> $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.578-120><thread=8848 (0x2290)>
~ Criteria Filter Result XML is: <AutoDeploymentRule xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><DeploymentName>ADR: Windows 7 Ultimate Software Update</DeploymentName><DeploymentDescription/><LocaleId>1033</LocaleId><UseSameDeployment>false</UseSameDeployment><EnableAfterCreate>true</EnableAfterCreate><NoEULAUpdates>false</NoEULAUpdates><AlignWithSyncSchedule>false</AlignWithSyncSchedule><ScopeIDs><ScopeID>SMS00UNA</ScopeID></ScopeIDs></AutoDeploymentRule> $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.578-120><thread=8848 (0x2290)>
~ Parsing Deployment Action XML... $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.579-120><thread=8848 (0x2290)>
~ Parsing Rule XML... $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.579-120><thread=8848 (0x2290)>
Could not find element DeploymentId $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.580-120><thread=8848 (0x2290)>
Could not find element UpdateGroupId $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.580-120><thread=8848 (0x2290)>
Could not find element UpdateGroupName $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.580-120><thread=8848 (0x2290)>
The rule resulted in no updates being found. Skip deployment creation or update... $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.582-120><thread=8848 (0x2290)>
~CRuleHandler: Rule 16777223 Successfully Applied! $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.582-120><thread=8848 (0x2290)>
~CRuleHandler: ResetRulesAndCleanUp() $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.582-120><thread=8848 (0x2290)>
~Updated Success Information for Rule: 16777223 $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.584-120><thread=8848 (0x2290)>
~CRuleHandler: Deleting Rule 16777223 $$<SMS_RULE_ENGINE><08-20-2013 13:25:29.584-120><thread=8848 (0x2290)>
~Found notification file C:\Program Files\Microsoft Configuration Manager\inboxes\RuleEngine.box\16777223.RUL $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.443-120><thread=8848 (0x2290)>
RuleSchedulerThred: Change in Rules Object Signalled. $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.444-120><thread=4240 (0x1090)>
Refreshed ScheduleList instance for Rule (16777217) from schedule string () with next occurence (01.01.1970 01:00:00) $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.445-120><thread=4240 (0x1090)>
Refreshed ScheduleList instance for Rule (16777218) from schedule string () with next occurence (01.01.1970 01:00:00) $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.445-120><thread=4240 (0x1090)>
Refreshed ScheduleList instance for Rule (16777219) from schedule string () with next occurence (01.01.1970 01:00:00) $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.446-120><thread=4240 (0x1090)>
Refreshed ScheduleList instance for Rule (16777222) from schedule string (B6748AC000231400) with next occurence (10.09.2013 19:45:00) $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.446-120><thread=4240 (0x1090)>
Refreshed ScheduleList instance for Rule (16777223) from schedule string (EE748AC000231400) with next occurence (10.09.2013 19:59:00) $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.446-120><thread=4240 (0x1090)>
FindNextEventTime found next event for RuleID 16777222 as :10.09.2013 19:45:00 $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.446-120><thread=4240 (0x1090)>
RuleEngine: Got next rule execution time successfully. Next event is in 30619 minutes $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.447-120><thread=4240 (0x1090)>
Sleeping for 15 minutes $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.447-120><thread=4240 (0x1090)>
~CRuleHandler: Need to Process 0 rules $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.445-120><thread=8848 (0x2290)>
~CRuleHandler: ResetRulesAndCleanUp() $$<SMS_RULE_ENGINE><08-20-2013 13:25:39.465-120><thread=8848 (0x2290)>

#################

 

Where is the Problem?

 

Thanks

 

Keywan

Share this post


Link to post
Share on other sites

Hi,

I have created all the collections, ADR etc. as described above. But every month, I get on a lot of my workstations "downloading 0% complete". When i look further, i see that deployment package shows an error on the DP content status: error: the source folder for content does not exist".

When i run the ADR, the folder for example Win7 is created and Inside i see updates.. But after sometimes, this folder seems to disappear... So when the clients try to update, there is no source.

Do you have any idea? What can i do wrong??

I've noticed the same thing happens for my endpoint protection updates, except that since this is applied right away everyday, i don't get any error. But the folder containing the updates is also "deleted" when i look in the source folder...

 

Thx a lot for your help, i'm really getting crazy about this!

 

Olivier

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.