Add Select All option to the context menu in Windows Vista

To select all files in a folder or in the Desktop, you use the CTRL + A keyboard shortcut. If you’re an avid mouse user, and need the select all functionality in the right click menu in Windows Vista, use this tweak. Note that this tweak does not work in Windows XP.

Adding Select All option to the context menu

1. Download and save it to the Desktop.

2. Unzip the archive and extract the contents to a folder.

3. Move the file selectall.vbs to the C:\Windows directory.

4. Double-click selectall.reg to add the Select All context menu option.

The Select All option is added to the right-click menu. This menu option will be seen when you right-click on the Desktop and when right-clicking on an empty area in a folder.

Undo Information

To remove the Select All option from the right-click menu, run the file undo.reg. Then delete the file selectall.vbs manually from the Windows directory.

More Information

The selectall.vbs powers the Select All option in the context menu. The script uses Windows Scripting Host (WSH) SendKeys method to send the keystroke CTRL + A for selecting all items in a folder. Here are the contents of the file selectall.vbs.

set oShell = WScript.CreateObject("WScript.Shell")
oShell.SendKeys "^a"

About the author

Ramesh Srinivasan founded back in 2005. He is passionate about Microsoft technologies and has a vast experience in the ITeS industry — delivering support for Microsoft's consumer products. He has been a Microsoft MVP [2003 to 2012] who contributes to various Windows support forums.

2 thoughts on “Add Select All option to the context menu in Windows Vista

  1. This works, but whenever I use select all now, my Logitech Setpoint program sends a splash screen message that says “Num Lock On.” Any idea how to fix this bug?

  2. Works also in XP!

    Windows Registry Editor Version 5.00

    @=”Select All”



    “command”=”Select All”

    Windows Registry Editor Version 5.00

    [HKEY_CLASSES_ROOT\Directory\Background\shellex\ContextMenuHandlers\select all]

Comments are closed.