Create a Shortcut to Delete Recent Items in Windows Vista (or XP’s) Start Menu

Have you ever tried going through all of the menus required to delete the Recent Items in the XP Start Menu? It takes forever, especially when you want to hide whatever you shouldn’t have been doing. As usual, there’s a simpler way to do it.

[Update] A number of readers have pointed out that in Vista you can just right-click the recent items and choose “Clear Recent Items List”. XP is the only one with a bunch of menus to go through. Either way this should work the same across both versions.

You can either manually open the shell folder and clear out the items, or you can use the script I’ve provided which will actually give you a shortcut that deletes the recent items with nothing more than a double-click.

Just to be very clear, this is the list of items that we’ll be clearing out:

create-a-shortcut-to-delete-recent-items-in-windows-vista-or-xp-and-8217;s-start-menu photo 1 

Note: This will not actually delete those files, it will just delete the shortcuts to the files that are stored in the recent folder.

Where Is the Recent Folder so I Can Delete Them Manually?

Like many folders in Windows, this one is hidden away underneath your profile folder. The full path on Windows Vista would be this, substituting your username into the path:

C:\Users\\AppData\Roaming\Microsoft\Windows\Recent\

If you are using the command line, you can use the %APPDATA% environment variable to figure out the path without needing to know the username (This also works in Explorer as well)

%APPDATA%\Microsoft\Windows\Recent\

Or the easiest possible way is to just type in this shell shortcut into the address bar or start menu search box:

shell:recent

create-a-shortcut-to-delete-recent-items-in-windows-vista-or-xp-and-8217;s-start-menu photo 2

You can remove any items from this folder, or even delete all the items. You’ll see them disappear from the Recent menu immediately. Again, these are just shortcuts to the actual file, as you can see with the Type column above.

Clear Out the Recent Items With a Shortcut

With a little bit of Windows Script Host magic, we can make a script that deletes the items in the recent folder… it only takes 4 lines of code!

Create a new file named DeleteRecentItems.js with Notepad, and then paste in the following lines (Or just download the zipped file linked below)

var fso = WScript.CreateObject(“Scripting.FileSystemObject”);
var WSH = new ActiveXObject(“WScript.Shell”);
var folder = WSH.SpecialFolders(“Recent”);
fso.DeleteFile(folder + “\\*.*”);

Once you save the file, you should now have a new icon that can be double-clicked to clear the recent items.

create-a-shortcut-to-delete-recent-items-in-windows-vista-or-xp-and-8217;s-start-menu photo 3

If you want to assign a new icon or add a shortcut key, you’ll need to create a shortcut to the file. I’d recommend putting the script file into a folder somewhere, and then creating a shortcut to it in your Quick Launch or Desktop folder.

Once you have the shortcut created, you can right-click on it and choose Properties, and then click on Change Icon or add in a Shortcut key if you would like.

create-a-shortcut-to-delete-recent-items-in-windows-vista-or-xp-and-8217;s-start-menu photo 4

Disclaimer: I tested this out on Windows Vista, but since this deletes files… use at your own risk and I’m not responsible, etc =)

Download DeleteRecentItems Script (Zipped)

Article Create a Shortcut to Delete Recent Items in Windows Vista (or XP’s) Start Menu compiled by Original article here

More stories

Fix for Windows Explorer Folder Pane in XP Becomes Grayed Out

A reader wrote in this week asking why his folder pane in Windows XP wasn’t working… it didn’t display anything other than a gray background with nothing else. This is actually a common problem that I’ve personally experienced before, which I luckily knew the solution to.

Increase the FileSystem Memory Cache Size in Vista

I’ve always wondered why Windows doesn’t allow you to set an arbitrary size for the filesystem cache. What if you have a slow hard drive in your laptop, but loads of available system memory? Shouldn’t you be able to maximize that memory in order to speed up hard drive access?

GOM Media Player

As many of you know, after my iTunes rant, I have been trying out all sorts of new media players.  I guess I still have not found an “ultimate player” that I am completely satisfied with yet.  Each player seems to have its positive and negative points for me.  The trusty standby has been VLC

Remove User Accounts from the Login Screen in Windows XP

So you login to your computer every single day, but there’s more than one account to choose from… either because you got the computer from somebody else, or some software package added a user account that you really don’t want to see. So how do we hide that other account from the login screen?

The Best Android VPN Apps of 2016

Using the Internet on your Android phone isn't as secure or private as you might hope. Fortunately, you can protect your mobile communications with one of these secure virtual private network (or VPN) apps.