Sdílet prostřednictvím


Problems Creating USB Media with Windows 7

I’ve seen a number of folks running into issues creating USB media when the SCCM admin console is running on a Windows 7 system.  Windows 2008 R2 should have the same issue but on at least one system I’ve tested I didn’t see it – and it was configured with a hidden system partition – just like Windows 7 (others have seen the issue on Windows 2008 R2). 

The issue is due to the way the search for a valid drive is done when running on Windows 7/2008 R2.  When installed from DVD Windows 7/2008 R2 will create a hidden partition on the disk that does not have a drive letter associated. 

image

Under this condition SCCM has problems trying to validate the disks when creating USB media and you will see an error similar to the following in the createtsmedia.log

Adding state to stage package CEN00003.2
Adding state to stage package CEN00004.1
Omitting package source \\STEVERACPRI\SMSPKGC$\CEN00004 because STEVERACPRI is not in the list of allowed DPs
Beginning media generation
Failed to create media (0x80070057)
CreateTsMedia failed with error 0x80070057, details=""
MediaGenerator::~MediaGenerator()
   

In addition, the task sequence wizard will fail with an exception at this point as well.

Currently there are three workarounds for the issue.
1.  Avoid installing Windows 7 with the hidden partition.  The article available here walks through how to do this.
2.  Assign a drive letter to the hidden system partition.
     Note: If you use this workaround it should ONLY be used on a system running the
SCCM console and specifically to workaround this issue. Assigning a drive letter to
the hidden system partition is not a good security practice.

3.  Avoid using a Windows 7 system for running your console.

Comments

  • Anonymous
    October 11, 2010
    The comment has been removed

  • Anonymous
    October 11, 2010
    Hey Dustin - yes, I was testing on Windows 2008 R2 but like I mention, I have colleagues who also see the error on 2008 R2 so i'm not surprised.

  • Anonymous
    November 08, 2010
    Thank you, this was driving me mad!!!

  • Anonymous
    November 10, 2010
    Fixed my problem too! Thanks a million!

  • Anonymous
    November 10, 2010
    It fixed my problem too! Thanks a million!

  • Anonymous
    October 19, 2011
    Know this is an 'sort of' old Blogpost but I'm new to SCCM and you just made my day - Thanks :)

  • Anonymous
    November 23, 2011
    This problem is there with Windows 7 as well as Windows Server 2008 R2. will try the fix today and post.

  • Anonymous
    September 11, 2013
    Hi, I get [CreateTsMedia failed with error 0x80004005 and then CreateMedia.exe finished with error code 80004005. I don't know what is causing this trying to do a USB deployment...Pulling my hair out. Can you help? rscott@technip.com