Share via


The operating system reported error 2147942402: The system cannot find the file specified.

Question

Thursday, June 7, 2018 7:46 AM

Hello,

While the installation of a new client machine, the task sequence crashes and  displays this error:

The task sequence execution engine failed executing the action (Apply Operating System) in the group (Install Operating System) with the error code 2147942402

Action output: ...

TS::Utility::ResolveSource( this->packageID, this->packagePath, TS::Utility::ResolveSourceFlags::PersistContents | (this->forceRunFromNet ? TS::Utility::ResolveSourceFlags::ForceRunFromNet : 0) ), HRESULT=80070002 (installimage.cpp,1860)

resolvePkgSource(), HRESULT=80070002 (installimage.cpp,1903)

Apply(), HRESULT=80070002 (installimage.cpp,2112)

installer.install(), HRESULT=80070002 (installimage.cpp,2187)

ReleaseSource() for C:\SMSTaskSequence\Packages\xxxxxx.

SendResourceRequest() failed.80190191

Download() failed. 80190191.

Installation of image 1 in package xxxxxx failed to complete..

he system cannot find the file specified. (Error: 80070002; Source: Windows)

The user tries to release a source directory C:\SMSTaskSequence\Packages\xxxxxx that is either already released or we have not connected to it.

InstallImage( g_InstallPackageID, g_ImageIndex, targetVolume, ImageType_OS, g_ConfigPackageID, g_ConfigFileName, bOEMMedia, g_RunFromNet ), HRESULT=80070002 (applyos.cpp,509). The operating system reported error 2147942402: The system cannot find the file specified.

 

I tried to remove the mentioned package from the distribution point and distribute it again. But the error still persisting.

Thank you in advance for your help.

 

All replies (5)

Tuesday, June 12, 2018 10:47 AM âś…Answered

Finally, I solved the issue with the link below:

https://social.technet.microsoft.com/Forums/sharepoint/en-US/c9239a89-fbee-4adc-b72f-7a6a9648331f/401-unauthorized-access-is-denied-due-to-invalid-credentials?forum=winserversecurity


Thursday, June 7, 2018 9:04 AM

Download() failed. 80190191. = unauthorized. Its translates into a 401 IIS error. The computer you are deploying are not granted access to your DP.

Have a peak at this post: https://deploymentresearch.com/Research/Post/389/Debugging-80070002-and-80190191-errors-during-ConfigMgr-SCCM-OSD

Martin Bengtsson | Blog: www.imab.dk | Twitter: @mwbengtsson
If a post helps to resolve your issue, please remember to click Mark as Answer.


Thursday, June 7, 2018 11:09 AM

The link seems to be very interesting. But it does not help me.  I double-checked the noticed points.

  • Network Access Account is properly configured .
  • There is no Network issue.
  •  IIS components are well installed on the site server.

Thursday, June 7, 2018 11:23 AM

Is this only happening on a single computer or is it general for your whole environment?

When was the error introduced? Following a change in your environment?

Have you had a look on the 1000 other posts on google regarding the error? Does one fit your environment, with the knowledge you have about your environment (that none on this forum has) :-)

What about the IIS logs on the DP? Do they reveal more information?

Does it work if you enable: Allow client to connect anonymously on the Distribution Point? 

Martin Bengtsson | Blog: www.imab.dk | Twitter: @mwbengtsson
If a post helps to resolve your issue, please remember to click Mark as Answer.


Thursday, June 7, 2018 2:28 PM

No, that is not for the whole environment. Others DPs are working very well. Only for machines which are trying to install from this site. The distribution point is recently installed and configured.

"Allow client to connect anonymously" is disabled for the whole environment.