General discussion

  • Creator
    Topic
  • #2343221

    Registry opens to last key

    Locked

    by geo926 ·

    How can I keep regedit from opening to the last key I was viewing?

All Comments

  • Author
    Replies
    • #3708323

      Registry opens to last key

      by thoreau ·

      In reply to Registry opens to last key

      The Windows 2000 and ME version of regedit includes a new feature to remember the last key that was accessed before the program was closed. This script stops regedit from remembering the last key and instead opens regedit at the top “My Computer” folder.

      Create a shortcut on your desktop to this script and double-click on it to launch regedit without the last key memory.

      To copy the script either use the download link above or cut and paste the following code into a text document and name it regedit.vbs

      ‘ Begin code for regedit.vbs

      Dim WSHShell
      Set WSHShell=Wscript.CreateObject(“Wscript.Shell”)
      WSHShell.RegDelete “HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey”
      WSHShell.Run “REGEDIT”

      ‘ End code

    • #3708305

      Registry opens to last key

      by Anonymous ·

      In reply to Registry opens to last key

      Use regedit and drill down to

      HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit

      Double-click the LastKey value name in the right hand pane and clear the string. Press OK.

    • #3709288

      Registry opens to last key

      by schitzoid ·

      In reply to Registry opens to last key

      Both previous posts will only work untill the next time you use regedit. For a permanent fix, use regedt32, go to the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVers ion\Applets\Regedit key, clear the LastKey value, then security>permissions from the file menu.
      MS Knowledge Base article : http://support.microsoft.com/support/kb/articles/Q244/0/04.ASP
      windows 2000 magazine article : http://www.win2000mag.com/Articles/Index.cfm?ArticleID=16215

    • #3707709

      Registry opens to last key

      by geo926 ·

      In reply to Registry opens to last key

      This question was closed by the author

Viewing 3 reply threads