Prevent Regedit from Saving/Showing the Last Location.

Click here to run a free scan for registry errors
This tweak is use to stop Regedit from remembering previous location.
Level: Recommended For Experts Only
Description:
When you start regedit.exe, it displays the last key you accessed the last time you ran regedit, by default. By using this tweak you are able to stop regedit from remembering previous location. For this, go to start > run menu, enter "regedt32.exe" (not "regedit") and navigate to the registry path listed below. You can create a reg_sz (string value) value "lastkey", if this value does not exist. Now, click permissions on the edit menu. Remove full control access for any user who does not want regedit to display the last key the user accessed in the previous session, and then click ok. (note that if permissions cannot be removed, they may need to be denied.) in the end quit regedit32.exe When editing the registry it is highly recommended to run a quick scan for optimization, you can test your system now for free.




Screenshots


First, click the 'Start' button, and select 'Run'. In the resulting dialog box, type "regedit".
Second, go to the <b>[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\]</b> key, and check for the existance of the "LastKey".
Third, go to the "Edit" menu and click on the "Permissions" option. Apply the restrictions to the registry value by checking the 'Deny' checkbox and click on 'OK'.
Finally, after applying the restrictions the values won't be visible as shown below.


Registry Entries

- back to top

  • Path: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\]
  • Location: Current User
  • Value Name: LastKey
  • Data Type: REG_SZ (String Value)
  • Action Type: Modified