It never ceases to amaze me at how much I still don’t know and how much cool stuff is out there application-wise.

I was wanting to create a bootable UFD for the Windows 8 Developer preview and needed to remind myself the commands to use via “diskpart”. Ended up Googling it and came across a tool that Microsoft actually made for doing this which is quite nice.

Windows 7 USB/DVD Download Tool

Direct Download

You can use this to create Windows 7 bootable USB drive and/or DVD (and use it to create Windows 8 bootable by pointing it to the Windows 8 Developer preview ISO).

I also had posted earlier on how to use diskpart to create a bootable UFD.

If you get this error:

The selected file is not a valid ISO file. Please Select a valid ISO file and try again

when trying to use a custom ISO, check out Rafael’s blog from 2009 – he made a tool to fix this and explains what the problem is.


Found a steal of a deal at Staples last week. Grabbed myself a 16GB USB drive for $15 bucks while at Staples in Clarion, PA. It was on sale for $19.99 (normally $49.99) plus I had a $5.00 off eCoupon to apply toward ANY purchase.

All-in-all great deal.

M_GK420T_O_A2_128_F-500x500Here is how to factory reset a Zebra GK420t Label Printer by using using the form feed button and holding it in for 4 sequences of flashing numbers.

Press and hold the Form Feed until the 4th sequence of blinks has completed. Each sequence is separated by a 1 second pause.

Factory Defaults

Resets the printer to the factory default settings (equivalent to ZPL command^JUN). Some configuration settings are not returned to their initial ‘out of box’ settings. Other settings are exclusively set, viewed and controlled by programming are also reset. The performs a standard media calibration and then a memory defragmentation routine.

Once the printer has entered the Factory Default mode, the status light will turn amber for three (3) seconds. During that time you may do two things: Do nothing and the printer will reset the factory defaults automatically as described above OR press and hold the feed button to enter a factory default reset modes for printers with a network (Ethernet, Wi-Fi or Bluetooth) printer option (equivalent ZPL command ^JUF). Releasing the button after the first flash resets the network factory options only (equivalent ZPL command ^JUN). Releasing the button after the second flash sequence (two flashes) will reset the printer defaults only. Releasing the button after the third flash sequence (three flashes) will reset both printer and network settings (equivalent ZPL commands ^JUN and ^JUF)


[stextbox id=”alert”]WARNING:  This method will erase all content on the USB flash device![/stextbox]

Start DiskPart as administrator.

Start DiskPart as Administrator: Start -> type 'diskpart', right-click and choose 'Run as Administrator'.


Disk part should now open and you’ll be at the command prompt.

DiskPart Screen

List disk drives and select the UFD (USB Flash Device) such as your thumbdrive or a USB external HDD.

list disk
select disk 1

DiskPart: list disks and select correct disk

Clean the disk


DiskPart: clean the disk

Create a partition and specify the partition size.  I usually use the entire disk space.

create partition primary size=7839

DiskPart: create partition

Select the partition we just created;  If you created only one partition, the default will be ‘1’.

select partition 1

DiskPart: select partition 1

Set the partition to active


DiskPart: Set partition to active

Format the partition with NTFS filesystem (quick)

format fs=ntfs quick

DiskPart: format selected partition with NTFS (quick)

Assign the newly created partition a drive letter.


DiskPart: Assign partition a drive letter

compose new post
go to top
go to the next post or comment
go to the previous post or comment
toggle comment visibility
cancel edit post or comment