Posts Tagged ‘scripts’

Create System Restore Points Quickly Using Script in Windows 7 Vista and XP

You can create System Restore Points quickly by scripting it using WMI. Here is a script that helps you create a System Restore point in a single click in Windows 7, Windows Vista and Windows XP. (more…)

Add “Copy as Path” Option to the Context Menu in Windows XP

Windows Vista already includes the useful Copy as Path option in the context menu, which helps you quickly copy the complete path of the selected file or folder to the Clipboard. Earlier, we added the Add to Quick Launch and Open file location options to the context menu in Windows XP, as in Windows Vista. Here is how to add the Copy as Path functionality in Windows XP via the context menu. (more…)

Add “Open File Location” To the Context Menu for Shortcuts in Windows XP

Windows Vista comes with the Open file location context menu item for shortcuts, which help you quickly open the target folder of a shortcut. In Windows XP, it takes four mouse clicks to accomplish the task. To open the target folder of a shortcut in Windows XP, you need to right-click on the shortcut file, click Properties and click the Find Target button to open the parent folder of the target file or folder. And an additional mouse click is needed to close the Shortcut Properties dialog. (more…)

“Copy Target URL” Context Menu Option for Internet Shortcut (.Url) Files

The Copy as Path shell command that’s built into Windows Vista inspired me to write a script that copies the target hyperlink of an .URL file when passed as a parameter. After following the steps in this article, you’ll see a Copy Target URL context menu option when you right-click on an Internet Shortcut (.URL) file. Clicking this option copies the hyperlink of the file to the Windows 7/Vista Clipboard. (more…)

Clear Recent Documents History in a Single Click in Windows XP, Windows Vista and Windows 7

Did you notice that in Windows XP it takes exactly half a dozen mouse clicks to clear the Recent Documents history in the new Start menu. This is the option that I’m talking about:

(more…)

List Running Processes and Their Creation Times

Q: I want to track the startup times of each running process, but Task Manager does not list the creation date/time of processes. Is there a way to list processes running in the system with their creation time?

This is possible. Here a some options that I can think of:

OPTION 1: USING PROCESS EXPLORER

(more…)

Unspecified Error When Adding a Link to Favorites in Windows Vista and Windows 7

After reading the post Folder Redirection for Favorites on the Same Machine at the IE Team blog, I relocated my Favorites folder to a different drive. After the relocation, when I tried to add a URL to Favorites, I received the following error: (more…)

How to Clear Customize Notifications (System Tray) Icons in Windows 7/Vista and XP

This article describes how to clear the past and current items list in the Customize Notifications window in Windows 7, Windows Vista and Windows XP. Also, at the end of the article we provide a VBScript to automate the task.


Fig 1: Customize Notifications Dialog

To clear the Customize Notifications items list manually, follow the steps below:

1. Click Start, type regedit.exe and press {Enter}

2. Navigate to the following branch:

[Windows XP]

HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ TrayNotify

[Windows 7 & Windows Vista]

HKEY_CURRENT_USER \ Software \ Classes \ Local Settings \ Software \ Microsoft \ Windows \ CurrentVersion \ TrayNotify

3. Delete the two values namely IconStreams and PastIconsStream

4. Exit the Registry Editor

5. Terminate Windows Explorer / Shell cleanly. [Instructions for Windows XP / Windows Vista, Windows 7]


Fig 2: Customize Notifications items cleared. Currently running programs regenerate their entries.

Script to Automate

Here is a VBScript (runs in Windows XP/Vista/7) that can automate the above task for you. Download clear-notification-items.zip, unzip and run clear-notification-items.vbs file. It clears Customize Notifications items and restarts Explorer shell automatically.