Jump to content


SighBee

In place Windows 10 Upgrade - Task Sequence Manager could not initialize Task Sequence Environment. code 80070005

Recommended Posts

I posted this yesterday in the "How do I?" forum (not sure I can delete it) but thought it probably belongs here. Apologies if this is frowned upon.

I have a task sequence to run an in-place upgrade to Windows 10 and it's run successfully on nearly 100 machines. However, one machine has just encountered an error I can't decipher. According to smsts.log, it completed the first part of the upgrade on Friday evening (today is the following Monday) and then rebooted but the next entry isn't until this morning, which is strange. I'm not sure if the machine crashed but it appears not. When the user logged on this morning, Windows 10 was in a funny state with no start button and no network connectivity. Rebooting the laptop initiated a rollback and the PC is back working correctly on Windows 7.

Anyway, onto the error: when the log continues, there appears to be an "access denied" error when trying to load the TS environment:

Quote

Opening Task Sequencing Environment    TSManager    10/04/2017 08:37:02    6232 (0x1858)
hMap != 0, HRESULT=80070005 (e:\nts_sccm_release\sms\framework\tscore\environmentscope.cpp,493)    TSManager    10/04/2017 08:37:02    6232 (0x1858)
m_pGlobalScope->open(), HRESULT=80070005 (e:\nts_sccm_release\sms\framework\tscore\environmentlib.cpp,335)    TSManager    10/04/2017 08:37:02    6232 (0x1858)
Environment::SharedEnvironment.open(), HRESULT=80070005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,1439)    TSManager    10/04/2017 08:37:02    6232 (0x1858)
Failed to open environment. code 80070005    TSManager    10/04/2017 08:37:02    6232 (0x1858)
Task Sequence Manager could not initialize Task Sequence Environment. code 80070005    TSManager    10/04/2017 08:37:02    6232 (0x1858)
hr = InitializeEnvironment(), HRESULT=80070005 (e:\nts_sccm_release\sms\client\tasksequence\tsmanager\tsmanager.cpp,1213)    TSManager    10/04/2017 08:37:02    6232 (0x1858)
Task sequence execution failed with error code 80070005    TSManager    10/04/2017 08:37:02    6232 (0x1858)
Cleaning Up.    TSManager    10/04/2017 08:37:02    6232 (0x1858)

Can anybody explain what is generating the error and how I can fix it? Thanks!

Share this post


Link to post
Share on other sites

what hardware are you running this on and have you tried upgrading the computer bios version prior to the upgrade ?

Share this post


Link to post
Share on other sites

Hey junderkofler. I'm not sure exactly what fixed the issue in our case but I ended up uninstalling and reinstalling the client and eventually the upgrade worked (following install of Windows updates and a reboot). It was just a really unusual case with the upgrade partially failing. Normally, it either just works or bombs out and rolls back.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.