Jump to content

Recommended Posts

Posted

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.


Posted

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.

Posted

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

Posted

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. :)

Posted

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

Posted
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. ;)

Posted

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.

Posted
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.

Posted

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.

Posted
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. :)

Posted

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).

Posted (edited)

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
Posted

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...