Dear all,
Our OSD fails when initiated within Windows. After doing a couple of tasks like USMT the task sequence, the task sequence reaches the "Restart to Windows PE" step (Restart Computer - The boot image assigned to this task sequence) and fails the step with error 0x80070020 (file in use).
The USMT log looks like this:
Copying boot image locally... TSManager 01-09-2014 09:51:54 904 (0x0388) Opening image file C:\_SMSTaskSequence\WinPE\sources\boot.wim TSManager 01-09-2014 09:51:57 904 (0x0388) Applying image 1 to volume C:\_SMSTaskSequence\WinPE TSManager 01-09-2014 09:51:57 904 (0x0388) Closing image file C:\_SMSTaskSequence\WinPE\sources\boot.wim TSManager 01-09-2014 09:51:58 904 (0x0388) Capturing WinPE bootstrap settings TSManager 01-09-2014 09:51:58 904 (0x0388) Environment scope "Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78}" successfully created TSManager 01-09-2014 09:51:58 904 (0x0388) Executing command line: "osdnetsettings.exe" capture adapters:true scope:Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78} TSManager 01-09-2014 09:51:58 904 (0x0388) ==============================[ OSDNetSettings.exe ]=========================== OSDNetSettings 01-09-2014 09:51:58 628 (0x0274) Command line: "osdnetsettings.exe" capture adapters:true scope:Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78} OSDNetSettings 01-09-2014 09:51:58 628 (0x0274) Captured settings for adapter 1 OSDNetSettings 01-09-2014 09:52:00 628 (0x0274) OSDNetSettings finished: 0x00000000 OSDNetSettings 01-09-2014 09:52:00 628 (0x0274) Process completed with exit code 0 TSManager 01-09-2014 09:52:00 904 (0x0388) Installing boot image to hard drive TSManager 01-09-2014 09:52:00 904 (0x0388) Failed to open C:\boot for backup. The process cannot access the file because it is being used by another process. (Error: 80070020; Source: Windows) TSManager 01-09-2014 09:52:04 904 (0x0388) Failed to install boot image. The process cannot access the file because it is being used by another process. (Error: 80070020; Source: Windows) TSManager 01-09-2014 09:52:04 904 (0x0388) Failed to install boot image SC000437. The process cannot access the file because it is being used by another process. (Error: 80070020; Source: Windows) TSManager 01-09-2014 09:52:04 904 (0x0388) Failed to reboot the system. Error 0x(80070020) TSManager 01-09-2014 09:52:04 904 (0x0388) Failed to initialize a system reboot. The process cannot access the file because it is being used by another process. (Error: 80070020; Source: Windows) TSManager 01-09-2014 09:52:04 904 (0x0388) Fatal error is returned in check for reboot request of the action (Restart to Windows PE). The process cannot access the file because it is being used by another process. (Error: 80070020; Source: Windows) TSManager 01-09-2014 09:52:04 904 (0x0388) An error (0x80070020) is encountered in execution of the task sequence TSManager 01-09-2014 09:52:04 904 (0x0388) Sending status message . . . TSManager 01-09-2014 09:52:04 904 (0x0388) Send a task execution status message SMS_TSExecution_TaskSequenceFailError TSManager 01-09-2014 09:52:04 904 (0x0388) Formatted header: TSManager 01-09-2014 09:52:04 904 (0x0388)<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:15d9f1d0-fd5a-4db2-9e38-4fa2692741ae</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2014-09-01T07:52:04Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2114"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> TSManager 01-09-2014 09:52:04 904 (0x0388) Task Sequence Engine failed! Code: 80070020 TSManager 01-09-2014 09:55:42 904 (0x0388) **************************************************************************** TSManager 01-09-2014 09:55:42 904 (0x0388) Task sequence execution failed with error code 80070020 TSManager 01-09-2014 09:55:42 904 (0x0388) Cleaning Up. Removing Authenticator TSManager 01-09-2014 09:55:42 904 (0x0388) Cleaning up task sequence folder TSManager 01-09-2014 09:55:42 904 (0x0388) Successfully unregistered Task Sequencing Environment COM Interface. TSManager 01-09-2014 09:55:42 904 (0x0388) Executing command line: "C:\Windows\system32\CCM\TsProgressUI.exe" /Unregister TSManager 01-09-2014 09:55:42 904 (0x0388)
"Failed to open C:\boot for backup" and "Failed to install boot image" because of file in use. I have never seen that before.
I thought it had something to do with the boot image, so I re-built the boot image from an earlier version (injecting the newer drivers etc.) and it worked. For a short period of time I could it would be able to reboot to WinPE with the new boot image. However - now i fails again with the same error, eventhough it's a new boot image and new package - distributed to all DPs etc.
So I think the error is sporadic since I was able to get it to work shortly, or maybe "something" happens to the boot image after a while. But I am at a loss! I don't know how to troubleshoot any further.
Addition details: All the TS's and boot images are created on a parent server, then synced to a child site where everything the TS is run. The parent site had to have WAIK reparied recently (I found out I couldn't create boot images when I wanted to test another boot image, which led to the WAIK repair which fixed the issue about not being able to create new boot images).
Have anybody ever seen this issue before (my google-fu says no)? What to do from here?
In advance: Sorry...