Skip to main content

SCCM Failed to initiate installation of updates, error = 0x80040271

When you install windows using SCCM OSD , sometimes an agent will comeback up and you wont be able to initiate software distribution or Updates .

We face an issue where a newly deployed system kept showing this error  , although the update did seem to have installed.
"An error was encountered while attempting to install software updates"

Updatedeploymnet.log showed this:

InstallUpdates Initiated by user UpdatesDeploymentAgent 29-12-2015 12:22:17 1020 (0x03FC)
Action not allowed in pause state UpdatesDeploymentAgent 29-12-2015 12:22:17 1020 (0x03FC)
InstallUpdates failed, error 80040271 UpdatesDeploymentAgent 29-12-2015 12:22:17 1020 (0x03FC)
Failed to initiate installation of updates, error = 0x80040271 UpdatesDeploymentAgent 29-12-2015 12:22:17 3280 (0x0CD0)





In our case we have to stop SMS agent Host Service and then change the value of  following keys to 0 in registry

Registry Location:

HKEY_Local_Machine\Software\Wow6432Node\Microsoft\SMS\Mobile Client\Software Distribution\State\Pause\


Value --  Paused  (set this to 0)
Value -- PausedCookie (set this to 0)


HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\SMS\Mobile Client\Reboot Management

Value--- JobCounter   (set this to 0)


After this start the SMS Agent Host service

Hope this helps



Comments

Popular posts from this blog

Citrix Receiver Runtime Error! Program: C:\PROGRA~2\Citrix\ICACLI~1\WFICA32.EXE

Sometime when  you upgrade Citrix  receiver or uninstall an older version and then install a new Citrix Receiver version , you may see an issue opening application /desktops (Citrix XenApp / XenDesktop) You may see errors as shown in the image: --------------------------- Microsoft Visual C++ Runtime Library --------------------------- Runtime Error! Program: C:\PROGRA~2\Citrix\ICACLI~1\WFICA32.EXE It may happen that an older installation of Citrix Receiver did not get cleaned up properly. Try and check if this entry exist in registry and then delete it. HKEY_CLASSES_ROOT\Installer\UpgradeCodes\9B123F490B54521479D0EDD389BCACC1 Hope this helps.

Group Policy Object did not apply because it failed with error code '0x80070534 No mapping between account names and security IDs was done

One of our servers was losing the Local Admin settings as we control them using GPO (restricted Groups) We were receiving the following event on this particular server : Event ID 4098 Application Event Log The computer 'Administrators (built-in)' preference item in the 'Servers Local Admins {odjd9DBD-22AF-48EA-ADF5-F42ADE4182hst}' Group Policy Object did not apply because it failed with error code '0x80070534 No mapping between account names and security IDs was done.' This error was suppressed. To fix the issue we deleted all the folders from the following location and rebooted the server C:\ProgramData\Microsoft\Group Policy\History Hope this helps.

DSS WSUS server fail to download Updates HTTP status 404: The requested URL does not exist on the server.

When managing a Downstream WSUS server , it may happen that when a patch is approved it tried to immediately download it form the source server (USS) Sometime we see errors in event viewer stating that the the download failed Event ID: 364 Content file download failed. Reason: HTTP status 404: The requested URL does not exist on the server. Source File: /Content/6E/72131F469F73C884B32124746BAFCA2C8E0A106E.cab Destination File: E:\WSUS\WsusContent\6E\72131F469F73C884B32124746BAFCA2C8E0A106E.cab Event ID 10032 The server is failing to download some updates. We also see following entries in softwaredistribution.log 2016-09-26 07:53:29.287 UTC Warning WsusService.3 ContentSyncAgent.ProcessBITSNotificationQueue ContentSyncAgent recieved Failure for Item: f52f0b8a-2b22-43cf-933e-af8de6b11eb6, Item fails 2016-09-26 07:53:29.287 UTC Info WsusService.3 ContentSyncAgent.ContentSyncSPFireStateMachineEvent ContentSyncAgent firing Event: FileDownloadFailed for Item: f5...