Top Nav

Pin a Drive to the Windows 7 Taskbar

Pinning items to the Taskbar in Windows 7 makes navigation much easier. Unfortunately you can’t pin just anything. You can’t pin a hard drive by default. There’s a work around for it though, that’s easy. Here’s How

First, right click an empty area on your desktop and select New >> Text File.

New Text Doc

Now name that text file to something memorable .exe.

Here I naming my external drive that I use for Plex Media Center which has a lot of videos, songs and pictures to MediaDrive.exe.  It’s important to change the file extension from .txt to .exe.
Name Text File to Executable

Click Yes to the dialog that asks if you’re sure you want to rename the file extension.


Now, pin the file you just created to the Taskbar.

pint to taskbar

Now that the file is pinned to the Taskbar, right click on it, then right click its name from the menu and select Properties.


The Drive Properties screen comes up. Select the Shortcut tab, and enter in the Target and Start in Fields for the drive you selected.

For example, the drive I am using I named (Z:) which I entered in the Target field. If you’re using a drive that shows up in Computer, in the Start In field type: %users%\drive:\ – where Drive is the letter of the drive you want to open.


While you’re in the Properties windows, you might as well click Change Icon too. Then select an icon you want to use. Here I selected a hard drive icon.

change icon

Click OK in both screens, then you’ll see your new drive icon on the Taskbar.

Drive on Taskbar

More Reading:

, ,

9 Responses to Pin a Drive to the Windows 7 Taskbar

  1. Alan Wade April 13, 2012 at 9:35 am #

    Thanks for the tutorial Brian, its something Ive been trying to do for a long while.


  2. Brian Burgess April 13, 2012 at 1:35 pm #

    @Alan Wade: You’re welcome! We try to cover as many angles of tech as possible. More on the way! Thanks for reading.

  3. Vic April 14, 2012 at 5:26 pm #

    I can set it up OK, but I can’t get the icon to change on the task bar. It changes in the properties, but not on the task bar.

  4. Alan Wade April 15, 2012 at 1:11 am #

    My icon changed instantly.

  5. Stu April 16, 2012 at 8:32 pm #

    Works well, though I had to make the file extensions visible through the control panel. In addition the icon change (own Icon set) required a hard reboot to show up on the task bar, otherwise a great hack – Thanks a lot Brian.

  6. Chaitanya April 17, 2012 at 11:33 pm #

    Very Nice post… will it not work in WinXP? I created a .txt file to .exe file in WinXP but it doesnt turned to Shell file. It remained as Notepad only.

  7. Chaitanya April 17, 2012 at 11:47 pm #

    Continuation to above comment
    How that .exe file turned to shell file in Win7 but not in WinXP?

    • Alan Wade April 18, 2012 at 12:02 am #


      Try this:

      Press the “Windows” key and “E” together to open Windows Explorer.
      Right-click the drive and select “Create Shortcut”. Windows will create a shortcut icon for the drive.
      Left-click the icon, hold down the left mouse button and drag the shortcut to the “Start” button at the bottom of the screen.

      Release the mouse button. XP will pin the folder shortcut to the Start menu.

  8. Chaitanya April 18, 2012 at 12:49 am #

    Thanks Alan but my need is to see on Taskbar 🙁
    I want to reduce one more click 🙂

    I did following work around – right click on taskbar -> click toolbar->select new toolbar -> select and click OK.

    But I want to see as the requirement mentioned in this post.

Leave a Reply


Free Learning


Don't miss a single tip, how to or tech news update. Subscribe to my free newsletter and receive updates, right to your inbox.

You have Successfully Subscribed!