Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

REGEDIT4 vs. Windows Registry Editor V. 5

- - - - -

  • Please log in to reply
13 replies to this topic

#1
SureKen

SureKen

    Newbie

  • Member
  • 18 posts
  • Joined 27-May 05
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.


How to remove advertisement from MSFN

#2
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,546 posts
  • Joined 13-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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.

#3
Martin Zugec

Martin Zugec

    MSFN Expert

  • Member
  • PipPipPipPipPipPip
  • 1,373 posts
  • Joined 24-January 04
Strange is there is only one difference (AFAIK)... Regedit4 support extended strings, e.g. using variables.
Like my opinions? Read Deployment/scripting blog
Like my scripts? They are under DrinkWare license :)

#4
SureKen

SureKen

    Newbie

  • Member
  • 18 posts
  • Joined 27-May 05
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

#5
SureKen

SureKen

    Newbie

  • Member
  • 18 posts
  • Joined 27-May 05
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. :)

#6
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,546 posts
  • Joined 13-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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

#7
SureKen

SureKen

    Newbie

  • Member
  • 18 posts
  • Joined 27-May 05

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

<{POST_SNAPBACK}>


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

#8
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,546 posts
  • Joined 13-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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.

#9
SureKen

SureKen

    Newbie

  • Member
  • 18 posts
  • Joined 27-May 05

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.

<{POST_SNAPBACK}>


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.

#10
Yzöwl

Yzöwl

    Wise Owl

  • Super Moderator
  • 4,546 posts
  • Joined 13-October 04
  • OS:Windows 7 x64
  • Country: Country Flag

Donator

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.

#11
SureKen

SureKen

    Newbie

  • Member
  • 18 posts
  • Joined 27-May 05

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.

<{POST_SNAPBACK}>


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

#12
Takeshi

Takeshi

    Legitchecking...

  • Member
  • PipPipPipPipPipPip
  • 1,107 posts
  • Joined 09-September 04
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).

#13
MHz

MHz

    Just simple

  • Member
  • PipPipPipPipPipPipPip
  • 1,656 posts
  • Joined 02-August 04
  • OS:Windows 7 x64
  • Country: Country Flag
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, 10 June 2005 - 03:23 AM.


#14
maxXPsoft

maxXPsoft

    MSFN Master

  • Developer
  • 2,889 posts
  • Joined 14-November 03
  • OS:Windows 7 x64
  • Country: Country Flag
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.
Download ++> Windows 7 + 8 Unattended DVD + App Installer + Services Disabler + Load All Button + XML Creator
Jump2Reg - Registry: - Oct 4, 2013 - Version 3.0.4 - 98, ME, NT, 2K, XP, VISTA, Seven, Windows 8+ and 32 or 64 bit

XP Unattended CD/DVD creator - Version 4.1.7
Sample xml + Setupcomplete + Add Right click .wim Windows 7 or Windows 8/8.1




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users