Prevent Regedit from Saving/Showing the Last Location.
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.
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
Tweak Library Terms
- back to top- Application Paths
- Authentication
- Auto Play
- Browser
- Console
- Control Panel
- CPU
- Desktop
- Display
- Error Reporting
- Explorer
- File System
- Files and Folders
- Firewall
- Fonts and Icons
- General Info
- Group Policies
- Hardware
- Input/Output Devices
- Installations
- Internet Explorer
- Memory Settings
- Messenger
- Microsoft Office
- Networks Cards
- Network Internet Connections
- Other Programs
- Outlook and Outlook Express
- Performance Settings
- Product Updates
- Scheduler
- Search
- Security
- Services
- Sound and Video Controllers
- Start Menu
- Startup and Shutdown
- Storage Devices
- System
- System Restore
- System Settings
- Taskbar
- User Interface
- Windows Applications
- Windows Firewall
- Windows Media Player
- Winzip
