Jump to content

Sign in to follow this  

OSD deployment bails in the middle of the process. Log shows "failed to save environment to"

Recommended Posts

We have a couple of task sequence for deploying Windows 7 that are working properly without any issue. One of those did not have the USMT embedded, so I updated it with 1) disabling the format partition and 2) used USMT to save the data, boot on PXE, Apply the image and restore the data.


When doing this, the task sequence runs fine at the beginning:


0) Run the task sequence from Advertised programs on WinXP.

1) It does a hard link save state.

2) restarts in PE

3) Apply the Win7 image and drivers

4) Restarts and apply graphic driver by running the installation software

5) Restarts and it supposed to continue installing software but bails out with no error. It just reboots and it goes into the login screen.


In the log I find the following:


Failed to save environment to c:\_SMSTaskSequence\TSEnv.data (80090017)


and later on:


Failed to set log directory. Some execution history may be lost. The system cannot find the file specified (Error 80070002)


I am at lost on this one. Is there any way to troubleshoot this? Or somebody has run into this situation??



Share this post

Link to post
Share on other sites

After trying for several days, I was able to find the problem.


One of the software packages was restarting after installing, cutting the task sequence in the middle. Because the software was right at the end before the next restart, then I couldn't see it.


Since the software was initiating a restart, then the TS cannot save the log info, and when restarts, cannot continue with the rest of the installations.


I redid the package to avoid the restart and it works now. I hope this info can help others. B)

  • Like 1

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.

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.

Sign in to follow this  

  • Create New...