I started running the following SQL Query on SSMS (SQL Server Management Studio) to see how many computers are succeeded with software update scan and how many are not.There is table called v_Update Scan Status, that stores the information about last scan state,lastscanpackagelocation , WUAgent etc.during the initiation of software update scan cycle, file will be recreated with WSUS settings.
To change the computer name in the new operating system, use the OSDComputer Name variable.I then looked at registry for windows update details HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Windows Update ,found the entries with old CM07 WSUS server which was configured via GPO when CM07 running and after the migration to cm12,for some reason,these records were not updated by cm12 .I then ,went ahead and remove the entries under Windows Update folder (WUServer, WUStatus Server) ,started initiating the software update scan results but then ,nothing happened. Recently I come across article that solves the software update sync by deleting the file from C:\Windows\System32\Group Policy\Machine,even though, the article talks about different software update scan error.If the task sequence is running from stand-alone media, this variable is undefined.Stores the Configuration Manager boot image package ID if a boot image package is associated with the current running task sequence.The source data is: SCCM 2007 – https://technet.microsoft.com/en-us/library/bb632442SCCM 2012 – https://technet.microsoft.com/en-au/library/gg682064MDT 2013 – Stores the current running task sequence deployment unique ID.It uses the same format as a Configuration Manager software distribution deployment ID.If the last action was skipped because the step was disabled or the associated condition evaluated to false, this variable is not reset, which means it still holds the value for the previous action. The task sequence can have the following values: SMS - specifies that the task sequence is started by using the Configuration Manager client.UFD - specifies that the task sequence is started by using USB media and that the USB media was created in Windows XP/2003.I then thought of giving a try ,by deleting the file from C:\Windows\System32\Group Policy\Machine as described in the article and initiate software update scan cycle /Software update deployment evaluation cycle action.review the log if that succeeded or not , Still the error persists. I then restarted the SMS Agent host on the client to download all the policies ,wait a minute and then initiate software update scan cycle /Software update deployment evaluation cycle action.