In this post, I will show you how to fix SCCM task sequence failed with error code 0x80070002. There are multiple solutions to fix the task sequence error 0x80070002.

The task sequence error code 0x80070002 is the most common error that you see during operating system deployment.

Whenever a task sequence fails, it fails with an error code. This error code is critical in determining why the task sequence failed and has solutions associated with it.

Install and Update Third Party Applications with Patch My PC
Install and Update Third Party Applications with Patch My PC

The SMSTS.log file plays an important role in troubleshooting the task sequence failures. For example, when a SCCM task sequence fails with error code 0x80070002, the smsts.log file contains the reasons why the task sequence failed along with additional errors.

The location of SMSTS.log file changes during the SCCM OSD. So ensure you know the location of smsts.log file during OSD. You can open the SMSTS.log file using CMTrace log file viewer or ConfigMgr log file viewer tools.

SCCM Task Sequence Failed with Error Code 0x80070002

You encounter task sequence error code 0x80070002 during “Apply Operating System” step of SCCM Task Sequence. When a task sequence fails with error code 0x8007002, you see the following details.

ERROR: Task Sequence Failed with the error code 0x80070002. For more information, contact your system administrator or helpdesk operator.

The error code 0x80070002 means the system cannot find the file specified. It’s regarded as a network error during the OSD where the necessary files are not accessible by the computer where the operating system is being deployed. It can also mean that the distribution point cannot be reached by a client computer.

SCCM Task Sequence Failed with Error Code 0x80070002
SCCM Task Sequence Failed with Error Code 0x80070002

To fix the error code 0x80070002, you must define the network access account in SCCM. The Network Access account is used only for accessing the content and not for running the task sequence.

The network access account should have the minimum appropriate permissions on operating system deployment content it needs to access. This account is important because the computer receiving the operating system does not have a security context it can use to access content on the network.

To configure the Network Access Account in SCCM console :-

  1. Launch the SCCM console.
  2. Click on Administration > Overview > Site Configuration > Sites.
  3. On the top ribbon click Configure Site Components and select Software Distribution.
Task Sequence Failed with the Error Code 0x80070002

Click on the tab Network Access Account, choose Specify the account that accesses network locations (by default the option is set to Use the computer account of Configuration Manager client). Click on the orange icon and add the user account that enough permissions to access the content which is required while deploying Operating System.

Task Sequence Failed with the Error Code 0x80070002
Configure the Network Access Account in SCCM console

Still Need Help?

If you need further assistance on the above article or want to discuss other technical issues, check out some of these options.

Prajwal Desai

Prajwal Desai is a technology expert and 10 time Dual Microsoft MVP (Most Valuable Professional) with a focus on Microsoft Intune, SCCM, Windows 365, Enterprise Mobility, and Windows. He is a renowned author, speaker, & community leader, known for sharing his expertise & knowledge through his blog, YouTube, conferences, webinars etc.