I’ve just started testing the process of reassigning a distribution point from ConfigMgr 2007 to ConfigMgr 2012 (previously known as Distribution Point Upgrade) and hit my first hurdle…

In this particular environment, there are over 100 Secondary Sites at the end of slow links that operate as Management Point proxy, Distribution Point and PXE point. These roles are co-hosted on a server that is also hosts the Domain Controller role and File and Print. As part of the upgrade process, these sites will be converted to 2012 Distribution Points. While testing in the lab, I found that ConfigMgr 2012 was quite happy to kick off the process, but the Secondary site never gets uninstalled.

Initially, everything looked good in hman.log on the ConfigMgr 2007 primary:
Start deinstalling secondary site XXX SMS_HIERARCHY_MANAGER 27/01/2015 11:41:43 AM 920 (0x0398)
Created minijob (JobID = 0014F7AB) to deinstall secondary site XXX SMS_HIERARCHY_MANAGER 27/01/2015 11:41:43 AM 920 (0x0398)
Created site notification for site XXX SMS_HIERARCHY_MANAGER 27/01/2015 11:41:43 AM 920 (0x0398)
Deleting site XXX from the site control and sites table as a result of site XXX detaching from site XX1. SMS_HIERARCHY_MANAGER 27/01/2015 11:41:53 AM 920 (0x0398)
Created site notification for site XXX SMS_HIERARCHY_MANAGER 27/01/2015 11:41:53 AM 920 (0x0398)

But things didn’t look so good in Sender.log on the ConfigMgr 2007 primary:
Trying the No. 1 address (out of 1) SMS_LAN_SENDER 27/01/2015 12:11:01 PM 3708 (0x0E7C)
FQDN for server SERVER is SERVER.local SMS_LAN_SENDER 27/01/2015 12:11:01 PM 3708 (0x0E7C)
There is no existing connection, Win32 error = 5 SMS_LAN_SENDER 27/01/2015 12:11:01 PM 3708 (0x0E7C)
There is no existing connection, Win32 error = 5 SMS_LAN_SENDER 27/01/2015 12:11:01 PM 3708 (0x0E7C)
Error during connection to \SERVER.localP$ (5). SMS_LAN_SENDER 27/01/2015 12:11:01 PM 3708 (0x0E7C)
Error is considered fatal. SMS_LAN_SENDER 27/01/2015 12:11:01 PM 3708 (0x0E7C)

Error lookup tells me that Win32 error = 5 is Access Denied. But this has never been a problem before, so after spending a bit of time thinking about it I realised a few things:

  • Secondary sites are installed using local source files
  • Site communication occurs successfully due to site to site connection groups
  • The primary site is attempting to connect to the hidden drive share

So, the problem is, the primary server doesn’t have access to the admin shares because the server it’s connecting to is a domain controller. The problem doesn’t show up in day to day administrative tasks because of the method of installation.

Solution: Add the primary server to the Administrators group of the domain and reboot the primary server. This will obviously not be the best solution in all cases and some people may have reservations, so consider your environment and whether this is appropriate, but at least this might help you identify what the problem is!

Happier sender.log:
Trying the No. 1 address (out of 1) SMS_LAN_SENDER 27/01/2015 12:11:58 PM 5496 (0x1578)
FQDN for server SERVER is SERVER.local SMS_LAN_SENDER 27/01/2015 12:11:58 PM 5496 (0x1578)
Retrieved the snapshot for priority 4, there are 0 files in the snapshot. SMS_LAN_SENDER 27/01/2015 12:11:58 PM 2972 (0x0B9C)
No (more) send requests found to process. SMS_LAN_SENDER 27/01/2015 12:11:58 PM 2972 (0x0B9C)
Waiting for new/rescheduled send requests, Maximum Sleep Time = 60 minutes SMS_LAN_SENDER 27/01/2015 12:11:58 PM 2972 (0x0B9C)
Passed the xmit file test, use the existing connection SMS_LAN_SENDER 27/01/2015 12:11:59 PM 5496 (0x1578)
No package file, must be a site deinstall or a CD-based remote secondary site setup or upgrade or a monitoring job. SMS_LAN_SENDER 27/01/2015 12:11:59 PM 5496 (0x1578)
Installing service to Path P:SMS_BOOTSTRAP.EXE, UserName LocalSystem SMS_LAN_SENDER 27/01/2015 12:11:59 PM 5496 (0x1578)
Created job to monitor the installation of secondary site XXX SMS_LAN_SENDER 27/01/2015 12:11:59 PM 5496 (0x1578)
STATMSG: ID=3516 SEV=I LEV=M SOURCE="SMS Server" COMP="SMS_LAN_SENDER" SYS=PRIMARY SITE=HQ1 PID=1648 TID=5496 GMTDATE=Tue Jan 27 02:12:01.799 2015 ISTR0="SERVER.local" ISTR1="XXX" ISTR2="" ISTR3="" ISTR4="" ISTR5="" ISTR6="" ISTR7="" ISTR8="" ISTR9="" NUMATTRS=0 SMS_LAN_SENDER 27/01/2015 12:12:01 PM 5496 (0x1578)
Sending completed successfully SMS_LAN_SENDER 27/01/2015 12:12:01 PM 5496 (0x1578)