Task Sequence Failed with the Error Code 0x80070002

Task Sequence Failed with the Error Code 0x80070002

Error

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

Task Sequence Failed with the Error Code 0x80070002

 

Troubleshooting

Task Sequence Failed with the Error Code 0x80070002 – we see this error usually during the operating system deployment using SCCM 2012 R2. When you deploy the task sequence to a collection and when you boot the computer from the network, during the step “Applying Operating System” you encounter the Error Code 0x80070002. In this situation what one might think would be to check SMTS.log file. I would recommend that but there is something else that you need to check first. Error code 0x80070002 in SCCM 2012 can be interpreted as a network error wherein during the OSD the necessary files are not accessible by the computer where the operating system is being deployed.

 

Resolution

To fix the issue Error Code 0x80070002, we have to define the network access account. The Network Access account is used only for accessing the content and not for running the task sequence. This 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, open the CM2012 R2 console, click on Administration, expand Overview, expand Site Configuration, click Sites, on the top ribbon click Configure Site Components, click 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

You might also like

71
Leave a Reply

avatar
42 Comment threads
29 Thread replies
1 Followers
 
Most reacted comment
Hottest comment thread
newest oldest most voted
Ramniwas
Guest
Ramniwas

as per given steps. i have already done but getting same error code. there are 3 inplace upgrade win 10 1803,1809 and 1903. both (1803 & 1809) is working but 1903 is not working. below is logs. Downloading file /sms_dp_smspkg$/sez002f8/sccm?/sources/replacementmanifests/failovercluster-core-wow64-rm.man range 0-928 Failed to run the action: Upgrade Operating System. The system cannot find the file specified. (Error: 80070002; Source: Windows) The execution of the group (Upgrade the Operating System) has failed and the execution has been aborted. An action failed. Operation aborted (Error: 80004004; Source: Windows) Failed to run the last action: Upgrade Operating System. Execution of task sequence… Read more »

Pavit J
Guest
Pavit J

This worked for me. Thanks Prajwal !!

Terry
Guest
Terry

What if you had multiple domains, should you add the same domain>

Chris
Guest
Chris

Coming from SCCM 2007 to 2012 this is exactly the little things that can be missed as the layout has changed quite some.

Thank you for the write up as it solved my problem. You potentially saved me a lot of time.

Romit Poladiya
Guest
Romit Poladiya

I wish to help everyone here because i encountered the same error and since 3 day i was researching and not one person had told and i figured out myself. Firstly i am using SCCM Current Branch version 5.00.8790.1000 (Last updated 17th April, 2019) 1. Add Network Access Account ConfigMgr Console > Site > Configure Site Components > Software Distribution > Network Account Access > domain-name\username 2. Permissions for NAA (very hard to find this step any where on internet) Go to DP > Local Group Policy > Computer Configuration > Windows Settings > Security Settings > Local Policies >… Read more »

Sukumar
Guest
Sukumar

Hi,

I am getting the same error, Where to check the smsts.log file on SCCM server?

Dave
Guest
Dave

Hi

Im getting this error when trying to deploy an image via a newly created distribution point at a remote site. Any ideas? Deploying an image at the main site distribution point works fine as does another remote site with DP

I’ve also checked that the content has synced properly to the new remote DP. I’ve checked the network account in SCCM enabled anonymous client authentication.

Thanks

somvir sharma
Guest
somvir sharma

Hi Prajwal, I am getting the same error while dunning the TS. i have followed the recent comments in forum and mostly the issue is with network account or TS not properly deployed.
i have verified the network the account and created the 3 TS for different images but getting the same error on all of the TS.

My lab details:
SCCM server(Primary site): 2012 R2, it also has the WDS and WSUS server installed.
ADK: 10.1.16299.15
Boot image: 10.0.1629915
SCCM: 1802

Also, i have the screenshot of the logs since there were no options to save the log on VM machine.

Tariq Khan
Guest
Tariq Khan

Prajwal, I must say that you are the champion of SCCM. It fixed my issue which I has been lingering on for so long.

Thanks for your post.

Ashish Pareek
Guest
Ashish Pareek

Exactly what you have done to cope up with this issue, can you pls elaborate.

Rob
Guest
Rob

I had this error when there was a typo with the name used in the task sequence for the unattend.xml, everything else was configured correctly as expected, it was just because the task sequence couldn’t find the unattend.xml file due to the typo.

Stephen Smith
Guest
Stephen Smith

I know this is an old issue but I would just like to point out that if you’re receiving this error and you already specified the Network Access account, to make sure that the Windows Authentication feature is installed with the Web Server role. I’ve had it on occasion not install when IIS was installed and this had caused my issue. Just a quick check of Web Server (IIS) -> Security -> Windows Authentication.

Matt
Guest
Matt

I assume the Windows Authentication feature needs to be enabled in this instance. Its present in IIS however disabled on my recently inherited SCCM server. Cheers.

Peter Griffiths
Guest
Peter Griffiths

You are awesome! Everytime I have an issue with SCCM, I come to Prajwal and he fixes it. Thanks again. To confirm, this fix works with SCCM 1710. Bye, until the next problem!

Ashra Rai
Guest
Ashra Rai

You are the God Prajwal Desai. It worked straight away after giving it the Network Access Account. I am using SCCM 1702 to deploy Windows 10.

GoodThings2Life
Guest
GoodThings2Life

Ah, eureka! This is exactly what I needed as well… after changing this parameter, I forgot to redistribute content. As soon as I did, it resolved my issue. Thanks!

Bill Hunt
Guest
Bill Hunt

I know this is an older post, but the solution is still relevant. I came across this same error 80070002 while applying the WIM during my Task Sequence, but found the cause was not the Net Access Account as recommended here and wanted to post my findings in case it helps someone else. In the Task Sequence I had decided to speed up the imaging process by configuring the “Access content directly from the distribution point” setting in the Options of the “Apply Operating System” task. When doing this the WIM file being deployed must also be configured to support… Read more »

Roneo Olarte
Guest
Roneo Olarte

This saves more time figuring out that error! many thanks Bill.

Dmitriy
Guest
Dmitriy

Bill, thank you so much! It works for me!

Marc Emond
Guest
Marc Emond

Thanks Bill worked for me to

Marc Emond
Guest
Marc Emond

correction failed at again just a little later with the same error

sathish siva
Guest
sathish siva

Hi, Am getting 0x80070490 on UEFI disk partition and this is from dell precision t5810 using Using 1TB HDD Invalid disk number specified: 0 OSDDiskPart 3/3/2017 12:22:42 PM 2012 (0x07DC) Invalid configuration specified. Please ensure that the task sequence is properly configured. OSDDiskPart 3/3/2017 12:22:42 PM 2012 (0x07DC) OSDDiskPart.exe failed: 0x80070490 OSDDiskPart 3/3/2017 12:22:42 PM 2012 (0x07DC) Failed to run the action: Partition Disk 0 – UEFI. Element not found. (Error: 80070490; Source: Windows) TSManager 3/3/2017 12:22:42 PM 1772 (0x06EC) The execution of the group (Install Operating System) has failed and the execution has been aborted. An action failed. Operation… Read more »

Juergen Rinelli
Guest
Juergen Rinelli

Hello, thank you very much. That was my missing link. I had a migration of SCCM 2012 R2 to new hardware and then upgrade to Current Branch. EVERYTHING worked fine. Deployment, Patch Management, everything. Only the OS Tasksequences failed at the point you described.

I forgot to set the correct Network Access Account!

Thank you again.

Juergen

mahziar
Guest
mahziar

I suggest you to check the source of the package and ensure to give the UNC path instead of shared folder path. I had this problem and had gave the shared folder path, after correcting it, the error went. I hope it helps

tuxnician
Guest
tuxnician

I get this issue when it’s almost halfway through the applying OS. We have two other DP’s and they work fine. The server and the clients are on the same gig network switch. For some reason it was working a couple of weeks ago then these error starting popping up. The smsts log doesn’t have any error messages.

Tahir Mughal
Guest
Tahir Mughal

hello can you slove Element not found. (Error 80080490); in sccm 2012R2?

Hooksie
Guest
Hooksie

Hi Prajwal, not sure if you can help but I’m encountering this problem despite having a network account specified. I followed your guides (which are excellent by the way) to get the system up and running, I have a man site server for management and a distribution point on a different VLAN. I’ve captured my image, created the task sequence and PXE boot is working. Both boot images have been deployed to the distribution point and I can get the system to pick up a task sequence. However, after it formats the drive, the PXE multicast session is started then… Read more »

Myndmelt
Guest
Myndmelt

This blog post is Gold, worked for me! Thank you so much for taking the time to help others.

Mohamed KHalil
Guest
Mohamed KHalil

Thank you, solved my Issue 🙂

RegEBarclay
Guest
RegEBarclay

Many thanks for sharing this nugget of information. I have followed your articles on OS deployment, and found them to be very helpful in getting it up and running in much less time than I first feared.

James Vincent
Member
James Vincent

@RegEBarclay – Thank you 🙂

James Vincent
Member
James Vincent

There could be some other issue if you are sure that network access account is configured correctly.
1) Review you SMSTs.log
2) check Allow Client to Connect Anonymously and see if it fixes the issue.
3) Software Library > Operating Systems > Operating System Images), and select “Manage Access Accounts”, and then add the SCCM Administrator account.

Boner Gatch
Guest
Boner Gatch

Wher do I check to allow clients to connect anonymously at?

rohit choudhary
Guest
rohit choudhary

I have already configured the network access account but issue not fixed. After enable connect anonymously its working. But why not its working with without anonymously. I am using same steps which is mentioned in your step by step guide.

Laurence Brabender
Guest
Laurence Brabender

I am getting this error message on a specific machine, we are able to build other machines no problem, we are running SCCM 2007, how could I check these options on a 2007 system?

Kihlmenow
Guest
Kihlmenow

Under the category of KISS (Keep It Simple Stupid), “Workstation” class machines from any vendor tend to come from the factory configured to use RAID as the HD Controller Mode Default. If your Boot Image is not created for RAID, and AHCI is the default …. you will ALSO see this error. If it is an option and you do not need RAID Mode, change the HD Controller mode to AHCI. You will see in the SMSTS.log file that there are issues writing to the HD. This BIOS change takes very little time, and eliminates one possible cause very quickly.… Read more »

day79
Guest
day79

Having the same issue with multicast. Any luck figuring this out?

G Halverson
Guest
G Halverson

Thanks for this post! It helped me find out my AD Account was locked.

G Halverson
Guest
G Halverson

Thanks for this post! It helped point me to a locked out AD Account

arturo ibarra
Guest
arturo ibarra

I checked the account like you outlined; however, an administrator account already exists there that has access to all network locations! I can’t access the smts.log file because I cannot access the machine that I am deploying to because after I PXE boot and the computer restarts and it boots this shows “an operating system is not installed” what do I do?

James Vincent
Member
James Vincent

Could you confirm if you have checked the SMSTS.log file in proper location. The SMSTS.log file changes its location during the OSD.

http://prajwaldesai.com/location-of-smsts-log-during-sccm-osd/

arturo ibarra
Guest
arturo ibarra

I cannot do that because the smsts.log file is saved on the machine that I am attempting to deploy to….that machine has no operating system because the deployment fails. I cannot use f8 either as I have seen others suggest.

James Vincent
Member
James Vincent

Hi Arturo, could you post the question here – http://prajwaldesai.com/community/

Yaser Hussaini
Guest
Yaser Hussaini

When i deploy the task sequence to a vm, i do not get the error 0x80070002. I get it when the ts is deployed to a physical machine on the same domain. Any ideas
?

James Vincent
Member
James Vincent

If you have configured the network access account and if you are still getting the error then it is worth checking the SMSTS.log file for troubleshooting.
http://prajwaldesai.com/location-of-smsts-log-during-sccm-osd/

James Vincent
Member
James Vincent

Hi Yaser, could you post the question here – http://prajwaldesai.com/community/

Aaron Lott
Guest
Aaron Lott

Prajwal,

I am late to this and could use some assistance. I am experiencing the same issue as others on this thread. The difference with me though is that I can deploy OSD but if I attach an Answer File to my TS it fails. I thought I have given all proper rights to my share in order to access content. Is there something I can do to fix this?

James Vincent
Member
James Vincent

Hi Aaron, could you post the same question here – http://prajwaldesai.com/community/

Boner Gatch
Guest
Boner Gatch

I am having this exact same problem. I imported my unattended package from scam 2007 and it works fine there. The logs make me think the task sequence doesn’t download this file. Aaron did u figure this out??

brothertax
Guest
brothertax

I had this error after updating our Network Service Account password in Active Directory. To fix it, I went to AdministrationSecurityAccounts opened the properties of the account, clicked Set, then typed in the new password. After updating the password, OSD wouldn’t fail at “Applying Operating System.”

James Vincent
Member
James Vincent

@Brothertax – Thanks buddy.

Anders Jensen
Guest
Anders Jensen

I’ve checked Our SCCM deployment and I have specified the network Access account already. What riddles me is, that the 80070002 doesn’t show in every OSD. Most of the times we don’t see it if we don’t start a New OSD until after we’ve pressed the “Finish” button. Could it be network problems? We have gigabit from Client machines to the serverrom and SCCM DP and Client machines are in the same subnet so no firewall working Magic here..

James Vincent
Member
James Vincent

One of the reason could be the network issue, but we need to troubleshoot this issue starting with SCCM server first.

Anders Jensen
Guest
Anders Jensen

What would you suggest I should do first? Are there any log files I can analyze?

Risalatul Haque Ontik
Guest
Risalatul Haque Ontik

Thanks a lot, I was getting the same error after I going through the routine password change for ALL employees. Your blog helped us a lot in our deployment.

James Vincent
Member
James Vincent

@Risalatul – Thank you for that comment. I am happy that it resolved your issue.

ahmed mostafa
Guest
ahmed mostafa

thank you ur prince

Deepak Kumar
Guest
Deepak Kumar

I am also getting same error (ox80070002). But i get this after applying operating system.

2nd thing i am facing problem when window installer image does not appear when i task sequence.

Me
Guest
Me

Thank you so much! You saved me!

John Schmidt
Guest
John Schmidt

I had the same problem and had a network Access Account already set up. In my case, I had to clear the network access account, restart the SCCM server, and then re-add the access account for my 80070002 errors to go away.

Ajit Singh
Guest
Ajit Singh

This post helped me a lot, followed your steps and the issue got fixed. Thanks Prajwal. Can you also post the resolutions for other error codes ?

Pranay
Guest
Pranay

Hi,

0x80007002 can also be an error when the NIC drivers are not installed from the Task sequence.
currently, i am facing this issue with lots of physical devices. I don’t wanted to use Auto apply device drivers step on my TS so, i have added separate driver package for all the devices in which i am running the TS. These steps are present with a condition to check for the device & then apply the drivers but the TS fails again & again. I am applying all the drivers before Apply network Settings step.

Thanks,
Pranay.

Martin Ebell
Guest
Martin Ebell

Spot on!
Hugely appreciate your blog.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More