I am installing the WinRE partition before installing the OS. So I had to
bypass the format portion of the task sequencer so I could make the WinRE
partition the first partition. The bypass was necessary because you cannot
assign letters in the task sequencer Format and Partition Disk, so it tries
to write log files to the WinRE partition. Instead I am using the diskpart
/s with the diskpart.txt and making a 2GB partition, assigning it the letter
G, the creating another partition with the rest and assigning it the letter C.
This allows me to install WinRE and create the failover, but I get the above
mentioned error after it boots into Vista. Everything has been updated to
SP1 version and I have everything in place. I am using just the wim file off
the DVD in order to have less variables in the mix. Although I tried it with
a custom wim and received the same error.
I have looked at the log files and the only error I see is the following in
the smsts.log file: "Failed to save the current environment block. This is
usually caused by a problem with the program. Please check the Microsoft
Knowledge Base to determine if this is a known issue or contact Microsoft
Support Services for further assistance.
The parameter is incorrect. (Error: 80070057; Source: Windows)"
Does anyone have any ideas on what I can do to fix this? The log files
don't really help much and I can't imagine MS would create WinRE and this
great failover feature and not be able to use it.
MDT only supports installing to Disk 0, Partition 1 - that is the root
of your problem. As to the use & configuration of WinRE - you can also
use the SetAutoFailover script to point to the winre.wim file directly
instead of to the actual boot partition which is an interesting
option. Ben Hunter blogged about that solution some time ago for BDD
2007 - which also works for MDT:
Hope this helps!
glenn fincher
Thanks again.
Has anyone gotten it working on another partition? I would like to go this
route as it doesn't make sense to have the recovery OS on the same partition
as the regular OS.
It doesn't seem very easy to create a 1.5Gb partition second in the format
tool. Any other ideas?