Jump to content



Photo

Converting .reg to plain text


  • Please log in to reply
10 replies to this topic

#1 eaglebtc

eaglebtc

    Hello there.

  • Joined: 25-August 01
  • Location: Southern California

Posted 07 February 2003 - 07:28

I have a piece of data that I want to pull out of a Windows registry file. It was generated by XP, but it's in the System Restore folder, and I do NOT want to go back to a few days ago for this little bit of info. Is there a way to convert a .REG file into plain text from the command line? Or perhaps a GUI to read this info?

Thanks,
- brad


#2 username

username

    neowin mountaineer

  • Joined: 03-April 02
  • Location: West Virginia

Posted 07 February 2003 - 07:30

i think you can just rename the extention... i know you it works the other way around (txt to reg)

#3 techquilla

techquilla

    Bubalu Dormilon

  • Joined: 27-November 01

Posted 07 February 2003 - 07:36

to read it, just use notepad, to convert it to txt, change the file extension to .txt... that's all....^^

#4 vetbangbang023

bangbang023

    Silent Veteran

  • Joined: 17-October 01
  • Location: Brooklyn, NY

Posted 07 February 2003 - 08:15

to read it, just use notepad, to convert it to txt, change the file extension to .txt... that's all....^^

*sigh* that's the solution yes........my how some people underestimate how useful notepad is.

#5 OP eaglebtc

eaglebtc

    Hello there.

  • Joined: 25-August 01
  • Location: Southern California

Posted 09 February 2003 - 19:44

Cmon what do you take me for, a n00b? :wacko:

If it were a plain text file i would have found the data already. It's a machine code file, that starts with this:

regf'1  '1  €uëBÏÂ                  P%    a n d   S e t t i n g s \ B r a d l e y \ n t u s e r . d a t

So how do I convert one of these without importing fir:p? :p

#6 Arch

Arch

    Bless this mess.

  • Joined: 02-July 02

Posted 09 February 2003 - 19:53

That's not really a .reg file then. Or maybe it's just compressed?? You're probably screwed if windows update encodes all of its data.

#7 loc[a]lhost

loc[a]lhost

    Neowinian Elite

  • Joined: 01-December 01
  • Location: 127.0.0.1

Posted 09 February 2003 - 21:15

That's not really a .reg file then. Or maybe it's just compressed?? You're probably screwed if windows update encodes all of its data.

actually, it is. once i had a look at the .reg file of the reset crack and it also was like that :p

#8 Merbac

Merbac

    Neowinian

  • Joined: 11-October 01

Posted 10 February 2003 - 07:52

Just adding my two cents worth to the discussion, even though I can't solve the problem for you.
Since WinXP and Win2000, regedit writes exports into .reg files, which are binary and can not be read with notepad or any other texteditor. If you want to have a readable export from regedit under WinXP you must choose a different file type (REGEDIT 4) when doing the export.
However, I do not know how to convert from regedit5 to regedit4 formats.

But what you could do is to export exactly those keys that are in your unreadable .reg file from your current installation (so with different values) into another file, then re-import the .reg file you can't read. Re-export it into a regedit4 format, and finally re-import your original settings. That way your system will be unchanged and you can then read you registry keys and values. All this is of course assuming that you know which keys are in that .reg file you have.

#9 Simon-

Simon-

    Neowinian Senior

  • Joined: 04-November 02

Posted 10 February 2003 - 08:21

[1] export your .reg file from XP
[2] find the exported .reg file
[3] right click and select 'Edit'
[4] Go to the 'File' menu and then click 'Save As...'
[5] In the Encoding section, Change it from 'Unicode' to 'ANSI'
[6] Click save, you might also have to change 'Windows Registry Editor Version 5.00' to 'REGEDIT4'

if that doesn't work, I think that wordpad can also open Unicode files

#10 tmeg

tmeg

    Neowinian Fanatic

  • Joined: 16-December 01

Posted 10 February 2003 - 08:31

if that doesn't work, I think that wordpad can also open Unicode files

Notepad can open and edit Unicode as well. So need to use wordpad.

#11 OP eaglebtc

eaglebtc

    Hello there.

  • Joined: 25-August 01
  • Location: Southern California

Posted 10 February 2003 - 08:38

This reg file was already generated by Windows - it's in my System Volume Information folder, as part of a restore point. That's why I didn't want to import it.

Hasn't someone invented a Reg5 > Reg4 / Text converter? :p