Showing posts with label Windows Registry. Show all posts
Showing posts with label Windows Registry. Show all posts

Tuesday, November 27, 2007

Customize Windows Start Run Menu Entries - App Paths

I am a huge fan of keyboard shortcuts and am constantly trying to learn new ones. One of the ones I use most often is Start+R which opens the Run menu where I can enter many different things. Here are a few examples:
  • devenv - Visual Studio
  • inetcpl.cpl - Internet Explorer Options
  • mstsc - Remote Desktop
  • inetmgr - IIS
  • notepad - Notepad
  • regedit - Windows Registry

However, sometimes I want to customize my own entries with things like Paint.NET, Visual Source Safe, or Notepad++. Fortunately, I can do this using the Windows Registry. As always when you are working with Windows Registry, you want to make sure to create a backup before you make any changes. See the Microsoft Knowledge Base article below for more details. As far as adding custom Run entries, here are the steps:

  1. Open the Windows Registry.
  2. Create a backup. (See below for details)
  3. Open the following registry key - HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths
  4. Create a new key with the name of the shortcut you'd like to use. (For example, "VSS.exe")
  5. Double-click on the (Default) string that is created and enter the path to the application executable that you are adding the shortcut for. (For example, "C:\Program Files\Microsoft Visual SourceSafe\ssexp.exe")
  6. Close the registry. You will now be able to access the shortcut.

    How to back up and restore the registry in Windows XP and Windows Vista

Friday, July 27, 2007

Speed Up Windows Start Menu

Did you know that you can speed up your Window's Start Menu? It is pretty hard to comprehend, but someone at Microsoft actually thought it would be a good idea to slow down the menus. For those of you would prefer faster menus, do the following:

  1. Open the Start Menu, type regedit, and click OK.
  2. Navigate to HKEY_CURRENT_USER\Control Panel\Desktop and look for MenuShowDelay value. If it is not there you can create a string value with that name.
  3. By default it is 400, but you can speed it up exponentially by changing it to 0.
  4. Once you are done, close the registry. You may have to restart your computer to see a change.

Thursday, July 26, 2007

Break Corporate Policy And (gasp!) Allow Windows Update

I have a very serious confession to make. Sometimes I break corporate security policies in order update my computer. You got to love those corporate security guys and I really think they mean well, but this is one of those things I just can't go along with. Basically, a windows server administrator has the ability to enforce a group policy that prevents users from updating their computers.

This is probably fine for Joe corporate user who may unwittingly download an update that ends up wreaking havoc on his computer. However, as a developer I often need to update my computer so that I can have access to various patches and hot fixes that allow me to (gulp) improve my productivity.

Anyhow, I'm not encouraging anyone to knowingly break their company's security policy. BUT, if you must, here are the steps.
  1. Open the registry by opening Start - Run, type regedit, and click OK.
  2. Navigate to the following registry key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
  3. If it doesn't exist already, create a new registry DWORD value called NoWindowsUpdate.
  4. Double click on this value and make sure the value is 0.
  5. Now you can go to Windows Update!

For more information, see Microsoft Support article:

You receive one or more error messages when the system administrator disables Windows Update or Microsoft Update

I especially like this part of the article:

"For corporate users who are connected to a corporate network
To resolve this issue, contact the local system administrator to determine whether Windows Update access is disabled by Group Policy settings."