Solved

SCCM 2007 - Create TS Media Error - Failed to create media (0x80070057)

Posted on 2011-09-05
7
4,938 Views
Last Modified: 2012-05-12
Hi

Apologies in advance if this is in the wrong place but I couldn't seem to locate a zone for SCCM!

I am having issues persuading SCCM to put one of my task sequences on to stand-alone media (USB device). Other task sequences work fine, it is just this particular one giving me problems.

The Task Sequence Media Wizard starts, everything seems to go quite well, then after about 20 minutes it errors with the message "Error creating media. Error message is: The parameter is incorrect.. Please refer to CreateTSMedia.log to get details"

So I examine the CreateTSMedia.log, which shows this error:

CreateTsMedia failed with error 0x80070057.

In case it would be useful, here is the relevant (I think) part of the log file:

<![LOG[Staging OS Image Package HQ10006A]LOG]!><time="15:04:43.347+-60" date="09-05-2011" component="CreateTsMedia" context="" type="1" thread="5036" file="mediagenerator.cpp:346">
<![LOG[Before executing state - fsVolumeSpaceRemaining= 7819 Mb]LOG]!><time="15:04:43.347+-60" date="09-05-2011" component="CreateTsMedia" context="" type="1" thread="5036" file="mediagenerator.cpp:347">
<![LOG[Win7Pro006.swm size is 6915 Mb]LOG]!><time="15:04:43.347+-60" date="09-05-2011" component="CreateTsMedia" context="" type="1" thread="5036" file="stageosimagepackage.cpp:164">
<![LOG[Failed to create media (0x80070057)]LOG]!><time="15:04:43.377+-60" date="09-05-2011" component="CreateTsMedia" context="" type="3" thread="5036" file="createtsmedia.cpp:221">
<![LOG[CreateTsMedia failed with error 0x80070057, details="HQ10006A"]LOG]!><time="15:04:43.377+-60" date="09-05-2011" component="CreateTsMedia" context="" type="1" thread="5036" file="createtsmedia.cpp:229">
<![LOG[MediaGenerator::~MediaGenerator()]LOG]!><time="15:04:43.377+-60" date="09-05-2011" component="CreateTsMedia" context="" type="1" thread="5036" file="mediagenerator.cpp:206">
<![LOG[Failed to release SMS WMI session handle (0x80010108)]LOG]!><time="15:04:43.469+-60" date="09-05-2011" component="CreateTsMedia" context="" type="2" thread="5036" file="smswmisession.cpp:28">

So far I have tried using different USB sticks of varying sizes, always with the same error. I have also read various articles online regarding this error, most of which point to a Microsoft solution (http://support.microsoft.com/default.aspx?scid=kb;EN-US;2471018) which does not work for me - I have disconnected all network drives, and have no hidden partitions without a drive letter.

I have also tried creating the task sequence media from different PCs and different operating systems (Windows XP Pro SP3 and Windows 7 Enterprise), but this makes no difference.

I am using SCCM 2007 R3.

So I am completely stuck now. I cannot find many solutions via google, because it seems that the Microsoft Support article solves the issue for most other people. Any further ideas would be very gratefully received.

Thanks
0
Comment
Question by:wyhelpofficer
  • 4
  • 3
7 Comments
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
ID: 36487298
Are you on 2003 or 2008?
0
 

Author Comment

by:wyhelpofficer
ID: 36487385
We are using SCCM 2007 R3 on Server 2008, and I have been attempting to create the TS media from machines running Windows XP and Windows 7.

Thanks
0
 
LVL 23

Accepted Solution

by:
Nagendra Pratap Singh earned 500 total points
ID: 36487467
If possible, please upload the log file.

Also did you scan the log via trace32?
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 

Author Comment

by:wyhelpofficer
ID: 36494850
Thanks for taking the time to respond to this. I scanned through the log with Trace32 as you suggested and I spotted a few discrepancies with the OS image package itself. I am wondering if problems with the package might have caused the issue, so I am currently re-capturing the image and rebuilding the package to see if this solves the problem.
0
 
LVL 23

Expert Comment

by:Nagendra Pratap Singh
ID: 36494916
Nice!

Please post the resolution as well.

TIA
0
 

Assisted Solution

by:wyhelpofficer
wyhelpofficer earned 0 total points
ID: 36501724
Thanks, it's all working now. I would post the resolution if I knew exactly what it was! I checked the log with Trace32 as per your suggestion and noticed that for some reason it was processing 6 volumes for the image - however the image only contains 3 volumes. Also the volume sizes were reported incorrectly in the log.

I deleted the image package and task sequence completely from SCCM, capture the image again from the source computer, and made a new task sequence. After doing this it all worked as expected, so I can only assume that there was a problem with the image package.

I'm going to flag your suggestion to scan the log more closely in Trace32 as the accepted solution for this, because it ultimately led to my solution :)

Thanks again
0
 

Author Closing Comment

by:wyhelpofficer
ID: 36527859
Sometimes we just need a nudge in the right direction :)
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Lync meeting or Lync conferencing is what many organizations would like to deploy to allow them save money. But companies are now giving up for various reasons, one of which is that they cannot join external meetings (non-federated company meetings)…
Many companies are making the switch from Microsoft to Google Apps (https://www.google.com/work/apps/business/). Use this article to learn more about what Google Apps has to offer and to help if you’re planning on migrating to Google Apps. It is …
The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now