Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Regedit,every time I use regedit...

1 view
Skip to first unread message

Ns_Andy

unread,
Mar 9, 2002, 2:21:17 AM3/9/02
to
every time I use regedit,it automatically go to the key that I visited last time,

How to solve it?


Dave Patrick

unread,
Mar 9, 2002, 9:06:43 AM3/9/02
to
Method (A)

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]

0 new messages