Showing posts with label 80070002. Show all posts
Showing posts with label 80070002. Show all posts

Thursday, June 18, 2015

Failed to run the action: Setup Windows and ConfigMgr. The system cannot find the file specified.

Let's have a look at the following situation, where I'm using a Primary Site server and remote Site server with Distribution point role. During deployment on a system we get the following error message(s): Failed to run the action: Setup Windows and ConfigMgr. The system cannot find the file specified.
-SendResourceRequest() failed. 80190191
-Download() failed. 80190191
-DownloadContentAndVerifyHash() failed. 80070002
-Failed to resolve package source ""
-Failed to configure OSD setup hook (0x80070002)
-Configure hook failed with error code (80070002)
-Failed to install setup hook (80070002)


I did setup the remote Site server with Distribution point role. I did select the "Install and configure IIS if required by Configuration Manager" button. A forum post was mentioning you need to check permissions on the Network Access account and make sure it isn't locked. That did however not the trick! After checking manually IIS configuration on the remote Site server, both Request Filtering and Windows Authentication were not enabled. After installing both IIS components, deployment was running fine finally!

Source: Microsoft TechNet
Examine the IIS logfiles and double check if IIS is configured according to the docs: Site System Requirements (especially Windows Authentication)

Monday, February 2, 2015

Can't update SCEP 2012 definitions?

When System Center Endpoint Protection (SCEP) updates are not applying and the following errors are mentioned, Windows Update is not configured right. Let's first have a look at the errors:
WindowsUpdate.log
-CNetworkCostChangeHandler: RegisterForCostChangeNotifications: CoCreateInstance failed with error 80004002
-RegisterNetworkCostChangeNotification: Error 80004002

-Failed to get Network Cost info from NLM, assuming network is NOT metered, error = 0x80240037
-Network Cost is assumed to be not supported as something failed with trying to handls to wcmapi.dll
-CSerializationHelper: InitSerialize failed: 0x80070002

UpdatesDeployment.log
-Job error (0x87d00692) received for assignment

WUAHandler.log
-Failed to Add Update Source for WUAgent of type (2) and id {}. Error = 0x87d00692


Long story short, there was an unknown WSUS policy in-place! After changing few settings everything was working immediately.

Just make sure "Allow Automatic Updates immediate installation" is enabled, and "Specify intranet Microsoft update service location" is pointing to the ConfigMgr SUP server on port 8530/8531. Then you will be fine after all. Hope it helps!

Source: SCEP updates pushed out to clients through SCCM 2012