Sign in with
Sign up | Sign in
Your question

Regedit last key

Last response: in Windows XP
Share
Anonymous
June 12, 2005 12:35:15 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

I have searched almost 40,000 headers for anything on this and found
nothing. What I want to know is what change to make in the registry, to stop
it from remembering the last key opened, thus resulting in the hive being
completely collapsed each time I open it.

--

Steven Shelton

There are two secrets to success in life
1) Never tell anybody everything you know

More about : regedit key

Anonymous
June 12, 2005 12:42:12 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

I know this is not the answer you are looking for, but I just click on My
Computer so that none of it's collapsed, then I close it.

" Wonderer" <mynewsgrps@hotmail.com> wrote in message
news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
>I have searched almost 40,000 headers for anything on this and found
>nothing. What I want to know is what change to make in the registry, to
>stop it from remembering the last key opened, thus resulting in the hive
>being completely collapsed each time I open it.
>
> --
>
> Steven Shelton
>
> There are two secrets to success in life
> 1) Never tell anybody everything you know
>
Anonymous
June 12, 2005 12:49:32 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Bypasses Regedit's "memory" of the last key visited
http://www.dougknox.com/xp/scripts_desc/regopen.htm

--
Carey Frisch
Microsoft MVP
Windows XP - Shell/User
Microsoft Newsgroups

Get Windows XP Service Pack 2 with Advanced Security Technologies:
http://www.microsoft.com/athome/security/protect/window...

-------------------------------------------------------------------------------------------

"Wonderer" wrote:

| I have searched almost 40,000 headers for anything on this and found
| nothing. What I want to know is what change to make in the registry, to stop
| it from remembering the last key opened, thus resulting in the hive being
| completely collapsed each time I open it.
|
| --
|
| Steven Shelton
Related resources
Anonymous
June 12, 2005 6:47:01 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Why don't you just select the top of the registry then close it? I use what
you want to stop so that I can get back easily to the location when I need
to.

--
George Hester
_______________________________
" Wonderer" <mynewsgrps@hotmail.com> wrote in message
news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
> I have searched almost 40,000 headers for anything on this and found
> nothing. What I want to know is what change to make in the registry, to
stop
> it from remembering the last key opened, thus resulting in the hive being
> completely collapsed each time I open it.
>
> --
>
> Steven Shelton
>
> There are two secrets to success in life
> 1) Never tell anybody everything you know
>
>
Anonymous
June 12, 2005 8:05:38 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

I do not go messing around in the registry all that much. When I do, I want
to do a search starting from the top and if it opens to some key near the
bottom, that is where it starts its search. I prefer the convenience of
starting out fresh everytime, just like it used to be in older versions. I
seem to recall that there is a key, somewhere, that you can give a 0 value
and it will cause regedit to always open collapsed. That is what I want.

--

Steven Shelton

There are two secrets to success in life
1) Never tell anybody everything you know
"George Hester" <hesterloli@hotmail.com> wrote in message
news:%23Lb2Y83bFHA.2212@TK2MSFTNGP14.phx.gbl...
> Why don't you just select the top of the registry then close it? I use
> what
> you want to stop so that I can get back easily to the location when I need
> to.
>
> --
> George Hester
> _______________________________
> " Wonderer" <mynewsgrps@hotmail.com> wrote in message
> news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
>> I have searched almost 40,000 headers for anything on this and found
>> nothing. What I want to know is what change to make in the registry, to
> stop
>> it from remembering the last key opened, thus resulting in the hive being
>> completely collapsed each time I open it.
>>
>> --
>>
>> Steven Shelton
>>
>> There are two secrets to success in life
>> 1) Never tell anybody everything you know
>>
>>
>
June 12, 2005 9:24:55 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Regedit itself stores the information in the registry when it closes
normally at

HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey

and retrieves it when it starts.

So the only alternative to the scripting solution, suggested previously,
would be to terminate regedit in some abnormal way, eg through task manager,
or some other method.

Jon


" Wonderer" <mynewsgrps@hotmail.com> wrote in message
news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
> I have searched almost 40,000 headers for anything on this and found
> nothing. What I want to know is what change to make in the registry, to
stop
> it from remembering the last key opened, thus resulting in the hive being
> completely collapsed each time I open it.
>
> --
>
> Steven Shelton
>
> There are two secrets to success in life
> 1) Never tell anybody everything you know
>
>
June 12, 2005 9:32:11 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Actually you might be able to play around with the permissions on that
particular registry key eg removing administrator access, (right-click the
key in regedit) but I haven't tried that one to know whether it would work
ok. So a system restore point would be advisable before attempting
something like that.

Jon


"Jon" <Email_Address@SomewhereOrOther.com> wrote in message
news:#RqFHt2bFHA.3844@tk2msftngp13.phx.gbl...
> Regedit itself stores the information in the registry when it closes
> normally at
>
> HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey
>
> and retrieves it when it starts.
>
> So the only alternative to the scripting solution, suggested previously,
> would be to terminate regedit in some abnormal way, eg through task
manager,
> or some other method.
>
> Jon
>
>
> " Wonderer" <mynewsgrps@hotmail.com> wrote in message
> news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
> > I have searched almost 40,000 headers for anything on this and found
> > nothing. What I want to know is what change to make in the registry, to
> stop
> > it from remembering the last key opened, thus resulting in the hive
being
> > completely collapsed each time I open it.
> >
> > --
> >
> > Steven Shelton
> >
> > There are two secrets to success in life
> > 1) Never tell anybody everything you know
> >
> >
>
>
Anonymous
June 12, 2005 9:32:12 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Why screw around?

I use Doug Knox's regopen.vbs to open the Registry Editor unless I want to
open it where I left off. In that case I use regedit.exe.

http://www.dougknox.com/xp/scripts_desc/regopen.htm


--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:exV2Kx2bFHA.2736@TK2MSFTNGP12.phx.gbl,
Jon <Email_Address@SomewhereOrOther.com> hunted and pecked:
> Actually you might be able to play around with the permissions on that
> particular registry key eg removing administrator access, (right-click the
> key in regedit) but I haven't tried that one to know whether it would
> work ok. So a system restore point would be advisable before attempting
> something like that.
>
> Jon
>
>
> "Jon" <Email_Address@SomewhereOrOther.com> wrote in message
> news:#RqFHt2bFHA.3844@tk2msftngp13.phx.gbl...
>> Regedit itself stores the information in the registry when it closes
>> normally at
>>
>> HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey
>>
>> and retrieves it when it starts.
>>
>> So the only alternative to the scripting solution, suggested previously,
>> would be to terminate regedit in some abnormal way, eg through task
>> manager, or some other method.
>>
>> Jon
>>
>>
>> " Wonderer" <mynewsgrps@hotmail.com> wrote in message
>> news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
>>> I have searched almost 40,000 headers for anything on this and found
>>> nothing. What I want to know is what change to make in the registry, to
>>> stop it from remembering the last key opened, thus resulting in the
>>> hive being completely collapsed each time I open it.
>>>
>>> --
>>>
>>> Steven Shelton
>>>
>>> There are two secrets to success in life
>>> 1) Never tell anybody everything you know
Anonymous
June 12, 2005 10:06:01 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

That's true. And there is a setting for it shouldn't be too hard to find.
I don't have it because although I thought of doing that at one time I
realized how I could use the behavior in my favor. Often what happens is
I'll make a change in the registry then move on to other things. For days
even. Then something comes up and I realize I have to go back to that
location. I have clean forgot where it was. This issue saves my butt.

--
George Hester
_______________________________
" Wonderer" <mynewsgrps@hotmail.com> wrote in message
news:o ZNt6J5bFHA.2520@TK2MSFTNGP09.phx.gbl...
> I do not go messing around in the registry all that much. When I do, I
want
> to do a search starting from the top and if it opens to some key near the
> bottom, that is where it starts its search. I prefer the convenience of
> starting out fresh everytime, just like it used to be in older versions. I
> seem to recall that there is a key, somewhere, that you can give a 0 value
> and it will cause regedit to always open collapsed. That is what I want.
>
> --
>
> Steven Shelton
>
> There are two secrets to success in life
> 1) Never tell anybody everything you know
> "George Hester" <hesterloli@hotmail.com> wrote in message
> news:%23Lb2Y83bFHA.2212@TK2MSFTNGP14.phx.gbl...
> > Why don't you just select the top of the registry then close it? I use
> > what
> > you want to stop so that I can get back easily to the location when I
need
> > to.
> >
> > --
> > George Hester
> > _______________________________
> > " Wonderer" <mynewsgrps@hotmail.com> wrote in message
> > news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
> >> I have searched almost 40,000 headers for anything on this and found
> >> nothing. What I want to know is what change to make in the registry, to
> > stop
> >> it from remembering the last key opened, thus resulting in the hive
being
> >> completely collapsed each time I open it.
> >>
> >> --
> >>
> >> Steven Shelton
> >>
> >> There are two secrets to success in life
> >> 1) Never tell anybody everything you know
> >>
> >>
> >
>
>
June 12, 2005 10:18:34 PM

Archived from groups: microsoft.public.windowsxp.general (More info?)

It's not screwing around. Once done, it would be done permanently and would
allow you to use regedit in the normal way. In fact a similar solution seems
to be suggested here

http://www.winguides.com/registry/display.php/1200/

Jon



"Wesley Vogel" <123WVogel955@comcast.net> wrote in message
news:%23wrKxD3bFHA.1148@tk2msftngp13.phx.gbl...
> Why screw around?
>
> I use Doug Knox's regopen.vbs to open the Registry Editor unless I want to
> open it where I left off. In that case I use regedit.exe.
>
> http://www.dougknox.com/xp/scripts_desc/regopen.htm
>
>
> --
> Hope this helps. Let us know.
>
> Wes
> MS-MVP Windows Shell/User
>
> In news:exV2Kx2bFHA.2736@TK2MSFTNGP12.phx.gbl,
> Jon <Email_Address@SomewhereOrOther.com> hunted and pecked:
>> Actually you might be able to play around with the permissions on that
>> particular registry key eg removing administrator access, (right-click
>> the
>> key in regedit) but I haven't tried that one to know whether it would
>> work ok. So a system restore point would be advisable before attempting
>> something like that.
>>
>> Jon
>>
>>
>> "Jon" <Email_Address@SomewhereOrOther.com> wrote in message
>> news:#RqFHt2bFHA.3844@tk2msftngp13.phx.gbl...
>>> Regedit itself stores the information in the registry when it closes
>>> normally at
>>>
>>> HKCU\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit\LastKey
>>>
>>> and retrieves it when it starts.
>>>
>>> So the only alternative to the scripting solution, suggested previously,
>>> would be to terminate regedit in some abnormal way, eg through task
>>> manager, or some other method.
>>>
>>> Jon
>>>
>>>
>>> " Wonderer" <mynewsgrps@hotmail.com> wrote in message
>>> news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
>>>> I have searched almost 40,000 headers for anything on this and found
>>>> nothing. What I want to know is what change to make in the registry, to
>>>> stop it from remembering the last key opened, thus resulting in the
>>>> hive being completely collapsed each time I open it.
>>>>
>>>> --
>>>>
>>>> Steven Shelton
>>>>
>>>> There are two secrets to success in life
>>>> 1) Never tell anybody everything you know
>
Anonymous
June 13, 2005 1:04:40 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

Well, if you happen to recall where to make that change, I would sure like
to know.

--

Steven Shelton

There are two secrets to success in life
1) Never tell anybody everything you know
"George Hester" <hesterloli@hotmail.com> wrote in message
news:utxOmr5bFHA.1200@TK2MSFTNGP10.phx.gbl...
> That's true. And there is a setting for it shouldn't be too hard to find.
> I don't have it because although I thought of doing that at one time I
> realized how I could use the behavior in my favor. Often what happens is
> I'll make a change in the registry then move on to other things. For days
> even. Then something comes up and I realize I have to go back to that
> location. I have clean forgot where it was. This issue saves my butt.
>
> --
> George Hester
> _______________________________
> " Wonderer" <mynewsgrps@hotmail.com> wrote in message
> news:o ZNt6J5bFHA.2520@TK2MSFTNGP09.phx.gbl...
>> I do not go messing around in the registry all that much. When I do, I
> want
>> to do a search starting from the top and if it opens to some key near the
>> bottom, that is where it starts its search. I prefer the convenience of
>> starting out fresh everytime, just like it used to be in older versions.
>> I
>> seem to recall that there is a key, somewhere, that you can give a 0
>> value
>> and it will cause regedit to always open collapsed. That is what I want.
>>
>> --
>>
>> Steven Shelton
>>
>> There are two secrets to success in life
>> 1) Never tell anybody everything you know
>> "George Hester" <hesterloli@hotmail.com> wrote in message
>> news:%23Lb2Y83bFHA.2212@TK2MSFTNGP14.phx.gbl...
>> > Why don't you just select the top of the registry then close it? I use
>> > what
>> > you want to stop so that I can get back easily to the location when I
> need
>> > to.
>> >
>> > --
>> > George Hester
>> > _______________________________
>> > " Wonderer" <mynewsgrps@hotmail.com> wrote in message
>> > news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
>> >> I have searched almost 40,000 headers for anything on this and found
>> >> nothing. What I want to know is what change to make in the registry,
>> >> to
>> > stop
>> >> it from remembering the last key opened, thus resulting in the hive
> being
>> >> completely collapsed each time I open it.
>> >>
>> >> --
>> >>
>> >> Steven Shelton
>> >>
>> >> There are two secrets to success in life
>> >> 1) Never tell anybody everything you know
>> >>
>> >>
>> >
>>
>>
>
Anonymous
June 14, 2005 1:14:50 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

http://support.microsoft.com/default.aspx?scid=kb;en-us;266765

You should be able to keep it forever at My Computer. One way is to remove
the permissions on the key. That may cause an error when closing regedit
maybe not. Another way is to make sure you close regedit at the My
Computer. Then go back to this location in the registry (explained in the
article) and Export the key to a reg file. Then whenever you want to open
regedit run the reg file first. I suppose to you could write a script that
does this with the Windows Scripting Host. Note even though the article
mentions Windows ME that is irelevant to what we are trying to accomplish.
Basically it's the same thing.

I will try removing the permissions and see what happens...yes that works.
To renable the permissions you just allow the Parent to propagate which you
had to undo to change the permissions. Done in regedt32.

--
George Hester
_______________________________
" Wonderer" <mynewsgrps@hotmail.com> wrote in message
news:o WnxBx7bFHA.3032@TK2MSFTNGP10.phx.gbl...
> Well, if you happen to recall where to make that change, I would sure like
> to know.
>
> --
>
> Steven Shelton
>
> There are two secrets to success in life
> 1) Never tell anybody everything you know
> "George Hester" <hesterloli@hotmail.com> wrote in message
> news:utxOmr5bFHA.1200@TK2MSFTNGP10.phx.gbl...
> > That's true. And there is a setting for it shouldn't be too hard to
find.
> > I don't have it because although I thought of doing that at one time I
> > realized how I could use the behavior in my favor. Often what happens
is
> > I'll make a change in the registry then move on to other things. For
days
> > even. Then something comes up and I realize I have to go back to that
> > location. I have clean forgot where it was. This issue saves my butt.
> >
> > --
> > George Hester
> > _______________________________
> > " Wonderer" <mynewsgrps@hotmail.com> wrote in message
> > news:o ZNt6J5bFHA.2520@TK2MSFTNGP09.phx.gbl...
> >> I do not go messing around in the registry all that much. When I do, I
> > want
> >> to do a search starting from the top and if it opens to some key near
the
> >> bottom, that is where it starts its search. I prefer the convenience of
> >> starting out fresh everytime, just like it used to be in older
versions.
> >> I
> >> seem to recall that there is a key, somewhere, that you can give a 0
> >> value
> >> and it will cause regedit to always open collapsed. That is what I
want.
> >>
> >> --
> >>
> >> Steven Shelton
> >>
> >> There are two secrets to success in life
> >> 1) Never tell anybody everything you know
> >> "George Hester" <hesterloli@hotmail.com> wrote in message
> >> news:%23Lb2Y83bFHA.2212@TK2MSFTNGP14.phx.gbl...
> >> > Why don't you just select the top of the registry then close it? I
use
> >> > what
> >> > you want to stop so that I can get back easily to the location when I
> > need
> >> > to.
> >> >
> >> > --
> >> > George Hester
> >> > _______________________________
> >> > " Wonderer" <mynewsgrps@hotmail.com> wrote in message
> >> > news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
> >> >> I have searched almost 40,000 headers for anything on this and found
> >> >> nothing. What I want to know is what change to make in the registry,
> >> >> to
> >> > stop
> >> >> it from remembering the last key opened, thus resulting in the hive
> > being
> >> >> completely collapsed each time I open it.
> >> >>
> >> >> --
> >> >>
> >> >> Steven Shelton
> >> >>
> >> >> There are two secrets to success in life
> >> >> 1) Never tell anybody everything you know
> >> >>
> >> >>
> >> >
> >>
> >>
> >
>
>
Anonymous
June 14, 2005 1:28:34 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

" Wonderer" <mynewsgrps@hotmail.com> wrote in message
news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
>I have searched almost 40,000 headers for anything on this and found
>nothing. What I want to know is what change to make in the registry, to
>stop it from remembering the last key opened, thus resulting in the hive
>being completely collapsed each time I open it.
>
> --
>
> Steven Shelton
>
> There are two secrets to success in life
> 1) Never tell anybody everything you know

Here's the work around I use to expand/ collapse the, registry tree
hold down the shift key and tap the left arrow key to collapse the
tree, right arrow key to expand it .

rgds
Li'l Roberto
Anonymous
June 14, 2005 9:35:46 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

When I opened regedit and navigated to that specific key, it had "my
computer as its value. I have tried editing that before and it just changed
it to whatever the last key I used was. If you changed it in xp and it is
now working permanently, what value did you put there?

--

Steven Shelton

There are two secrets to success in life
1) Never tell anybody everything you know
"George Hester" <hesterloli@hotmail.com> wrote in message
news:erOQx5HcFHA.3808@TK2MSFTNGP14.phx.gbl...
> http://support.microsoft.com/default.aspx?scid=kb;en-us;266765
>
> You should be able to keep it forever at My Computer. One way is to
> remove
> the permissions on the key. That may cause an error when closing regedit
> maybe not. Another way is to make sure you close regedit at the My
> Computer. Then go back to this location in the registry (explained in the
> article) and Export the key to a reg file. Then whenever you want to open
> regedit run the reg file first. I suppose to you could write a script
> that
> does this with the Windows Scripting Host. Note even though the article
> mentions Windows ME that is irelevant to what we are trying to accomplish.
> Basically it's the same thing.
>
> I will try removing the permissions and see what happens...yes that works.
> To renable the permissions you just allow the Parent to propagate which
> you
> had to undo to change the permissions. Done in regedt32.
>
> --
> George Hester
> _______________________________
> " Wonderer" <mynewsgrps@hotmail.com> wrote in message
> news:o WnxBx7bFHA.3032@TK2MSFTNGP10.phx.gbl...
>> Well, if you happen to recall where to make that change, I would sure
>> like
>> to know.
>>
>> --
>>
>> Steven Shelton
>>
>> There are two secrets to success in life
>> 1) Never tell anybody everything you know
>> "George Hester" <hesterloli@hotmail.com> wrote in message
>> news:utxOmr5bFHA.1200@TK2MSFTNGP10.phx.gbl...
>> > That's true. And there is a setting for it shouldn't be too hard to
> find.
>> > I don't have it because although I thought of doing that at one time I
>> > realized how I could use the behavior in my favor. Often what happens
> is
>> > I'll make a change in the registry then move on to other things. For
> days
>> > even. Then something comes up and I realize I have to go back to that
>> > location. I have clean forgot where it was. This issue saves my butt.
>> >
>> > --
>> > George Hester
>> > _______________________________
>> > " Wonderer" <mynewsgrps@hotmail.com> wrote in message
>> > news:o ZNt6J5bFHA.2520@TK2MSFTNGP09.phx.gbl...
>> >> I do not go messing around in the registry all that much. When I do, I
>> > want
>> >> to do a search starting from the top and if it opens to some key near
> the
>> >> bottom, that is where it starts its search. I prefer the convenience
>> >> of
>> >> starting out fresh everytime, just like it used to be in older
> versions.
>> >> I
>> >> seem to recall that there is a key, somewhere, that you can give a 0
>> >> value
>> >> and it will cause regedit to always open collapsed. That is what I
> want.
>> >>
>> >> --
>> >>
>> >> Steven Shelton
>> >>
>> >> There are two secrets to success in life
>> >> 1) Never tell anybody everything you know
>> >> "George Hester" <hesterloli@hotmail.com> wrote in message
>> >> news:%23Lb2Y83bFHA.2212@TK2MSFTNGP14.phx.gbl...
>> >> > Why don't you just select the top of the registry then close it? I
> use
>> >> > what
>> >> > you want to stop so that I can get back easily to the location when
>> >> > I
>> > need
>> >> > to.
>> >> >
>> >> > --
>> >> > George Hester
>> >> > _______________________________
>> >> > " Wonderer" <mynewsgrps@hotmail.com> wrote in message
>> >> > news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
>> >> >> I have searched almost 40,000 headers for anything on this and
>> >> >> found
>> >> >> nothing. What I want to know is what change to make in the
>> >> >> registry,
>> >> >> to
>> >> > stop
>> >> >> it from remembering the last key opened, thus resulting in the hive
>> > being
>> >> >> completely collapsed each time I open it.
>> >> >>
>> >> >> --
>> >> >>
>> >> >> Steven Shelton
>> >> >>
>> >> >> There are two secrets to success in life
>> >> >> 1) Never tell anybody everything you know
>> >> >>
>> >> >>
>> >> >
>> >>
>> >>
>> >
>>
>>
>
Anonymous
June 14, 2005 9:47:12 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

I have now tried renaming regedit and even deleting it, but it is recreated
and regedit opens right to that spot. Something else controls it. That key
shows what it was last opened to, but there is a higher control somewhere.

--

Steven Shelton

There are two secrets to success in life
1) Never tell anybody everything you know
"George Hester" <hesterloli@hotmail.com> wrote in message
news:erOQx5HcFHA.3808@TK2MSFTNGP14.phx.gbl...
> http://support.microsoft.com/default.aspx?scid=kb;en-us;266765
>
> You should be able to keep it forever at My Computer. One way is to
> remove
> the permissions on the key. That may cause an error when closing regedit
> maybe not. Another way is to make sure you close regedit at the My
> Computer. Then go back to this location in the registry (explained in the
> article) and Export the key to a reg file. Then whenever you want to open
> regedit run the reg file first. I suppose to you could write a script
> that
> does this with the Windows Scripting Host. Note even though the article
> mentions Windows ME that is irelevant to what we are trying to accomplish.
> Basically it's the same thing.
>
> I will try removing the permissions and see what happens...yes that works.
> To renable the permissions you just allow the Parent to propagate which
> you
> had to undo to change the permissions. Done in regedt32.
>
> --
> George Hester
> _______________________________
> " Wonderer" <mynewsgrps@hotmail.com> wrote in message
> news:o WnxBx7bFHA.3032@TK2MSFTNGP10.phx.gbl...
>> Well, if you happen to recall where to make that change, I would sure
>> like
>> to know.
>>
>> --
>>
>> Steven Shelton
>>
>> There are two secrets to success in life
>> 1) Never tell anybody everything you know
>> "George Hester" <hesterloli@hotmail.com> wrote in message
>> news:utxOmr5bFHA.1200@TK2MSFTNGP10.phx.gbl...
>> > That's true. And there is a setting for it shouldn't be too hard to
> find.
>> > I don't have it because although I thought of doing that at one time I
>> > realized how I could use the behavior in my favor. Often what happens
> is
>> > I'll make a change in the registry then move on to other things. For
> days
>> > even. Then something comes up and I realize I have to go back to that
>> > location. I have clean forgot where it was. This issue saves my butt.
>> >
>> > --
>> > George Hester
>> > _______________________________
>> > " Wonderer" <mynewsgrps@hotmail.com> wrote in message
>> > news:o ZNt6J5bFHA.2520@TK2MSFTNGP09.phx.gbl...
>> >> I do not go messing around in the registry all that much. When I do, I
>> > want
>> >> to do a search starting from the top and if it opens to some key near
> the
>> >> bottom, that is where it starts its search. I prefer the convenience
>> >> of
>> >> starting out fresh everytime, just like it used to be in older
> versions.
>> >> I
>> >> seem to recall that there is a key, somewhere, that you can give a 0
>> >> value
>> >> and it will cause regedit to always open collapsed. That is what I
> want.
>> >>
>> >> --
>> >>
>> >> Steven Shelton
>> >>
>> >> There are two secrets to success in life
>> >> 1) Never tell anybody everything you know
>> >> "George Hester" <hesterloli@hotmail.com> wrote in message
>> >> news:%23Lb2Y83bFHA.2212@TK2MSFTNGP14.phx.gbl...
>> >> > Why don't you just select the top of the registry then close it? I
> use
>> >> > what
>> >> > you want to stop so that I can get back easily to the location when
>> >> > I
>> > need
>> >> > to.
>> >> >
>> >> > --
>> >> > George Hester
>> >> > _______________________________
>> >> > " Wonderer" <mynewsgrps@hotmail.com> wrote in message
>> >> > news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
>> >> >> I have searched almost 40,000 headers for anything on this and
>> >> >> found
>> >> >> nothing. What I want to know is what change to make in the
>> >> >> registry,
>> >> >> to
>> >> > stop
>> >> >> it from remembering the last key opened, thus resulting in the hive
>> > being
>> >> >> completely collapsed each time I open it.
>> >> >>
>> >> >> --
>> >> >>
>> >> >> Steven Shelton
>> >> >>
>> >> >> There are two secrets to success in life
>> >> >> 1) Never tell anybody everything you know
>> >> >>
>> >> >>
>> >> >
>> >>
>> >>
>> >
>>
>>
>
Anonymous
June 14, 2005 11:44:35 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

I sent you a zip file that contains the sample of how to do it.
I use these batch files and scripts alot instead of modifying stuff because
you never know what it may interfere with now or sometime down the road. All
that sample will do is change the "last key" value then start regedit. Just
right click on each of the files and select edit to see whats there so you
can do similer things.

Hope that helps.


"Li'l Roberto" <whoisit@nospam.invalid.net> wrote in message
news:%23ioN78AcFHA.3912@TK2MSFTNGP15.phx.gbl...
>" Wonderer" <mynewsgrps@hotmail.com> wrote in message
>news:uh43PO1bFHA.2960@TK2MSFTNGP09.phx.gbl...
>>I have searched almost 40,000 headers for anything on this and found
>>nothing. What I want to know is what change to make in the registry, to
>>stop it from remembering the last key opened, thus resulting in the hive
>>being completely collapsed each time I open it.
>>
>> --
>>
>> Steven Shelton
>>
>> There are two secrets to success in life
>> 1) Never tell anybody everything you know
>
> Here's the work around I use to expand/ collapse the, registry tree
> hold down the shift key and tap the left arrow key to collapse the
> tree, right arrow key to expand it .
>
> rgds
> Li'l Roberto
>
>
June 15, 2005 12:29:57 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

I think you might find that regedit.exe is classed as a system file,
therefore if you delete a system file,.Windows XP system file protection
will automaticly restore the file.

To prevent the last key from being remembered - follow the link from
microsoft.

http://support.microsoft.com/default.aspx?scid=kb;EN-US;q244004


" Wonderer" <mynewsgrps@hotmail.com> wrote in message
news:%23S00o5McFHA.3912@TK2MSFTNGP15.phx.gbl...
>I have now tried renaming regedit and even deleting it, but it is recreated
>and regedit opens right to that spot. Something else controls it. That key
>shows what it was last opened to, but there is a higher control somewhere.
>
>
Anonymous
June 15, 2005 12:29:58 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

I cannot say thank you enough. That is exactly what I wanted. I appreciate
it very much.

Sincerely

Steven Shelton

There are two secrets to success in life
1) Never tell anybody everything you know
Anonymous
June 15, 2005 12:29:59 AM

Archived from groups: microsoft.public.windowsxp.general (More info?)

That is what I told you to do. Sorry it wasn't cear. Actually in Windows
XP #3 is unnecessary. You will loose all the values there when you remove
ALL permisions. Which is how I think it shoulde be done. Remember leaving
System there with full control can allow the system to take it over. Which
is basically what we want to avoid. But you got it so that's really all
that matters right?

--
George Hester
_______________________________
" Wonderer" <mynewsgrps@hotmail.com> wrote in message
news:uSNPryPcFHA.4040@TK2MSFTNGP10.phx.gbl...
> I cannot say thank you enough. That is exactly what I wanted. I appreciate
> it very much.
>
> Sincerely
>
> Steven Shelton
>
> There are two secrets to success in life
> 1) Never tell anybody everything you know
>
>
June 15, 2011 12:59:49 AM

If you want to open regedit at the key you want to view, use autohotkey. Then copy/paste the following text into a new autohotkey script, save it, and run it:

Process, Close, regedit.exe ; Closes Regedit if it is open
RegWrite, REG_SZ, HKEY_CURRENT_USER, Software\Microsoft\Windows\CurrentVersion\Applets\Regedit, LastKey ; Regedit uses this key's information to open at last listed location
, Computer\HKEY_CLASSES_ROOT\CakewalkExtAudioEncoders ; Regedit opens at the this location because it thinks it was open there last
Run, regedit.exe ; Opens Regedit to the location listed in the above key
ExitApp ; Exits when finished



...remember to substitute your own key when you do this :) 
!