Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



Sign in to follow this  
SureKen

REGEDIT4 vs. Windows Registry Editor V. 5

Recommended Posts

SureKen    0

I've got a txt with some reg tweaks I wrote some time ago. The file starts with "REGEDIT4". While trying to merge it with a new reg file, I've noticed that the newer one says "Windows Registry Editor Version 5.00".

What's the difference between version 4 and 5?

Should I get rid of "REGEDIT4" and put all the keys in the other (newer) file?

Thanks.

Share this post


Link to post
Share on other sites

Yzöwl    30

No!

REGEDIT4 is recognized in all versions including XP, the major difference between the two is that the Version 5.00 is in unicode format. Since the file you have will not be unicode there is no reason to alter it.

Share this post


Link to post
Share on other sites
SureKen    0

Ok, I understand, but since I don't need unicode support, it doesn't really matter if I put the strings under "REGEDIT4" or "Windows Registry ... 5.0", does it?

thanks

Share this post


Link to post
Share on other sites
SureKen    0

Let me explain this with an example.

This is the "REGEDIT4" file:

; Auto-Expand folders
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"FriendlyTree"=dword:00000001


; Disable "Encrypt/Decrypt" on folders' context menu
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"EncryptionContextMenu"=dword:00000000


; Internet Explorer
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main]
"IEWatsonDisabled"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"DisablePasswordCaching"=dword:00000001

and this is the new reg file:

; Disable 'Browse Web For Program' To Open Unknown Extensions
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"NoInternetOpenWith"=dword:00000001


; Remove Windows Alexa Spyware
[-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Extensions\{c95fe080-8f5d-11d2-a20b-00aa003c157a}]


;Disable windows built in zip functionality
[-HKEY_CLASSES_ROOT\.zip\CompressedFolder]
[-HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}]
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CompressedFolder]


;Remove WMP Right Click Options
[-HKEY_CLASSES_ROOT\CLSID\{F1B9284F-E9DC-4e68-9D7E-42362A59F0FD}]
[-HKEY_CLASSES_ROOT\CLSID\{8DD448E6-C188-4aed-AF92-44956194EB1F}]
[-HKEY_CLASSES_ROOT\CLSID\{CE3FB1D1-02AE-4a5f-A6E9-D9F1B4073E6C}]


; Enable Tahoma Font In Notepad
[HKEY_CURRENT_USER\Software\Microsoft\Notepad]
"lfFaceName"="Tahoma"


; Enable Word Wrap In Notepad
[HKEY_CURRENT_USER\Software\Microsoft\Notepad]
"fWrap"=dword:00000001

I need to merge them, that's why I asked about those two different versions of reg files. :)

Share this post


Link to post
Share on other sites
Yzöwl    30

Just append the contents, (minus, the 'Windows Registry Editor Version 5.00'), of the 'new' reg to the end of the 'REGEDIT4' file then.

Share this post


Link to post
Share on other sites
SureKen    0
Just append the contents, (minus, the 'Windows Registry Editor Version 5.00'), of the 'new' reg to the end of the 'REGEDIT4' file then.

Thanks, I'll do it. :)

Just out of curiosity, what would happen if I did the opposite (appending the old content to the new 'Windows Registry Editor Version 5.00' file)? It's just to check if I got it right, you know. ;)

Share this post


Link to post
Share on other sites
Yzöwl    30

The chances are good that it would perform exactly the same.

Incidentally, please make sure that there is a blank line at the end of the appended file.

Share this post


Link to post
Share on other sites
SureKen    0
The chances are good that it would perform exactly the same.

Incidentally, please make sure that there is a blank line at the end of the appended file.

A blank line at the end, ok.

Speaking of blank lines, I usually put one between an entry and the next one. Would it somehow "break" the reg file if I put more than one? I'm talking about pure blank lines, since the ones where I explain the meaning of an entry is commented with ";".

Thanks a lot.

Share this post


Link to post
Share on other sites
Yzöwl    30

The important things are

  • 'REGEDIT4' or 'Windows Registry Editor version 5.00', must be followed by a blank line.
    The file must end with a blank line

Other than that, whatever makes it more readable for you.

Share this post


Link to post
Share on other sites
SureKen    0
The important things are
  • 'REGEDIT4' or 'Windows Registry Editor version 5.00', must be followed by a blank line.
    The file must end with a blank line

Other than that, whatever makes it more readable for you.

Good, thank you very much for your help Yzöwl. :)

Share this post


Link to post
Share on other sites
Takeshi    0

Bear in mind that for Expandable Strings and Multistring data in hex, the formats are different between ANSI and Unicode (one and two bytes respectively).

Share this post


Link to post
Share on other sites
MHz    11

The best method for a short list like that. Add them to registry, then just export them out again, in the suitable format.

:)

Edited by MHz

Share this post


Link to post
Share on other sites
maxXPsoft    27

Safest bet, if you doing Xp is to use the Windows Registry Editor Version 5.00

I have applied a few things in the past and they did NOT import using REGEDIT4.

I cannot explain so a word to the wise.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×