Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-09-05
7
Medium Priority
?
5,208 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 2000 total points
ID: 36487467
If possible, please upload the log file.

Also did you scan the log via trace32?
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 

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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

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

Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
Ever notice how you can't use a new drive in Windows without having Windows assigning a Disk Signature?  Ever have a signature collision problem (especially with Virtual Machines?)  This article is intended to help you understand what's going on and…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

618 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