How to create offline or standalone USB media for OS Deployment in ConfigMgr 2007

How to create offline or standalone USB media for OS Deployment in ConfigMgr 2007

  • Comments 6
  • Likes

SuccessFailureOperating System Deployment (OSD) in System Center Configuration Manager 2007 offers several options for deploying images to target systems. One option includes support for imaging systems that are completely disconnected from the network using stand-alone media. You will also see this referred to as using offline media.

Using stand-alone media doesn’t require access to the ConfigMgr infrastructure during imaging because all components needed during the imaging process are copied to the stand-alone media and available locally. This includes the task sequence and any packages or other items referenced by the task sequence. For this reason, stand-alone media can be quite large – often exceeding the space available on a DVD. To avoid swapping DVD’s during imaging with larger stand-alone media based images, it is convenient to use a USB thumb drive. Because of smaller size, easier portability and convenience, USB media is often preferred over DVD’s even when image sizes don’t require DVD spanning. But there are a few requirements for using USB stand-alone media successfully. Let’s walk through the process of creating USB stand-alone media and then go through a few requirements that need to be in place to avoid problems.

To start, ensure the USB flash drive is connected then launch the wizard by selecting task sequences under the OSD node, right-click and choose ‘create task sequence media’.
clip_image001

In the wizard that launches select to create ‘stand-alone media’

clip_image003

On the next screen you have a choice of whether to create a CD/DVD set or a USB flash drive.

NOTE: That the text states USB flash drive. A common question is whether it’s supported to use a USB hard drive rather than a USB flash drive. At present USB hard drives are NOT supported.

clip_image005

Click next and you will get a warning that the USB device will be formatted. Select yes to continue.

Note: The max size for a USB flash drive is 32 GB. If you attempt to use a flash drive larger than this you may see errors. To avoid, create a 32 GB partition on the flash drive and choose that partition in the wizard. More on this later.

The next screen displays a screen allowing a password to be entered for the USB disk.
clip_image007

Next, select the task sequence that is to be deployed with this offline media.

clip_image009

The next screen shows available distribution points. Choose the one that has the content you want to deploy. The bottom window will detail how many of the task sequence packages (but not which ones) are available on the selected distribution point. Note that if the distribution point selected does not have the content you will not complete creation of the offline media successfully.

clip_image011

The next window will allow adding any task sequence variables to the offline media. This is an option selection. For this example I just click next.

clip_image013

The summary screen is displayed, select next and the offline media creation begins. Depending on the size of the image and associated content the offline image creation can take several minutes.

clip_image015

clip_image017

The media creation process can be tracked in CreateTSMedia log which is in the AdminUI\AdminUILog folder. A successful media creation will show the following near the end of the log.

clip_image019

If you look at the USB flash drive you will see all of the items that have been loaded. Note that the flash drive is by default formatted as a FAT32 partition.

clip_image021

That is the process when all goes well – but there are times when things don’t work so easy. The following is a list of some known issues and ways to deal with errors encountered.

Problem: Cannot create offline media from an SCCM 2007 Admin console running on a Windows 7 workstation.
Resolution: This is a known issue with three potential workarounds documented at

Problem: >32 GB USB disk won't work to create TS media.
Resolution: You can create a 32 GB partition on a larger USB drive by using diskpart and the following script. The resulting partition will be formatted with an NTFS partition using the script below. Note: The value # in the script should be replaced with the drive number.

Problem: You see an error in the CreateTSMedia log stating ‘directory name is invalid’.
Resolution: The offline media was being created from content located on a branch distribution point. The problem was due to the users account (in this case an admin on the system) not having permissions to the SMSPXEImages$ share. Adding permissions resolved the problem. This problem can happen with any distribution point if appropriate permissions are not in place.

Problem: An error was noted that the USB disk being used was too small but in reality had plenty of space.
Resolution: The error resulted because not all packages had replicated successfully to the distribution points being used for media creation.

Problem: You run out of disk space while trying to create the offline media.
Resolution: Sufficient disk space is required to stage all the content in the current logged on users %TEMP% directory. If the offline media wizard is run on a server where the C:\ is a small partition to host just the OS, you may run out of space during the media creation without a clear error. Workaround this by changing the %TEMP% variable path to another drive with sufficient space, or leverage a remote console on a workstation with sufficient C: drive space to stage the content.

Problem: The formatted USB flash drive may not have enough space to hold the image.
Resolution:
If the USB flash drive is formatted using a FAT32 partition then no file can exceed 4 GB in size (which is common with the WIM). Format the USB Flash stick as NTFS first.

Problem: When running the offline media wizard the attached USB flash drive is not detected.
Resolution: The USB flash drive must be connected prior to launching the wizard.

For more information on using OSD through System Center Configuration Manager 2007 see the following:

http://blogs.technet.com/b/configurationmgr/archive/2009/07/27/a-step-by-step-for-using-osd-through-system-center-configuration-manager-2007.aspx

Steve Rachui | Senior Premier Field Engineer

The App-V Team blog: http://blogs.technet.com/appv/
The WSUS Support Team blog: http://blogs.technet.com/sus/
The SCMDM Support Team blog: http://blogs.technet.com/mdm/
The ConfigMgr Support Team blog: http://blogs.technet.com/configurationmgr/
The SCOM 2007 Support Team blog: http://blogs.technet.com/operationsmgr/
The SCVMM Team blog: http://blogs.technet.com/scvmm/
The MED-V Team blog: http://blogs.technet.com/medv/
The DPM Team blog: http://blogs.technet.com/dpm/
The OOB Support Team blog: http://blogs.technet.com/oob/
The Opalis Team blog: http://blogs.technet.com/opalis
The Service Manager Team blog: http: http://blogs.technet.com/b/servicemanager
The AVIcode Team blog: http: http://blogs.technet.com/b/avicode
The System Center Essentials Team blog: http: http://blogs.technet.com/b/systemcenteressentials
The Server App-V Team blog: http: http://blogs.technet.com/b/serverappv

clip_image001 clip_image002

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Problem: The formatted USB flash drive may not have enough space to hold the image.

    Resolution: If the USB flash drive is formatted using a FAT32 partition then no file can exceed 4 GB in size (which is common with the WIM). Format the USB Flash stick as NTFS first.

    I have this problem. I formatted USB stickt as NTFS, but the TS media wizard also failed. Since the wizard will reformat it to FAT32 during the process.

    How to configure the TS media wizard not to format in FAT32?

  • I run the TS media wizard on the site server which is Windows 2008 R2, and SCCM is R2

    any workaround to this problem?

  • Hi,

    How do we provide a prompt for computer name?

  • Hey, never mind, i found this blogs.catapultsystems.com/.../have-os-deployment-ask-for-a-computer-name.aspx

    thanks

  • Yeah no one anwered that, you can't format the flash drive for NTFS, it formats it again with fat32 and fails because my image file is too big

  • Typical Microsoft. You can use offline media, but it has to be usb thumb drive and not a usb hard drive. It can't be more than 32gb. hahaha. What about colour? does it have to be a M$ branded usb drive that cost $400 for a 32gb slowest speed available?

    Yea i just spent several thousand dollar on this wonderful SCCM that is meant to make everything easier. Can it deploy windows OS faster than the free clonezilla? no way. I can deploy image with clonezilla in 5 mins. SCCM from the usb drive after jumping through hoops. 1 hour+.