USB Hack: Turn a USB Stick Into a Hard Drive or Local Disk

USB Hack:  Turn a USB Stick Into a Hard Drive or Local Disk

USB Tutorial: Turn a USB stick into a Hard Drive or Local Disk

This is a very valuable tutorial, especially if you are looking to partition a USB stick.  Another application for turning a removable drive into a local disk, is that now many software programs can be loaded directly to a USB drive.  The first program which comes to mind is iTunes.  I know you need My Documents and a Local Disk to install it, so after this tutorial, I’ll try installing iTunes and share the results.

The process of turning a USB stick into a hard drive is fairly easy.  However, there are limitations.  For example, this works best with Windows XP operating systems.  You also need to update the drivers for the device for any computer you are going to use.  Typically, this isn’t a big deal as you can easily do this for your work and home computers.  However, this isn’t a great solution if you are trying to create a partitions USB stick for distribution to many possible users [say trade show give-away].

Couple of items you’ll need:

  • files [download here]
  • Windows XP
  • USB stick

What we will do, is connected the USB stick, find the driver code, update the driver code and re-connect the device.  Simple.

Here are the details:

  • From a running Windows XP system, Insert your USB flash drive
  • Download and extract. A USB_localDisk folder is created.
  • From the USB_LocalDisk folder, right click cfadisk.inf and open the file with Notepad or text editor.

usb stick as local disk

  • Navigate to line 26 of the cfadisk.inf file. We are going to be editing the section labeled “device_instance_id_goes_here“. Good idea to keep this file open because we will be using it in about 40 seconds.
  • From your Windows Desktop, click Start > Run and type devmgmt.msc and click OK
  • Under Disk drives, locate your USB stick and right click, select Properties.

usb stick as hard drive

Click the Details tab and select the item listed.  Use the Ctrl C function to copy this driver for your USB stick.

usb stick as local hard drive

Next, go back to your open file cfadisk.inf and lets insert the drive code you just copied and update the file.  Find the text which says: “device_instance_id_goes_here”  should be around line 26.  Paste the drive code you have by Ctrl V.

Now click Save.  We’ve just created an updated driver for the device so it will read as a Local Disk.  But now we need to update the driver itself.

Click Start > Run > type devmgmt.msc and locate your USB stick again.  Right click the device and select “Update Driver

partition usb stick

Inside the Wizard we need to follow specific instructions to manually update the driver to change your USB stick to a hard drive or Local Disk.  It’s easy, just follow along…

Select:  Install from a list or specific location > Next

Select:  Don’t Search.  I will choose the driver to install > Next

Select: Have Disk…

Navigate to the location of the “cfadisk.inf” file > click Open

Select: Next in the Windows wizard and that’s it!  You may need to reconnect your device to the OS.

Two additional tips.

  1. Save the “cfadisk.inf” on your USB stick so you may use it at different locations when updating your home or work computer.
  2. To partition your USB stick using the Windows utilities you can find that function by:

Start > Control Panel > Administrative Tools > Computer Management > Disk Management under the Storage folder.

Helpful Reference:  Lance Hoff.

Was this article helpful?

Tags: , , ,

Rich Gates

Administator for started in 2004 with the concept of providing USB information for everything USB related. At the time, USB was gaining momentum and every day new products, articles and news became published. Today, the site is focused on bringing technical information, tricks and hacks to USB related products. The site does publish off topic information as well, to keep the variety up. Please visit the footer area of any page if you or your company is interested in article or product placement via purchased advertising.

Copyright © 2006 +

USB Powered Gadgets and more...

All Rights Reserved

GetUSB Advertising

This is a high value website providing great exposure to your product and brand. Visit our advertising page to learn specifics.

For more information
Visit our advertising page.

Nexcopy Provides

USB copy protection with digital rights management for data loaded on USB flash drives.

Contact us learn more