PCTechTalkhttp://www.pctechtalk.com/forums/

Go Back   PCTechTalk > PC Tech > General

Reply
 
LinkBack Thread Tools Display Modes
Old 12-05-2002, 05:15 PM   #1 (permalink)
Registered User
 
gbread49's Avatar
 
Join Date: Apr 2002
Location: Tennessee
Posts: 744
gbread49
WinXP Registry Annoyance!

Well, MS screwed this one up! If you are using WinXP, have you noticed that when you run "Regedit" the darn thing opens to the last viewed key instead of with the initial collapsed view.... aaaaarrrggghhhhh! What a pain if you are wanting to start from the beginning to Find a particular key or search a specific HKEY group.

There is a simple fix! you can create a script file that will open Regedit to the initial collapsed view when you run it. Here is how:

Open Notepad (a new text document).....copy/paste the below text and then save it as a ".vbs" file... EXAMPLE: registryopen.vbs
____________________________________
'Regedit Opener - bypasses Regedit opening to the last viewed key
'regopen.vbs
'This code may be freely distributed/modified

Option Explicit
On Error Resume Next

Dim WSHShell
Set WSHShell=Wscript.CreateObject("Wscript.Shell")
WSHShell.RegDelete "HKCU\Software\Microsoft\Windows\CurrentVersion\Ap plets\Regedit\LastKey"
WSHShell.Run "REGEDIT"

Set WSHShell = Nothing
____________________________________
Save the file to a folder of your choice and then create a desktop or start menu shortcut to it. When you click the shortcut, "voila", Regedit will open to the collapsed view.... Saves the trouble of using Start/Run..and typing in "regedit" too!

ADDED: Don't get paranoid either, some people think that all ".vbs" (visual basic script) files are malicious. Not so! They also serve a useful purpose when used correctly. If you are concerned that something might change the script in the file you created, just go into Properties/Attributes...and check the "Read Only" box, that locks the file so that it cannot be altered.
__________________
gbread49 is offline   Reply With Quote
Old 12-05-2002, 05:25 PM   #2 (permalink)
Registered User
 
Join Date: Jun 2002
Posts: 436
Blurry
Thanks for the reg!

Also, you can do this in regedit yourself if you'd like.

Winguides has a guide for this as well. It achieves the same purpose as mentioned by gbread49.

Prevent Regedit from Saving the Last Location
__________________
N/A
Blurry is offline   Reply With Quote
Old 12-05-2002, 05:32 PM   #3 (permalink)
Registered User
 
Join Date: Jun 2002
Posts: 436
Blurry
I've been using Registry Crawler to find keys in seconds. It is basically a search engine that will find all keys with the name you are looking for. It makes it a whole lot easier to search for keys. Once you click on the key you are looking for, regedit will open up. In fact you can open regedit within Registry Crawler.

Of course such a great program like this, must be a TRIAL (30 days). Ah, too bad....
__________________
N/A
Blurry is offline   Reply With Quote
Old 12-05-2002, 06:19 PM   #4 (permalink)
Staff
 
Lion7718's Avatar
 
Join Date: Mar 2003
Location: Florida
Posts: 2,317
Lion7718 will become famous soon enough
Re: Thanks for the reg!

Quote:
Originally posted by blury
Also, you can do this in regedit yourself if you'd like.

Winguides has a guide for this as well. It achieves the same purpose as mentioned by gbread49.

Prevent Regedit from Saving the Last Location
I used that same hack, it works.

Note: Choose Deny, this way you can always change it back later.
__________________
"Protect me from my friends, I can take care of my enemies"
You better not be touching my mannequin
Lion7718 is offline   Reply With Quote
Old 12-05-2002, 07:32 PM   #5 (permalink)
Registered User
 
bluetailfly3's Avatar
 
Join Date: Oct 2002
Posts: 367
bluetailfly3
thx for this post..i had noticed this and wondered if there was a way to fix it.
bluetailfly3 is offline   Reply With Quote
Old 12-05-2002, 07:51 PM   #6 (permalink)
Registered User
 
punkerdude's Avatar
 
Join Date: Feb 2003
Posts: 17
punkerdude
is it compatible with foreign language winxp versions? such as spanish
__________________
I Dont Care If you never see the world as I Do [Pennywise]
punkerdude is offline   Reply With Quote
Old 12-05-2002, 08:31 PM   #7 (permalink)
Staff
 
Lion7718's Avatar
 
Join Date: Mar 2003
Location: Florida
Posts: 2,317
Lion7718 will become famous soon enough
Quote:
Originally posted by punkerdude
is it compatible with foreign language winxp versions? such as spanish
It should be, you just need to find the Spanish Keys
__________________
"Protect me from my friends, I can take care of my enemies"
You better not be touching my mannequin
Lion7718 is offline   Reply With Quote
Old 12-06-2002, 12:30 AM   #8 (permalink)
Member Type Guy
 
FrYGuY's Avatar
 
Join Date: Sep 2002
Posts: 501
FrYGuY is on a distinguished road
I actually LIKE the registry editor opening to a certain entry.

But that's me, and I'm usually editing the same entry repeatedly or some such.

I'm wierd.
__________________
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GB/G/H/J/MC/S d-(--)@ s+:+ a-- C !U--- P--- L--(-) E- W N-(--) !o K--- w++ O--- M--(--) V-- PS+ PE+ Y+ PGP- t-- 5-- X- R(+) tv (++) b-- DI+ D---- G- e+++ h-- r* y++
------END GEEK CODE BLOCK------


Yeah, my computer sucks. You try and do better.
FrYGuY is offline   Reply With Quote
Old 12-12-2002, 04:47 AM   #9 (permalink)
Registered User
 
Join Date: Dec 2002
Posts: 8
ChinaCat1120
Yippee!

I do alot of reg modifying and that's a great tweak!
Thanx!
:computer:
ChinaCat1120 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -5. The time now is 11:15 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
2001 PCTechTalk