Solved

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

Posted on 2011-09-05
7
5,016 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 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 

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

Industry Leaders: 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

Suggested Solutions

Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
Technology opened people to different means of presenting information, but PowerPoint remains to be above competition. Know why PPT still works today.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

749 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