<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Fei Xia's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/fei_xias_blog/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/fei_xias_blog/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 04:09:29 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>System Center 2012 ConfigMgr: Using VBS to Extend the DCM Script Execution Timeout Value</title>
      <link>https://docs.microsoft.com/archive/blogs/fei_xias_blog/system-center-2012-configmgr-using-vbs-to-extend-the-dcm-script-execution-timeout-value</link>
      <pubDate>Sun, 20 Oct 2013 20:46:25 GMT</pubDate>
      <dc:creator><![CDATA[Fei Xia [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/fei_xias_blog/2013/10/20/system-center-2012-configmgr-using-vbs-to-extend-the-dcm-script-execution-timeout-value/</guid>
      <description><![CDATA[In System Center 2012 Configuration Manager, if you want to extend the execution timeout value(the...]]></description>
      <content:encoded><![CDATA[<p>In System Center 2012 Configuration Manager, if you want to extend the execution timeout value(the default value is 60sec )&nbsp;of the client to run the long time&nbsp;cusotmized script(such as file/user saerching) in your Configuration Item, then you can try to run following script for your site server to modify the site control setting, and make your client to refresh the policy to get the new timeout value.</p>
<p>Steps:</p>
<p>0: Specify the new timeout value in script:</p>
<p>e.g.(set new value as 10mins): <span style="color: #993300; font-size: small;">NewValue =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 600</span></p>
<p>1: Save the script in a vbs file.</p>
<p>e.g.: test.vbs</p>
<p>2: Run the script by sepcify the site server and site code in a correct credential which has the permission the make the change on your site server.</p>
<p>e.g.: c:\cscript.exe test.vbs <strong>MySite </strong><strong>PRS&nbsp;</strong></p>
<p>3: After it modified the value successfully, you can triger a machine policy retrieval and evaluation cycle for your client, then your client would download the latest policy and the value should be changed. To verify the new value applied on client, you can run wbemtest, and connect to the namespace "root\ccm\policy\machine\actualconfig" then run query: "Select ScriptExecutionTimeout from CCM_ConfigurationManagementClientConfig" to see if value has been changed.</p>
<p><strong><span style="color: #993300; font-size: small;">-Script Body-</span></strong></p>
<p><span style="color: #993300; font-size: small;">On Error Resume Next</span></p>
<p><span style="color: #993300; font-size: small;">' Define string variables</span></p>
<p><span style="color: #993300; font-size: small;">Class_Name =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "SMS_SCI_ClientComp"</span><br /><span style="color: #993300; font-size: small;">Class_ItemName =&nbsp;&nbsp;&nbsp; "Configuration Management Agent"</span><br /><span style="color: #993300; font-size: small;">Class_ItemType =&nbsp;&nbsp;&nbsp; "Client Component"</span><br /><span style="color: #993300; font-size: small;">Property_Name =&nbsp;&nbsp;&nbsp;&nbsp; "ScriptExecutionTimeout"</span><br /><span style="color: #993300; font-size: small;">NewValue =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 600</span></p>
<p><span style="color: #993300; font-size: small;">' Check command line parameters ?on failure, report the error and terminate.</span><br /><span style="color: #993300; font-size: small;">' The SMS Provider server name and the site code are required.</span></p>
<p><span style="color: #993300; font-size: small;">set args=wscript.arguments</span></p>
<p><span style="color: #993300; font-size: small;">If args.Count = 2 then</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; SMSProviderServer = UCASE(Wscript.Arguments(0))</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; SiteCode = UCASE(Wscript.Arguments(1))</span><br /><span style="color: #993300; font-size: small;">Else</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; wscript.Echo "Incorrect command line arguments." &amp; vbCrLf &amp; "Usage: cscript /nologo ModifySCFProperty.vbs &lt;smsproviderserver&gt; &lt;sitecode&gt;" &amp; vbCrLf &amp; "Example: cscript /nologo ModifySCFProperty.vbs SERVER1 S01" &amp; vbCrLf</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; WScript.Quit(1)</span><br /><span style="color: #993300; font-size: small;">End If</span></p>
<p><br /><span style="color: #993300; font-size: small;">' Connect to the SMS Provider ?on failure, report the error and exit.</span></p>
<p><span style="color: #993300; font-size: small;">SMSProviderServer = "\\" + SMSProviderServer + "\"</span><br /><span style="color: #993300; font-size: small;">Set ObjSvc = GetObject("winmgmts:" &amp; "{impersonationLevel=Impersonate,authenticationLevel=Pkt}!" &amp; SMSProviderServer &amp; "root\sms\site_" &amp; SiteCode)</span></p>
<p><span style="color: #993300; font-size: small;">If Err.Number &lt;&gt; 0 Then</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; wscript.Echo "Failed to connect to provider server with code: " &amp; Err.Number &amp; ".&nbsp; Exiting!"</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; WScript.Quit(2)</span><br /><span style="color: #993300; font-size: small;">End If</span></p>
<p><span style="color: #993300; font-size: small;">' Get the requested instance of the class ?on failure, report the error and exit.</span></p>
<p><span style="color: #993300; font-size: small;">Set objInst = ObjSvc.Get(Class_Name &amp; ".ItemName='" &amp; Class_ItemName &amp; "',ItemType='" &amp; Class_ItemType &amp; "',SiteCode='" &amp; SiteCode &amp;"'")</span></p>
<p><span style="color: #993300; font-size: small;">If Err.Number &lt;&gt; 0 Then</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; WScript.Echo "Failed to open desired object with error code " &amp; Err.Number &amp; " (" &amp; Err.Description &amp; ").&nbsp; Exiting!"</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; WScript.Quit(3)</span><br /><span style="color: #993300; font-size: small;">End If</span></p>
<p><span style="color: #993300; font-size: small;">' Loop through the properties until we find a match (or run out of properties) ?on failure, report the error and exit.</span></p>
<p><span style="color: #993300; font-size: small;">bFoundProperty = False</span></p>
<p><span style="color: #993300; font-size: small;">For Each objProp in objInst.Props</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; If objProp.PropertyName = Property_Name Then</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; bFoundProperty = True</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit For</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; End If</span><br /><span style="color: #993300; font-size: small;">Next</span></p>
<p><span style="color: #993300; font-size: small;">If bFoundProperty = False Then</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; WScript.Echo "Requested class instance was found but the property was not found.&nbsp; Exiting without making any changes."</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; WScript.Quit(4)</span><br /><span style="color: #993300; font-size: small;">End If&nbsp;</span></p>
<p><span style="color: #993300; font-size: small;">' Property found. Check to see if existing value matches, change it as appropriate - on failure to save, report the error and exit.</span></p>
<p><span style="color: #993300; font-size: small;">If objProp.Value = NewValue Then</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; WScript.Echo "Property '" &amp; Property_Name &amp; "' found and matches the new value '" &amp; NewValue &amp; "'.&nbsp; Not making any changes."</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; WScript.Quit(0)</span><br /><span style="color: #993300; font-size: small;">Else</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; OriginalValue = objProp.Value</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; objProp.Value = NewValue</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; objProp.Put_</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; objInst.Put_</span></p>
<p><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; If Err.Number &lt;&gt; 0 Then</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; wscript.Echo "Failed to save the change with error code: " &amp; Err.Number &amp; ".&nbsp; Exiting!"</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WScript.Quit(5)</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; Else</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WScript.Echo "Property '" &amp; Property_Name &amp; "' successfully change from '" &amp; OriginalValue &amp; "' to '" &amp; NewValue &amp; "'."</span><br /><span style="color: #993300; font-size: small;">&nbsp;&nbsp;&nbsp; End If</span><br /><span style="color: #993300; font-size: small;">End If</span></p>
<p>&nbsp;</p>
<p><span style="color: #000000; font-size: small;">Besides, you can modify the class/property names in the script to modify other values to customize your site configuration.</span></p>
<p>&nbsp;</p>
<p><span style="color: #000000; font-size: small;">Thanks,</span></p>
<p><span style="color: #000000; font-size: small;">Fei</span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>[Issue] System Center 2012 Configuration Manager RTM Upgrade to SP1: DMP Proxy is not responding to HTTP requests</title>
      <link>https://docs.microsoft.com/archive/blogs/fei_xias_blog/issue-system-center-2012-configuration-manager-rtm-upgrade-to-sp1-dmp-proxy-is-not-responding-to-http-requests</link>
      <pubDate>Wed, 20 Mar 2013 20:19:00 GMT</pubDate>
      <dc:creator><![CDATA[Fei Xia [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/fei_xias_blog/2013/03/20/issue-system-center-2012-configuration-manager-rtm-upgrade-to-sp1-dmp-proxy-is-not-responding-to-http-requests/</guid>
      <description><![CDATA[Recently I tried to upgrade my System Center 2012 ConfigurationManager RTM hierarchy to SP1, and...]]></description>
      <content:encoded><![CDATA[<p>Recently I tried to upgrade my System Center 2012 Configuration<br />Manager RTM hierarchy to SP1, and found that the Device Management Point was<br />down after the upgrade. In the site console monitoring-&gt;component status, the<br />SMS_MP_CONTROL_MANAGER turned to critical and showed the error message: &ldquo;DMP<br />Proxy is not responding to HTTP requests.&rdquo; And there are also error messages in<br />mpcontrol.log: &rdquo;Call to HttpSendRequestSync failed for port 443 with status<br />code 500, text: Internal Server Error.&rdquo;, and reinstall the DMP would not fix<br />this issue.</p>
<p>Then I tried to run the &ldquo;\Windows\Microsoft.Net\Framework64\v4.0.30319\aspnet_regiis.exe<br />&ndash;i&rdquo; to refresh the ASP.net and IIS configuration, now the issue was resolved, the<br />DMP request is back to normal!</p>
<p>&nbsp;</p>
<p>Thanks,</p>
<p>Fei</p>]]></content:encoded>
    </item>
    <item>
      <title>About the issue for the latest MP update(6.0.6000.3): “Failed to read %PROCESSOR_ARCHITECTURE environment variable from Win32_Environment WMI class.”</title>
      <link>https://docs.microsoft.com/archive/blogs/fei_xias_blog/about-the-issue-for-the-latest-mp-update6-0-6000-3-failed-to-read-processor_architecture-environment-variable-from-win32_environment-wmi-class</link>
      <pubDate>Sun, 05 Feb 2012 22:53:00 GMT</pubDate>
      <dc:creator><![CDATA[Fei Xia [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/fei_xias_blog/2012/02/05/about-the-issue-for-the-latest-mp-update6-0-6000-3-failed-to-read-processor_architecture-environment-variable-from-win32_environment-wmi-class/</guid>
      <description><![CDATA[Update: Microsoft&nbsp;has published a Windows hotfix to resolve this issue~
Please refer the link...]]></description>
      <content:encoded><![CDATA[<p><strong>Update: Microsoft&nbsp;has published a Windows hotfix to resolve this issue~</strong></p>
<p>Please refer the link <a href="https://support.microsoft.com/kb/2692929">https://support.microsoft.com/kb/2692929</a>&nbsp;for more details:&nbsp;"0x80041001" error when the Win32_Environment WMI class is<br />queried by multiple requestors in Windows 7 or in Windows Server 2008 R2<strong></strong></p>
<p><b><span style="text-decoration: underline;">Issue Discription:</span></b></p>
<p>Recently, some of customers reported that they imported the new SCCM Monitoring Pack and encountered several script errors with the error message &ldquo;Failed to read %PROCESSOR_ARCHITECTURE environment variable from Win32_Environment WMI class&rdquo;. Peoples on the System Center Central forum(<a href="https://www.systemcentercentral.com/Forums/tabid/60/indexId/89622/vsdCurPage/1/Default.aspx?tag=Forums+Operations_Manager">https://www.systemcentercentral.com/Forums/tabid/60/indexId/89622/vsdCurPage/1/Default.aspx?tag=Forums+Operations_Manager</a>) also had long discussion about this but still no workaround to resolve it.</p>
<p>&nbsp;</p>
<p><b><span style="text-decoration: underline;">Repro:</span></b> &lt;Executing multiple scheduled task(~4) to execute following script&gt;</p>
<p><b><span style="text-decoration: underline;">Environment:</span> </b>Windows Server 2008 R2</p>
<p>On Error Resume Next</p>
<p>Dim sCimv2namespace, sProcArchQuery, oProcArchObjectSet, oProcArchObject, sProcArch</p>
<p>sCimv2namespace = "winmgmts:\\.\root\cimv2"</p>
<p>sProcArchQuery = "Select * From Win32_Environment Where Name = ""Processor_Architecture"""</p>
<p>Set oProcArchObjectSet = WMIExecQuery (sCimv2namespace, sProcArchQuery)</p>
<p>Set oProcArchObject = oProcArchObjectSet.Item("Win32_Environment.Name=""PROCESSOR_ARCHITECTURE"",UserName=""&lt;SYSTEM&gt;""")</p>
<p>sProcArch = oProcArchObject.VariableValue</p>
<p>On Error GoTo 0</p>
<p>Select Case sProcArch</p>
<p>&nbsp; Case "AMD64"</p>
<p>&nbsp; &nbsp;&nbsp;REG_PATH_SMS = "SOFTWARE\Wow6432Node\Microsoft\SMS"</p>
<p>&nbsp; Case "x86"</p>
<p>&nbsp;&nbsp;&nbsp; REG_PATH_SMS = "SOFTWARE\Microsoft\SMS"</p>
<p>&nbsp; Case Else</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp; ScriptError "read %PROCESSOR_ARCHITECTURE environment variable from Win32_Environment WMI class."</p>
<p>End Select</p>
<p>&nbsp;</p>
<p><b><span style="text-decoration: underline;">Investigation:</span></b></p>
<p>Actually, this error is caused by a Windows WMI bug, when there are multiple scheduled tasks to executing the script and it will fail after some times with <b>0x80041001 /WBEM_E_FAILED</b>.</p>
<p>&nbsp;</p>
<p><b><span style="text-decoration: underline;">Workaround:</span></b></p>
<p><b>Option#1:</b></p>
<p>Modify the script to check the registry instead of WMI.</p>
<p><b>Sample:</b> &nbsp;Modify the System Center Operations Manager 2007\Health Service State\Management<br />Pack\Microsoft.SystemCenter.ConfigurationManager.2007.{GUID}{GUID}.xml</p>
<p>-------------------------------- Disable/remove all of the WMI check script in the xml----------------------------</p>
<p>On Error Resume Next</p>
<p>Dim sCimv2namespace, sProcArchQuery, oProcArchObjectSet, oProcArchObject, sProcArch</p>
<p>sCimv2namespace = "winmgmts:\\.\root\cimv2"</p>
<p>sProcArchQuery = "Select * From Win32_Environment Where Name = ""Processor_Architecture"""</p>
<p>....</p>
<p>....</p>
<p>ScriptError "read %PROCESSOR_ARCHITECTURE environment variable from Win32_Environment WMI class."</p>
<p>End Select</p>
<p>-------------------------------- Use following registry check script instead ----------------------------</p>
<p><i>Please note, the Sub Main of the script for ConfigMgr 2007 Monitor SMS Executive Crash Dumps would set the <b>REG_KEY_IDENTIFICATION</b>(not REG_PATH_SMS) after the processor architecture check.</i></p>
<p><i>&nbsp;</i></p>
<p>If (CheckWow64RegistryKeyExists() = True) Then</p>
<p>&nbsp; REG_PATH_SMS = "SOFTWARE\Wow6432Node\Microsoft\SMS" &nbsp;&lsquo; or REG_KEY_IDENTIFICATION = REG_KEY_WOW64_IDENTIFICATION</p>
<p>Else</p>
<p>&nbsp; REG_PATH_SMS = "SOFTWARE\Microsoft\SMS" &nbsp;&lsquo; or REG_KEY_IDENTIFICATION = REG_KEY_WOW64_IDENTIFICATION</p>
<p>End If</p>
<p>------------------------------------------------------------------------------------------------------------------------------</p>
<p>&nbsp;</p>
<p><b>Option#2:</b></p>
<p>Add code to retry the WMI Query when the query failed for the first time.</p>
<p><b>Sample:</b> Modify<br />the System Center Operations Manager 2007\Health Service State\Management<br />Pack\Microsoft.SystemCenter.ConfigurationManager.2007.{GUID}{GUID}.xml</p>
<p>-------------------------------- Disable/remove all of the WMI check script in the xml----------------------------</p>
<p>On Error Resume Next</p>
<p>Dim sCimv2namespace, sProcArchQuery, oProcArchObjectSet, oProcArchObject, sProcArch</p>
<p>sCimv2namespace = "winmgmts:\\.\root\cimv2"</p>
<p>sProcArchQuery = "Select * From Win32_Environment Where Name = ""Processor_Architecture"""</p>
<p>....</p>
<p>....</p>
<p>ScriptError "read %PROCESSOR_ARCHITECTURE environment variable from Win32_Environment WMI class."</p>
<p>End Select</p>
<p>-------------------------------- Use following script<br />instead(would try to query the WMI 5 times with 5 seconds period) ----------------------------</p>
<p><i>Please note, the Sub Main of the script for ConfigMgr 2007 Monitor SMS Executive Crash Dumps would set the <b>REG_KEY_IDENTIFICATION</b> (not REG_PATH_SMS) after the processor architecture check.</i></p>
<p>&nbsp;</p>
<p>Dim sCimv2namespace, sProcArchQuery, oProcArchObjectSet, oProcArchObject, sProcArch, StartTimeA, EndTimeB, TimeOutC, RetryResult, RetryCount, RetryErrMessage</p>
<p>sCimv2namespace = "winmgmts:\\.\root\cimv2"</p>
<p>sProcArchQuery = "Select * From Win32_Environment Where Name = ""Processor_Architecture"""</p>
<p>RetrunResult = false</p>
<p>RetryCount = 5 'will retry 5 times</p>
<p>TimeOutC = 5 'wait 5 sec per time</p>
<p>&nbsp;</p>
<p>Do While RetryCount &gt; 0</p>
<p>&nbsp; On Error Resume Next</p>
<p>&nbsp; Set oProcArchObjectSet = WMIExecQuery (sCimv2namespace, sProcArchQuery)</p>
<p>&nbsp; Set oProcArchObject = oProcArchObjectSet.Item("Win32_Environment.Name=""PROCESSOR_ARCHITECTURE"",UserName=""&lt;SYSTEM&gt;""")</p>
<p>&nbsp; sProcArch = oProcArchObject.VariableValue</p>
<p>&nbsp; If Err.Number &lt;&gt; 0 Then</p>
<p>&nbsp;&nbsp;&nbsp; RetryCount = RetryCount &ndash; 1</p>
<p>&nbsp;&nbsp;&nbsp; &lsquo;if encountered runtime error, then collect the error message into RetryErrMessage.</p>
<p>&nbsp;&nbsp;&nbsp; RetryErrMessage = RetryErrMessage + "Try#" &amp; 5 - RetryCount &amp; ":Runtime Error(" &amp; CStr(Err.Number) &amp; ") - " &amp; Err.Description &amp; ";"</p>
<p>&nbsp; Else</p>
<p>&nbsp;&nbsp;&nbsp; Select Case sProcArch</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case "AMD64"</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REG_PATH_SMS = "SOFTWARE\Wow6432Node\Microsoft\SMS" &lsquo;or REG_KEY_IDENTIFICATION = REG_KEY_WOW64_IDENTIFICATION</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RetryResult = true</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Do&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case "x86"</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REG_PATH_SMS = "SOFTWARE\Microsoft\SMS" &nbsp;&lsquo;or REG_KEY_IDENTIFICATION = REG_KEY_WOW64_IDENTIFICATION</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RetryResult = true</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Exit Do</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case Else</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RetryCount = RetryCount &ndash; 1</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lsquo;if not a runtime error, then it should be an invalid value, so collect the invalid value into RetryErrMessage</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RetryErrMessage = RetryErrMessage + "Try#" &amp; 5 - RetryCount &amp; ":Invalid Value - '" &amp; sProcArch &amp; "', should be 'AMD64' or 'x86';"</p>
<p>&nbsp; &nbsp;End Select</p>
<p>&nbsp; End If</p>
<p>&nbsp; &lsquo;waiting...</p>
<p>&nbsp; StartTimeA = Timer</p>
<p>&nbsp; EndTimeB = 0</p>
<p>&nbsp; Do While EndTimeB - StartTimeA &lt;= TimeOutC</p>
<p>&nbsp; &nbsp;&nbsp;EndTimeB = Timer</p>
<p>&nbsp;&nbsp;&nbsp; If EndTimeB &lt; StartTimeA Then</p>
<p>&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;StartTimeB = EndTimeA</p>
<p>&nbsp;&nbsp;&nbsp; End If</p>
<p>&nbsp; Loop</p>
<p>&nbsp; On Error GoTo 0</p>
<p>Loop</p>
<p>&nbsp;</p>
<p>&lsquo;if retry to get the value successfully, then it would not report the pervious error.</p>
<p>If RetryResult = false Then</p>
<p>ScriptError "read %PROCESSOR_ARCHITECTURE environment variable from Win32_Environment WMI class. Script tried to query the WMI 5 times but all failed... [Error Detail]: " &amp; RetryErrMessage</p>
<p>End If</p>]]></content:encoded>
    </item>
    <item>
      <title>How to install or move the Configuration Manager 2007 site database to a clustered Microsoft SQL Server instance</title>
      <link>https://docs.microsoft.com/archive/blogs/fei_xias_blog/how-to-install-or-move-the-configuration-manager-2007-site-database-to-a-clustered-microsoft-sql-server-instance</link>
      <pubDate>Wed, 29 Jun 2011 23:58:00 GMT</pubDate>
      <dc:creator><![CDATA[Fei Xia [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/fei_xias_blog/2011/06/29/how-to-install-or-move-the-configuration-manager-2007-site-database-to-a-clustered-microsoft-sql-server-instance/</guid>
      <description><![CDATA[The System Center Configuration Manager 2007 site database can be installed or moved to a clustered...]]></description>
      <content:encoded><![CDATA[<p>The System Center Configuration Manager 2007 site database can be installed or moved to a clustered virtual Microsoft SQL Server instance that contains several nodes and this blog post will show the steps and screenshots to clarify how we can achieve this.</p>
<h3>Installing the Configuration Manager 2007 database on a clustered virtual Microsoft SQL Server instance</h3>
<p>The Configuration Manager 2007 site database can be installed on a clustered virtual Microsoft SQL Server instance by following steps:</p>
<p>1. Create the virtual SQL Server cluster to host the site database on an existing Windows Server cluster environment.&nbsp; We suggest that you to enable Kerberos and register the SPN for the clustered SQL Server since failure to do so can cause SQL backup issues.&nbsp;</p>
<p>See the following link for more information: <a href="https://social.technet.microsoft.com/forums/en-US/configmgrbackup/thread/de3d7be3-7d1f-47d6-90bc-fe25b1a19321/">https://social.technet.microsoft.com/forums/en-US/configmgrbackup/thread/de3d7be3-7d1f-47d6-90bc-fe25b1a19321/</a>.</p>
<p>To configure these, please refer the online document on <a href="https://msdn.microsoft.com/en-us/library/ms191153.aspx">https://msdn.microsoft.com/en-us/library/ms191153.aspx</a>.</p>
<p>2. Add the machine account of the primary site server machine to the <b>Local Administrators</b> group of each Windows Server cluster node computer. This is required to allow the site server to install and configure settings later.</p>
<p>3. In the virtual SQL Server instance, assign the <b>sysadmin</b> SQL Server role to the user account running Configuration Manager Setup.</p>
<p>4. Start Configuration Manager Setup and select to install Configuration Manager using custom settings.</p>
<p>5. On the <b>Configuration Manager Database Server</b> page of the <b>Configuration Manager Setup Wizard</b>, enter the name of the clustered virtual SQL Server instance to host the site database and the name for the site database to be created on that instance by setup.</p>
<p>After the installation, the site system list will show <b>all the SQL Cluster nodes</b> with the database role on them.&nbsp; In the screen shot below the two SQL Cluster nodes are 2K3SQL1 &amp; 2K3SQL2:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/8780.p1.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-68/8780.p1.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/8780.p1.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-68/8780.p1.png" /></a></p>
<p><span style="font-size: xx-small;" size="1"><em>ref: </em></span><a href="https://technet.microsoft.com/en-us/library/bb680513.aspx"><span style="font-size: xx-small;" size="1"><em>https://technet.microsoft.com/en-us/library/bb680513.aspx</em></span></a></p>
<h3><b>Moving the</b> <b>Configuration Manager 2007 </b><b>s</b><b>ite </b><b>d</b><b>atabase to a clustered virtual Microsoft SQL Server instance</b><b></b></h3>
<p>The Configuration Manager 2007 site database can be moved to a clustered virtual Microsoft SQL Server instance by following the steps below(and please remember the SQL Collation to move SCCM DataBase.):</p>
<p>1. Back up the site database on the current site database server and restore it on the clustered virtual Microsoft SQL Server instance using the SQL Server Management Studio.&nbsp; We suggest that you enable Kerberos and register the SPN for the clustered SQL Server to avoid potential SQL backup issues.</p>
<p>2. Ensure the <b>primary site server computer account</b> has <b>administrative privileges</b> over each SQL cluster node computer.</p>
<p>3. Close any open Configuration Manager console connections to the site server.</p>
<p>4. On the primary site server computer, use the hierarchy maintenance tool (<b>Preinst.exe</b>) to stop all site services with the following command:</p>
<p><strong><em>Preinst /stopsite</em></strong></p>
<p>5. On the primary site server computer, click Start, click All Programs, click Microsoft System Center, click Configuration Manager 2007, and click ConfigMgr Setup.&nbsp; Alternatively you can navigate to the .\bin\i386 directory of the Configuration Manager 2007 installation media and double-click Setup.exe.</p>
<p>6. Click Next on the <b>Configuration Manager Setup Wizard Welcome</b> page.</p>
<p>7. Click <b>Perform site maintenance or reset this site</b> on the <b>Configuration Manager Setup Wizard Setup Options</b> page.</p>
<p>8. Select <b>Modify SQL Server configuration</b> on the Configuration Manager Setup Wizard Site Maintenance page.</p>
<p>9. Enter the name of the clustered virtual SQL Server instance to host the site database for the new site database server as well as the site database name on the <b>Configuration Manager Setup Wizard SQL Server Configuration</b> page.</p>
<p>10. Configuration Manager Setup performs the SQL Server configuration process.</p>
<p>11. Restart the primary site server computer and verify the site is functioning normally.</p>
<p>After the process is done, the site system list should show the clustered virtual Microsoft SQL Server <b>temporarily</b> with the database role.&nbsp; In the screenshot below, the virtual SQL Cluster server is SQL2K8CLUSTERNA and the old database server is SQLCLUSTER-DC.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/3124.p2.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-68/3124.p2.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/3124.p2.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-68/3124.p2.png" /></a><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/6724.p3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-68/6724.p3.png"></a></p>
<p>Just wait few minutes and refresh the Site System list.&nbsp; After a few moments all of the SQL Cluster nodes should be displayed in the site system list with the&nbsp; database role, and the clustered virtual Microsoft SQL Server will have no longer with the database role.&nbsp; In the screen shot below, the SQL Cluster nodes are SQL2K8NMND2 &amp; SQL2K8SP2N, and the SQL Cluster virtual server is SQL2K8CLUSTERNA:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/6724.p3.png" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-68/6724.p3.png"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/6724.p3.png" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-68/6724.p3.png" /></a></p>
<p><strong><em><span style="font-size: xx-small;" size="1">ref: </span></em><a href="https://technet.microsoft.com/en-us/library/bb680707.aspx"><em><span style="font-size: xx-small;" size="1">https://technet.microsoft.com/en-us/library/bb680707.aspx</span></em></a></strong></p>
<p>&nbsp;</p>
<p>Thanks,</p>
<p>Fei<strong><em><span style="font-size: xx-small;" size="1"></span></em></strong>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>When you encountered a 407 error with proxy authentication configured in System Center Updates Publisher 2011</title>
      <link>https://docs.microsoft.com/archive/blogs/fei_xias_blog/when-you-encountered-a-407-error-with-proxy-authentication-configured-in-system-center-updates-publisher-2011</link>
      <pubDate>Wed, 29 Jun 2011 23:39:00 GMT</pubDate>
      <dc:creator><![CDATA[Fei Xia [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/fei_xias_blog/2011/06/29/when-you-encountered-a-407-error-with-proxy-authentication-configured-in-system-center-updates-publisher-2011/</guid>
      <description><![CDATA[ISSUE DESCRIPTION:
Consider following scenario:
You specified the &ldquo;domain\user&rdquo; with...]]></description>
      <content:encoded><![CDATA[<p><span style="text-decoration: underline;"><b>ISSUE DESCRIPTION:</b></span></p>
<p>Consider following scenario:</p>
<p>You specified the &ldquo;domain\user&rdquo; with password correctly in your System Center Updates Publisher 2011 proxy settings.</p>
<p>Your proxy admin enabled both the &ldquo;Integrated&rdquo; and &ldquo;Basic&rdquo; authentication methods on your proxy server(Microsoft Forefront TMG server as the example here):</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/1731.1.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-68/1731.1.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/1731.1.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-68/1731.1.jpg" width="336" height="375" /></a></p>
<p>Then you would encounter the 407 proxy authentication error when your System Center Updates Publisher tried to access internet to download catalogs with the proxy settings.</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><b>ROOT CAUSE:</b></span></p>
<p>The System Center Updates Publisher 2011 would only support the &ldquo;Basic&rdquo; authentication method.</p>
<p>&nbsp;</p>
<p><span style="text-decoration: underline;"><b>WORKAROUND:</b></span></p>
<p>#1: Disable the &ldquo;Integrated&rdquo; and enable the &ldquo;Basic&rdquo; method on your proxy server.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/7607.2.jpg" original-url="https://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-68/7607.2.jpg"><img border="0" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/7607.2.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-41-68/7607.2.jpg" width="332" height="361" /></a></p>
<p>#2: Download the catalogs manually from internet then import into the System Center Updates Publisher.</p>
<p>&nbsp;</p>
<p>Thanks,</p>
<p>Fei</p>]]></content:encoded>
    </item>
    <item>
      <title>How To Expire Update By SCUP And Sync With WSUS In ConfigMgr 2007</title>
      <link>https://docs.microsoft.com/archive/blogs/fei_xias_blog/how-to-expire-update-by-scup-and-sync-with-wsus-in-configmgr-2007</link>
      <pubDate>Thu, 28 Oct 2010 19:01:00 GMT</pubDate>
      <dc:creator><![CDATA[Fei Xia [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/fei_xias_blog/2010/10/28/how-to-expire-update-by-scup-and-sync-with-wsus-in-configmgr-2007/</guid>
      <description><![CDATA[ISSUES DESCRIPTION: 

The SCUP tool would help users to publish their private updates to WSUS and...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal"><b><span style="text-decoration: underline;"><span style="font-size: 12pt;"><span style="font-family: Calibri;">ISSUES DESCRIPTION: <o:p></o:p></span></span></span></b></p>
<p class="MsoNormal"><b><o:p><span style="font-family: Calibri; font-size: small;"></span></o:p></b></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">The SCUP tool would help users to publish their private updates to WSUS and sync by ConfigMgr 2007 easily<span style="color: #1f497d;">, &nbsp;</span>and users always tried to sync these updates with WSUS by click &ldquo;<b>Run Synchronization</b>&rdquo; on ConfigMgr console<span style="color: #1f497d;">.</span> But this manually sync would not sync the &ldquo;<b>Expired</b>&rdquo; flag from WSUS to SCCM, so if the user want to expire his update by SCUP and run the manual sync, the log (SMS\logs\<b>wsyncmgr.log</b>) would say &ldquo;No changes made to the SMS database&rdquo;:</span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"></span></span><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #1f497d;"><span style="font-size: 12pt;"><span style="font-family: Calibri;"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/8132.0.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-41-68/8132.0.jpg" border="0" /></span></span></span><o:p></o:p></span></span></p>
<p class="MsoNormal"><v:shapetype coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f" id="_x0000_t75"><v:stroke joinstyle="miter"></v:stroke><v:formulas><v:f eqn="if lineDrawn pixelLineWidth 0"></v:f><v:f eqn="sum @0 1 0"></v:f><v:f eqn="sum 0 0 @1"></v:f><v:f eqn="prod @2 1 2"></v:f><v:f eqn="prod @3 21600 pixelWidth"></v:f><v:f eqn="prod @3 21600 pixelHeight"></v:f><v:f eqn="sum @0 0 1"></v:f><v:f eqn="prod @6 1 2"></v:f><v:f eqn="prod @7 21600 pixelWidth"></v:f><v:f eqn="sum @8 21600 0"></v:f><v:f eqn="prod @7 21600 pixelHeight"></v:f><v:f eqn="sum @10 21600 0"></v:f></v:formulas><v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:shapetype><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;">That&rsquo;s because the manual sync would not sync the expired flag for the existed update, and only the <b>scheduled sync</b> could do that, so we put the workaround here to resolve this problem by using the scheduled sync.&nbsp;&nbsp;&nbsp;</span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"></span></span></p>
<p class="MsoNormal"><span style="font-size: small;"><span style="font-family: Calibri;"></span></span></p>
<p class="MsoNormal"><b><span style="text-decoration: underline;"><span style="font-size: 12pt;"><span style="font-family: Calibri;">WORKAROUND:</span></span></span></b></p>
<p class="MsoNormal"><b><span style="text-decoration: underline;"><span style="font-size: 12pt;"><span style="font-family: Calibri;"></span></span></span></b><span style="font-size: small;"><span style="font-family: Calibri;">1. &nbsp;Open the SCUP console, then select and expire the update that you want to expire.</span></span></p>
<p class="MsoListParagraph"><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp;&nbsp; </span></span><span style="color: #1f497d;"><o:p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/0624.1.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-41-68/0624.1.jpg" border="0" /></o:p></span></p>
<p class="MsoListParagraph"><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #000000;"><span style="font-size: small;"><span style="font-family: Calibri;">2.&nbsp;&nbsp;Set the update&nbsp;</span></span></span>with &ldquo;Publish&rdquo; flag and click publish update to re-publish it, so the update record in WSUS database would be flagged as &ldquo;<b>Expired&rdquo;.</b></span></span></p>
<p class="MsoListParagraph"><span style="font-size: small;"><span style="font-family: Calibri;"><strong>&nbsp;&nbsp;&nbsp; </strong></span></span><span style="color: #1f497d;"><o:p><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/2287.2.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-41-68/2287.2.jpg" border="0" /></o:p></span></p>
<p class="MsoListParagraph"><span style="color: #1f497d;"><o:p><span style="font-size: small;"><span style="font-family: Calibri;"><span style="color: #000000;"><span style="font-size: small;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp; Record</span></span></span></span></span></o:p></span><span style="color: #1f497d;"><o:p><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: Calibri;"> in WSUS Database:</span></span></span></o:p></span></p>
<p class="MsoListParagraph"><span style="color: #1f497d;"><o:p><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: Calibri;">&nbsp;&nbsp;&nbsp; </span></span></span></o:p></span><span style="color: #1f497d;"><o:p><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: Calibri;"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/5001.3.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-41-68/5001.3.jpg" border="0" /></span></span></span></o:p></span></p>
<p class="MsoListParagraph"><span style="color: #1f497d;"><o:p><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: Calibri;"></span></span></span></o:p></span></p>
<p><span style="color: #1f497d;"><o:p><span style="font-size: small;"><span style="color: #000000;"><span style="font-family: Calibri;"><o:p>
<p class="MsoNormal">3.&nbsp; Open <span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;">the ConfigMgr console, then navigate to <b>Site Management-&gt;<span style="color: #1f497d;">&lt;</span>SiteCode<span style="color: #1f497d;">&gt;</span>-&gt;Component Configuration-&gt;Software Update Point</b> and open the properties, and make sure the &ldquo;<b>Enable synchronization on a schedule</b>&rdquo; is checked.(</span><i>Note: Default is <b>7</b> days, you could also set a custom schedule for a quick check.)</i></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/1768.4.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-41-68/1768.4.jpg" border="0" /></p>
</o:p></span></span></span></o:p></span></p>
<p>&nbsp;</p>
<p class="MsoNormal">&nbsp;4.&nbsp;&nbsp; <span style="font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-fareast-font-family: SimSun; mso-fareast-theme-font: minor-fareast; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA;">Wait the scheduled sync and check the log(SMS\Logs\<b>wsyncmgr.log</b>), </span><span style="font-size: small;"><span style="font-family: Calibri;">it would say: &rdquo;<b>Removed 1 unreferenced updates</b>&rdquo;<o:p></o:p></span></span></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/8132.5.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-41-68/8132.5.jpg" border="0" /></p>
<p class="MsoNormal">5.&nbsp;&nbsp; <span style="color: black; mso-fareast-font-family: Calibri;"><span style="mso-list: Ignore;"><span style="font: 7pt 'Times New Roman';">&nbsp;</span></span></span><span style="font-size: small;"><span style="font-family: Calibri;">Refresh your update list in ConfigMgr console, and now the update was flagged as &ldquo;<b>Expired</b>&rdquo;.</span></span></p>
<p class="MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; <img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/41/68/2055.6.jpg" original-url="https://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-01-41-68/2055.6.jpg" border="0" /></p>
<p class="MsoNormal">&nbsp;</p>
<p class="MsoNormal">-Fei</p>]]></content:encoded>
    </item>
  </channel>
</rss>