Technology in terms you understand. Sign up for the Confident Computing newsletter for weekly solutions to make your life easier. Click here and get The Ask Leo! Guide to Staying Safe on the Internet — FREE Edition as my thank you for subscribing!

How do I do a computer defrag if I have no "My Computer" icon?

I wanted to defrag my computer, however, my “My Computer” file which
should be on the desktop is not. I don’t know where it is. Can you tell
me how to locate it AND how to defrag my computer with/without the “My
Computer” file.

The “My Computer” icon (technically a shortcut, not a file) is
common on default desktops, but it’s certainly not required.

While it’s one way to access the computer defrag tool, it’s not the
only way. We’ll look at how to get “My Computer” back, and how to
defrag without it, too.

]]>

The “My Computer” icon is a common fixture on many Windows desktops:

My Computer on the Windows Desktop

However, it’s also very easy to lose, either intentionally as part of keeping a clean desktop, or otherwise. Getting it back is easy.

Right click on the desktop background, and select Properties. Click on the Desktop tab:

The desktop tab of display properties

Now click on the Customize Desktop… button:

The desktop items dialog of display properties

Simply make sure that My Computer is checked, and “OK” your way back out.

In Windows Vista the process is similar: right click on the desktop, click on Personalize, then click on Change desktop icons in the left-hand pane. Once again, simply make sure that Computer (as it’s called in Vista) is checked, and “OK” and close your way back out.

Something that most people don’t realize is that “My Computer” is just a shortcut, and like many shortcuts the target can be accessed from several different places.

Click on the Start menu, and you’ll see “My Computer” listed right there:

Windows XP Start Menu

You can right click on that just as you would have the desktop icon, or you can click on it to open “My Computer” just as double clicking on the desktop icon would have done.

Another approach: hold down the Windows Key and press the letter E. In most configurations this will open up Windows Explorer on … you guessed it … “My Computer”. In fact, being a keyboard kinda guy myself, this is perhaps my most frequently used alternative.

Even though we’ve figured out about three different ways to get at My Computer, and presumably the disk properties that allow you to start a defrag of your hard disk, let’s defrag without “My Computer” at all.

These alternatives all work:

  • Start, Run, and then enter “Compmgmt.msc” and press OK. That’s the Computer Management console, and therein you’ll find “Disk Defragmenter”.

  • Even better: Start, Run, and then enter “dfrg.msc” and press OK. That’s the disk defragmenter itself.

  • Finally: consider the “defrag” command line tool. All you need do is open up a Command Prompt (usually in the Accessories menu underneath All Programs), and type “defrag C:” followed by enter. There’s no pretty picture as this operates, but the results are the same.

As you can see, just like multiple ways of finding “My Computer”, there are multiple ways to find the defragmenting tool as well.

Subscribe to Confident Computing! Tech problem solving & safety tips & a weekly confidence boost in your inbox every week.

I'll see you there!

10 Reasons Your Computer is Slow

Slow Computer?

Speed up with my special report: 10 Reasons Your Computer is Slow, now updated for Windows 10.

NOW: name your own price! You decide how much to pay -- and yes, that means you can get this report completely free if you so choose. Get your copy now!

3 comments on “How do I do a computer defrag if I have no "My Computer" icon?”

  1. Defrag can also be found in Programs/Accessories/System Tools, where Disk Cleanup also resides. One should, IMO, run Disk Cleanup before defragging anyway.

    Reply
  2. Leo, I lost the My Computer icon [XP] years ago and have NEVER been able to get it back. Everything you suggest has been tried, not once but several times including “Restore Default.” Repair of the XP installation has been done a couple of times, but still no My Computer. This is a tough one, and I don’t want to reinstall XP from scratch. Any other tricks? Hope you can help. Do have a laptop with XP pro on it and that has the icon.

    Reply

Leave a reply:

Before commenting please:

  • Read the article.
  • Comment on the article.
  • No personal information.
  • No spam.

Comments violating those rules will be removed. Comments that don't add value will be removed, including off-topic or content-free comments, or comments that look even a little bit like spam. All comments containing links and certain keywords will be moderated before publication.

I want comments to be valuable for everyone, including those who come later and take the time to read.