Skip navigation

JSI Tip 4081. How can I get Regedit to remember my frequently uses registry paths?


Regedit has a Favorites function that will store your frequently used registry paths.

If you search on Favorites in Regedit Help:

"To add a registry key to Favorites

Select the registry key you want to add to Favorites. 
On the Favorites menu, click Add to Favorites. 
In the Add to Favorites dialog box, accept the default registry key name or type a new one. 
The registry key is added to the Favorites list. You can then return to this list by simply selecting it from the Favorites menu.

 Notes

You can create a list of favorite/frequently visited registry keys. 
To remove a registry key from the Favorites list, on the Favorites menu, click Remove Favorite,
and you can select one or more registry keys to remove from the Favorites list."
NOTE: If you implemented tip 2358, you must grant yourself write permission to save an item on the Favorites menu.

An alternate method of implementing tip 2358, that will allow you to save Favorites is:

1. Create a shortcut to a batch file that contains commands similar to:

    @echo off
    Regedit.exe /s C:\util\RegeditS.Reg
    start regedit.exe
    exit.
2. Set the Icon of this shortcut to Regedit.exe.

3. Set the shortcut to run minimized.

4. Create the C:\util\RegeditS.Reg file to contain:

    Windows Registry Editor Version 5.00

    \[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\]
    "LastKey"=""
NOTE: If you use REG.EXE, built into Windows XP and Windows Server 2003, or from the Windows 2000 Support Tools, your batch file could contain the following, and no RegeditS.Reg is required:
@echo off
setlocal
set regedt=HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit
reg.exe ADD %regedt% /v LastKey /d "" /f>nul 2>&1
if NOT %ERRORLEVEL% EQU 0 @echo %regedt% NOT found.
start regedit.exe
endlocal



Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish