Thursday 29 October 2015

Scheduler.log "There is no address defined for site"

If the SMS Site is removed from the hierarchy and there are Jobs still in the Scheduler.box, you will get an error in Scheduler.log "There is no address defined for site".


Even though you remove the site and run the preinst /deljob:sitecode command you may get this error.

Here is my solution
  •   Create a folder on another computer and share it with the name SMS_SITE.
  •    Create an address (Standard Sender Address) using the site code of the removed site           (also seen in the error message)
  •  For the Site Server Name use the name of the machine where the share has been created  
  •  Make sure the site server has the correct permissions to connect and write to the share,     or define an account that is to be used
After a while some files will appear in the new folder, leave for a few days, then remove the files and the share. If there are no more error messages in the Sched.log remove the address for the old site

SCCM SQL Query to get Bit-locker Recovery Key

  SELECT cm.Name, ck.RecoveryKeyId, cv.VolumeGuid, cvt.TypeName AS 'Volume Type', RecoveryAndHardwareCore.DecryptString(ck...