Skip navigation

How can I prevent regedit from remembering the last registry key location I accessed under Windows XP?

A. In a previous FAQ, I explained how to write a script to automatically reset the last key location every time you log on to the OS. Another option for clearing the last registry key accessed is to use registry permissions to disable Write access to the key. To do so, perform the following steps:

  1. Start the registry editor.
  2. Navigate to the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit registry subkey.
  3. Select LastKey.
  4. If you're working in XP, open the Edit menu and select Permissions; if you're working in Win2K, open the Security menu and select Permissions.
  5. Remove Full Control access and grant Read-only access.
  6. Click OK.

You'll need to repeat this process for all users who don't want regedit to remember the last key location they accessed.

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