How to solve it?
1. Start Regedt32.exe.
2. Locate the following registry key:
HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit
3. Double-click the LastKey value, clear the entry in the String box, and then click OK.
4. Click the Regedit key, and then click Permissions on the Security menu.
5. Remove Full Control access for any user who does not want Regedit to display the last key the
user accessed in the previous Regedit session, and then click OK.
(note that if permissions cannot be removed, they may need to be denied.)
6. Quit Regedt32.exe.
Method (B)
(which is what I use)
Create a file named "collapse.reg"
-------Begin File---------
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit]
"LastKey"=""
--------End File----------
Create a shell script on the desktop called "Collapse.cmd"
-------Begin File---------
regedit /s J:\collapse.reg
start "" "%windir%\regedit.exe"
--------End File----------
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/ 2000]