Share via


Create TS media - The system cannot find the file specified

Question

Wednesday, January 4, 2017 9:20 PM

I get the following error below when trying to Create Task Sequence Media to make a bootable USB drive to capture a reference image. My x64 boot image is deployed to the distribution point successfully, and has been imported successfully, and yet somehow the task sequence cannot find it. I simply don't understand.

Error: Task sequence media information

Media type: Removable USB drive

Removable USB drive: F:\

Boot image: Boot

Distribution point(s): 001SRV-SCCM2012.TELGIAN.LOCAL

Total size of media content, MB:  271

Errors

Media creation failed with error message: 'The system cannot find the file specified. Refer to CreateTsMedia.log file to find more details.

I cannot find the log file the system is mentioning. I have looked in the configuration manager installation path in the logs folder, it is not there. Our SCCM server is virtualized within VMware Vsphere ESX and is not on the same subnet as our DHCP server, yet the server share that I imported the boot image from is mapped correctly and SCCM can access it with no problems.

All replies (4)

Thursday, January 5, 2017 12:13 AM âś…Answered

This has been resolved. I had to download the new version of Windows ADK and use the boot WIMs from that.


Wednesday, January 4, 2017 9:36 PM

To include more details for anyone:

We're currently running System Center 2012 R2 Service Pack 1.


Wednesday, January 4, 2017 9:58 PM

CreateTsMedia.log is in <ConfigMgrInstallationPath>\AdminUILog\AdminUILog on the system you are running the console on.

Your DHCP server is completely irrelevant as are your subnets or the location or share of the boot image source WIM.

During media creation, content is pulled from the DP that you specify.

Finally, not 100% positive, but there have been four CUs released for 2012 R2 SP1 and one may contain a fix for this as well if it happens to be a bug.

Jason | http://blog.configmgrftw.com | @jasonsandys


Wednesday, January 4, 2017 10:17 PM

Thank you for that location, everywhere I looked on google had something different I believe. Here is my log file:

[LOG[Requested output path: F:\ (UFD+FORMAT)]LOG]!><time="13:32:36.848+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="createtsmedia.cpp:267">

<![LOG[Total number of TS variables: 0]LOG]!><time="13:32:36.848+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="createtsmedia.cpp:106">

<![LOG[Temporary directory 'C:\Users\mbradley\AppData\Local\Temp\4\tsmedia_12136' created, free space on drive 'C:' is 30783 MB]LOG]!><time="13:32:36.849+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="tempdirectory.cpp:87">

<![LOG[Opened WMI namespace '\001SRV-SCCM2012.telgian.local\root\SMS\site_TC1' ]LOG]!>

<time="13:32:36.910+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="mediafactory.cpp:1013">

<![LOG[Local computer is 001SRV-SCCM2012]LOG]!><time="13:32:36.932+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="utils.cpp:384">

<![LOG[Package manager created successfully]LOG]!><time="13:32:36.932+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="mediafactory.cpp:482">

<![LOG[Local computer is 001SRV-SCCM2012]LOG]!><time="13:32:36.935+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="utils.cpp:384">

<![LOG[Creating policy manager]LOG]!><time="13:32:36.936+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="mediafactory.cpp:519">

<![LOG[Creating UFD writer]LOG]!><time="13:32:36.936+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="imagewriter.cpp:55">

<![LOG[MediaGenerator::MediaGenerator()]LOG]!><time="13:32:36.936+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="mediagenerator.cpp:367">

<![LOG[Getting deployment tools kit version and propery value]LOG]!><time="13:32:36.936+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="mediafactory.cpp:133">

<![LOG[Setting up Install Toolkit]LOG]!><time="13:32:37.106+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="mediatoolkit.cpp:217">

<![LOG[Copying package TC100035 to C:\Users\mbradley\AppData\Local\Temp\4\tsmedia_12136\Cache]LOG]!><time="13:32:37.224+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="packagemgr.cpp:338">

<![LOG[Retrieving info for package TC100035.2]LOG]!><time="13:32:37.225+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="packagemgr.cpp:1046">

<![LOG[Content Library: Path='C:\SCCMContentLib', Drives='C:\]LOG]!><time="13:32:38.678+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="utils.cpp:823">

<![LOG[Registering package TC100035.2 with content at C:\SCCMContentLib]LOG]!><time="13:32:40.389+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="packagemgr.cpp:595">

<![LOG[VerifyContentHash: Hash algorithm is 32780]LOG]!><time="13:32:40.740+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="downloadcontent.cpp:1899">

<![LOG[Hash value of package TC100035 is verified]LOG]!><time="13:32:48.883+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="packagemgr.cpp:498">

<![LOG[Loaded Windows Imaging API DLL (version '6.3.9600.17029') from location 'C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\x86\DISM\wimgapi.dll']LOG]!>

<time="13:32:48.887+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="wimfile.cpp:346">

<![LOG[Opening image file C:\Users\mbradley\AppData\Local\Temp\4\tsmedia_12136\Cache\TC100035\boot.TC100035.wim]LOG]!><time="13:32:48.888+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="wimfile.cpp:430">

<![LOG[Applying image 1 to volume C:\Users\mbradley\AppData\Local\Temp\4\tsmedia_12136\Toolkit]LOG]!><time="13:32:49.141+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="wimfile.cpp:621">

<![LOG[Closing image file C:\Users\mbradley\AppData\Local\Temp\4\tsmedia_12136\Cache\TC100035\boot.TC100035.wim]LOG]!><time="13:32:49.183+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="wimfile.cpp:466">

<![LOG[Resources file not found in toolkit.
The system cannot find the file specified. (Error: 80070002; Source: Windows)]LOG]!>

<time="13:32:49.187+420" date="01-04-2017" component="CreateTsMedia" context="" type="3" thread="12136" file="mediatoolkit.cpp:175">

<![LOG[Failed to initialize Toolki tAnd Policy]LOG]!><time="13:32:49.187+420" date="01-04-2017" component="CreateTsMedia" context="" type="3" thread="12136" file="mediafactory.cpp:565">

<![LOG[MediaGenerator::~MediaGenerator()]LOG]!><time="13:32:49.187+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="mediagenerator.cpp:417">

<![LOG[Failed to create media generator (0x80070002)]LOG]!><time="13:32:49.188+420" date="01-04-2017" component="CreateTsMedia" context="" type="3" thread="12136" file="createtsmedia.cpp:342">

<![LOG[CreateTsMedia failed with error 0x80070002, details='']LOG]!><time="13:32:49.188+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="12136" file="createtsmedia.cpp:355">

<![LOG[Media creation process that was started from Admin Console completed.
]LOG]!><time="13:32:49.246+420" date="01-04-2017" component="CreateTsMedia" context="" type="1" thread="11596" file="createmedia.cpp:1066">

<![LOG[CreateMedia.exe finished with error code 80070002]LOG]!><time="13:32:49.246+420" date="01-04-2017" component="CreateTsMedia" context="" type="2" thread="11596" file="createmedia.cpp:1124">