Jump to content

  • 0

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


I've set up a task sequence to run an in-place upgrade to Windows 10 and it's run successfully on nearly 100 machines. 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.

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


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

1 answer to this question

Recommended Posts

Join the conversation

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

Answer this question...

×   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.


  • Create New...