Quick post on the Distribution Point availability Error.Primary Site cannot check the availability of the Remote Distribution Point servers and Sitestat.log generating error messages continuously for DP servers
“omGetServerRoleAvailabilityState could not read from the registry on CMDP01.eskonr.com; error = 6:”
“Failed to get the Availability State on server CMDP01.eskonr.com for role SMS Distribution Point.”
How to Fix this ?
Create a DWord Registry key with name ‘Availability State’ and value=0 on the problem DP servers.
Path to create DW Registry name and value:
HKLM\SOFTWARE\Microsoft\SMS\Operations Management\SMS Server Role\SMS Distribution Point
After sometime, site server polls the Remote DP servers,it will check the availability and update the information in the Database.
you see something like this.
if you are running this issue on large number of servers,use the below VB script.
ON ERROR RESUME NEXT
Const HKEY_LOCAL_MACHINE = &H80000002
Set objfso = CreateObject ("Scripting.FileSystemObject")
Set servers = objfso.OpenTextFile ("servers.txt", 1)
Set outputList = objfso.OpenTextFile ("outputList.txt", 2, True)
do While Not servers.AtEndOfStream
strcomputer=servers.readline
Set oReg=GetObject("winmgmts:\\" & strComputer & "\root\default:StdRegProv")
strKeyPath = "SOFTWARE\Microsoft\SMS\Operations Management\SMS Server Role\SMS Distribution Point"
oreg.setDWORDValue HKEY_LOCAL_MACHINE,strkeypath, "Availability State" , "0"
if err=0 then
outputList.WriteLine "Registry added onto" & vbTab & strcomputer
else
outputList.WriteLine "Registry not added onto" & vbTab & strcomputer
end if
loop
msgbox "Done"
Configmgr 2012:Failed to get the Availability State on server for role SMS Distribution Point Error:6 sitestat.log is a post from: Eswar Koneti's Blog