Bug! MP installation fails even if WebDav=Ok

I have been installing a lot of new SCCM 2007 sites lately and used my step by step guide. In my guide I configure Webdav settings needed by SCCM before starting Configuration Manager installation.

SCCM 2007 Re set WebDav settings and Apply

When SCCM tries to install Management Point (MP) it fails and in the setup log it says that the WebDav settings are wrong even if they are set correctly?!

Solution is to re-set all the four needed values, apply settings and restart IIS services. Next time MP installation will retry it will success..

Corrupt GPO causes SCCM patch management to fail, solution here!

Some servers are having GPO problems and these problems makes SCCM unable to update the WindowsUpdate registry values so I made this Registry file and imported it to all systems having GPO issues.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"WUServer"="
http://yyour_sccm_sup_server.xxx.xxx.xxx:80"
"WUStatusServer"="
http://your_sccm_sup_server.xxx.xxx.xxx:80"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"UseWUServer"=dword:00000001

When the file is imported SCCM detects that there are GPO values and then makes his updates making SCCM patch management to start working.

SCCM LastStatusChangeTime updates every day

I run this below VBS script every day at SCCM customers to get better an more accurate patch installation status from clients:

Option Explicit
On Error Resume Next

Call RefreshServerComplianceState

' WScript.Echo "Finished"

Sub RefreshServerComplianceState()

    ' Initialize the UpdatesStore variable.
    dim newCCMUpdatesStore
  
    ' Create the COM object.
    set newCCMUpdatesStore = CreateObject ("Microsoft.CCM.UpdatesStore")

    ' Refresh the server compliance state by running the RefreshServerComplianceState method.
    newCCMUpdatesStore.RefreshServerComplianceState
  
    ' Output success message.
'    wscript.echo "Ran RefreshServerComplianceState."

End Sub

I took it from Microsoft msdn so it’s supported:
http://msdn.microsoft.com/en-us/library/cc146437.aspx

The only down side i have seen is that the LastStatusChangeTime is updated every time the script is run and therefore you can’t use this field to validate the patch installation date. I query “Add remove programs” table and the patch KB number for that.

LastStatusChangeTime in SCCM

Technorati-taggar: ,,,,