Error: 800700B7 Cannot create a file when that file already exists


  • When I am trying to deploy OS using standalone media. It always have this error 800700B7 failed to stage boot image. Is there any problem on the stage boot image? How to solve this? I tried to deploy the OS again using the same media, then it says "No bootable partition in table". The error log is as below.

    Capturing WinPE bootstrap settings TSManager 9/4/2010 3:42:02 AM 1592 (0x0638)
    Environment scope "Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78}" has already been created TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    pNewScope->create(psa), HRESULT=800700b7 (e:\nts_sms_fre\sms\framework\tscore\environmentlib.cpp,274) TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    TS::Environment::SharedEnvironment.create( m_sScopeName, 0), HRESULT=800700b7 (e:\nts_sms_fre\sms\framework\tscore\winpesettings.cpp,85) TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    pSettings->capture(sLocalDataPath), HRESULT=800700b7 (e:\nts_sms_fre\sms\framework\tscore\bootimage.cpp,650) TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    Entering ReleaseSource() for E:\sources TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    The user tries to release a source directory E:\sources that is either already released or we have not connected to it TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    TS::Boot::BootImage::StageBootImage(sBootImageID, StageBootImageProgressCallback, (LPVOID) m_sStageBootImageMessage.c_str()), HRESULT=800700b7 (e:\nts_sms_fre\sms\client\tasksequence\executionengine\engine.cxx,816) TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    Failed to stage a boot image CBB00120.
    Cannot create a file when that file already exists. (Error: 800700B7; Source: Windows) TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    Failed to reboot the system. Error 0x(800700b7) TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    RebootSystem(pwszRebootMessage, dwRebootTimeout, dwRebootReason, bRebootWinPE), HRESULT=800700b7 (e:\nts_sms_fre\sms\client\tasksequence\executionengine\engine.cxx,575) TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    Failed to initialize a system reboot.
    Cannot create a file when that file already exists. (Error: 800700B7; Source: Windows) TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    CheckForRebootRequest(&bRebootInitiated), HRESULT=800700b7 (e:\nts_sms_fre\sms\client\tasksequence\executionengine\engine.cxx,274) TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    Fatal error is returned in check for reboot request of the action (Apply Operating System Image).
    Cannot create a file when that file already exists. (Error: 800700B7; Source: Windows) TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    An error (0x800700b7) is encountered in execution of the task sequence TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    Sending status message . . . TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    Do not send status message in full media case TSManager 9/4/2010 3:43:02 AM 1592 (0x0638)
    Executing command line: X:\windows\system32\cmd.exe /k TSBootShell 9/4/2010 3:45:12 AM 880 (0x0370)

    Wednesday, April 07, 2010 1:04 AM


All replies

  • if you press F8 can you browse c: and list files there ? if not perhaps you need to load storage support in your boot.wim file or change the sata/bios settings, what os are you deploying ?

    My step by step SCCM Guides
    windows-noob on Twitter
    Wednesday, April 07, 2010 5:26 AM
  • I may know why it has this error. It staged the boot image in previous steps, which the task sequence is started in FULL OS, then it restart in Windows PE for the first time and create the environment scope successfully. But during Apply OS steps when it requires to restart in Windows PE, it failed to create the environment scope again.

    Do you know how to solve this problem?


    Wednesday, April 07, 2010 7:29 AM
  • This error is only happen when the task sequence started in Full OS and deployed via USB Flash Drive. Do you have any idea? If I use standalone DVD media, it won't have such error at all.
    Friday, April 30, 2010 11:19 AM
  • Yes, I know this is an old post, but I’m trying to clean them up. Did you solve this problem, if so what was the solution?

    Since no one has answer this post, I recommend opening  a support case with Microsoft Customer Support Services (CSS) as they can work with you to solve this problem.

    Garth Jones

    Blog: Old Blog:

    Twitter: @GarthMJ Book: System Center Configuration Manager Reporting Unleased

    Saturday, February 13, 2016 3:08 PM