none
CreateMedia.exe finished with error code 80070002 RRS feed

  • Question

  • Hi,

    In one of our locations, we are unable to create USB boot media. We keep getting the error "The system cannot find the file specified" CreateMedia.exe finished with error code 80070002. Does anyone know what would be the cause of this? TIA

    CreateTSMedia.log

    <![LOG[ADK installation root registry value not found.]LOG]!><time="13:51:24.598+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="wimfile.cpp:207">
    <![LOG[Loaded C:\Windows\system32\wimgapi.dll]LOG]!><time="13:51:24.598+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="wimfile.cpp:344">
    <![LOG[Opening image file D:\sources\boot.wim]LOG]!><time="13:51:24.598+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="wimfile.cpp:422">
    <![LOG[Applying image 1 to volume C:\Users\hidden\AppData\Local\Temp\_tsmedia_3836\BootImageTemp]LOG]!><time="13:51:24.602+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="wimfile.cpp:613">
    <![LOG[Closing image file D:\sources\boot.wim]LOG]!><time="13:51:25.993+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="wimfile.cpp:458">
    <![LOG[BootLoader::restore: C:\Users\hidden\AppData\Local\Temp\_tsmedia_3836\BootImageTemp, D:\]LOG]!><time="13:51:46.081+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="bootloader.cpp:382">
    <![LOG[Copied D:\EFI\Microsoft\Boot\bootmgfw.efi to D:\EFI\Boot\bootx64.efi]LOG]!><time="13:51:59.693+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="bootsystem.cpp:1815">
    <![LOG[Copied D:\EFI\Microsoft\Boot\bootmgfw.efi to D:\EFI\Boot\bootia32.efi]LOG]!><time="13:51:59.921+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="bootsystem.cpp:1815">
    <![LOG[Successfully staged files to make media bootable]LOG]!><time="13:51:59.921+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="bootsystem.cpp:1822">
    <![LOG[State has been executed.]LOG]!><time="13:52:00.077+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="mediagenerator.cpp:622">
    <![LOG[Media Remaining Space= 6597 Mb]LOG]!><time="13:52:00.077+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="mediagenerator.cpp:627">
    <![LOG[-------------------------------------------]LOG]!><time="13:52:00.077+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="mediagenerator.cpp:630">
    <![LOG[Size available  = 6597 Mb, size required = 0 Mb]LOG]!><time="13:52:00.077+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="mediagenerator.cpp:509">
    <![LOG[-------------------------------------------]LOG]!><time="13:52:00.077+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="mediagenerator.cpp:610">
    <![LOG[Staging base files]LOG]!><time="13:52:00.077+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="mediagenerator.cpp:611">
    <![LOG[Media Remaining Space before executing state is 6597 Mb]LOG]!><time="13:52:00.078+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="mediagenerator.cpp:616">
    <![LOG[StageBaseFiles::Execute()]LOG]!><time="13:52:00.078+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="stagebasefiles.cpp:562">
    <![LOG[Failed to create media (0x80070002)]LOG]!><time="13:52:00.086+360" date="01-09-2015" component="CreateTsMedia" context="" type="3" thread="3836" file="createtsmedia.cpp:345">
    <![LOG[CreateTsMedia failed with error 0x80070002, details='']LOG]!><time="13:52:00.086+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="createtsmedia.cpp:355">
    <![LOG[MediaGenerator::~MediaGenerator()]LOG]!><time="13:52:00.086+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="3836" file="mediagenerator.cpp:396">
    <![LOG[Media creation process that was started from Admin Console completed.
    ]LOG]!><time="13:52:10.244+360" date="01-09-2015" component="CreateTsMedia" context="" type="1" thread="7776" file="createmedia.cpp:1065">
    <![LOG[CreateMedia.exe finished with error code 80070002]LOG]!><time="13:52:10.244+360" date="01-09-2015" component="CreateTsMedia" context="" type="2" thread="7776" file="createmedia.cpp:1123">

    Friday, January 9, 2015 8:16 PM

Answers

  • You shouldn't really need the path.  Just make sure that the distribution point has the content for all packages referenced by the task sequence.  You can check that in the Monitoring node of the console under Distribution Status | Content Status or by going to the Distribution Pints node in Administration.  Right click the DP in question and select properties.  Then go to the COntent tab

    Jeff

    • Marked as answer by GibsonLP2012 Friday, January 9, 2015 9:29 PM
    Friday, January 9, 2015 8:30 PM

All replies

  • Make sure the content required by the task sequence is on the DP in the location where you are creating the media.

    Jeff

    Friday, January 9, 2015 8:24 PM
  • Will the CreatTSMedia.log tell me where this location is? I know the server but not the path.
    Friday, January 9, 2015 8:26 PM
  • You shouldn't really need the path.  Just make sure that the distribution point has the content for all packages referenced by the task sequence.  You can check that in the Monitoring node of the console under Distribution Status | Content Status or by going to the Distribution Pints node in Administration.  Right click the DP in question and select properties.  Then go to the COntent tab

    Jeff

    • Marked as answer by GibsonLP2012 Friday, January 9, 2015 9:29 PM
    Friday, January 9, 2015 8:30 PM
  • Thank you Jeff, I am redistributing the package to the DP now. Hopefully this will solve the issue.
    Friday, January 9, 2015 9:29 PM