Solved

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

Posted on 2011-09-05
7
5,086 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 24

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 24

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
Transaction Monitoring Vs. Real User Monitoring

Synthetic Transaction Monitoring Vs. Real User Monitoring: When To Use Each Approach? In this article, we will discuss two major monitoring approaches: Synthetic Transaction and Real User Monitoring.

 

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 24

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

As with any other System Center product, the installation for the Authoring Tool can be quite a pain sometimes. This article serves to help you avoid making these mistakes and hopefully save you a ton of time on troubleshooting :)  Step 1: Make sur…
User Beware!  This is a rather permanent solution to removing your email from an exchange server.  The only way to truly go back is to have your exchange administrator restore your mailbox from backups.  This is usually the option of last resort.  A…
Viewers will learn the different options available in the Backstage view in Excel 2013.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

695 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