Solved

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

Posted on 2011-09-05
7
4,904 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
Experts-Exchange users below are the steps you can follow to upgrade your Lync server to latest CU's or cumulative updates. Note: Perform it during non-production hours.   Step 1: Backup your lync and SQL server database. Follow below article: h…
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…
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…

760 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

18 Experts available now in Live!

Get 1:1 Help Now