Problem:

I need to create multiple copies of my USB Bootable Media. DO I have to run through the “Task Sequence Media Wizard” each time I need to create Bootable Media on a USB key?

Resolution:

No. Once you have created one build key using the “Task Sequence Media Wizard” you can then “clone” it.

First you’ll need to use DISKPART in order to make the key bootable using the following procedure (the following was performed on a Windows 7 machine):

1. Insert the target USB key.

2. Start a Command Prompt.

3. Run DISKPART

4. Click “Yes” if prompted by User Access Control “Do you want to allow the following program to make changes to this computer?

A new Command window titled “C:\Windows\system32\diskpart.exe” will then open and display the “DISKPART>” prompt.

5. Type “List Disk” at the “DISKPART>” prompt which will display a list of the disks connected to the machine.

6. Make a note of the Disk Number that corresponds to the USB key (look at the “Size” column to help you).

7. Type “Select disk <disk_number>” where “<disk_number>” corresponds to the USB key. Diskpart will reply “Disk <disk_number> is now the selected disk.

IMPORTANT: Double-check you’ve selected the correct disk as you’re about to blow the disk and it’s contents away.

8. Type “Clean” at the “DISKPART>” prompt. Diskpart will reply “Diskpart succeeded in cleaning the disk.

9. Type “List Partition” at the “DISKPART>” prompt. Diskpart should reply “There are no partitions on this disk to show.

10. Type “Create Partition Primary” at the “DISKPART>” prompt. Diskpart will reply “DiskPart succeeded in creating the specified partition.

NOTE: If Diskpart returns an error that it can’t create the partition then you won’t be able to use this particular USB key as a ConfigMgr Boot Key.

11. Type “Select partition 1” at the “DISKPART>” prompt. Diskpart will reply “Partition 1 is now the selected partition”.

12. Type “Format FS=FAT32 QUICK” to perform a quick format on the USB key and format it as FAT32. Diskpart will format the drive showing the percentage completed and then reply with “DiskPart successfully formatted the volume.

13. Type “Active” to mark the Partition as Active (i.e. bootable). DiskPart will reply “DiskPart marked the current partition as active.

14. Type “Assign” at the “DISKPART>” prompt which will assign a drive letter to the USB key and mount the drive. Diskpart will reply “DiskPart successfully assigned the drive letter or mount point”. You may see an “AutoPlay” window appear on the desktop which you can close.

15. Type “Exit” at the “DISKPART>” prompt to return to the original Command Prompt.

16. Type “Exit” to close the original Command Prompt window.

17. Copy all of the files and directories from the source key to the destination. If you don’t have a newly created key the copy the following files and directories:

Files:
bootmgr
bootmgr.efi
AUTORUN.INF

Directories:
boot
EFI SMS
sources

NOTE: You might want to change the label on the target USB key to “SCCM” so it matches the label of the source key.

The following shows the output of running the above procedure in DiskPart. In this example “Disk 1” is my USB key.

Microsoft DiskPart version 6.1.7601

Copyright (C) 1999-2008 Microsoft Corporation.

On computer: CLIFFW7

DISKPART> List Disk

Disk ### Status Size Free Dyn Gpt

-------- ------------- ------- ------- --- ---

Disk 0 Online 111 GB 0 B

Disk 1 Online 1907 MB 0 B

DISKPART> Select disk 1

Disk 1 is now the selected disk.

DISKPART> Clean

DiskPart succeeded in cleaning the disk.

DISKPART> List Partition

There are no partitions on this disk to show.

DISKPART> Create Partition Primary

DiskPart succeeded in creating the specified partition.

DISKPART> Select partition 1

Partition 1 is now the selected partition.

DISKPART> Format FS=FAT32 QUICK

100 percent completed

DiskPart successfully formatted the volume.

DISKPART> Active

DiskPart marked the current partition as active.

DISKPART> Assign

DiskPart successfully assigned the drive letter or mount point.

DISKPART>