LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices

Reply
 
LinkBack Search this Thread
Old 04-01-2011, 08:00 AM   #1
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 159

Rep: Reputation: 6
Windows Registry Editing Tool for Linux


Is there a such thing as a Linux tool to edit the Windows registry? I've got a trashed Windows installation, and I don't have all my CDs to reinstall everything. So I was trying to salvage if I can.

I saw some registry viewing tools listed in the Synaptic Pkg Mgr, but I want something I can search through, edit, replace, delete, etc. Thanks

gentisle
 
Old 04-01-2011, 09:38 AM   #2
johnsfine
Senior Member
 
Registered: Dec 2007
Distribution: Centos
Posts: 4,966

Rep: Reputation: 1073Reputation: 1073Reputation: 1073Reputation: 1073Reputation: 1073Reputation: 1073Reputation: 1073Reputation: 1073
There is a text only (not GUI) Windows registry editor for Linux available from this site
www.pogostick.net/~pnh/ntpasswd/

I can't look there from where I am now (to give you better details) because that site is blocked by some providers (because it offers tools that might be misused).

As I recall from looking there before, at the top level it just offers CD images to get its tools effectively in bootable form. I would find that less convenient.

But if you browse into the source area it also has a "static linked" copy of the binary programs available somewhere. That is what you want if you would like to use the programs from within your own Linux system.

I keep meaning to recreate the bootable Linux CDs I normally use, so those binaries would be included. Instead, on the rare occasions I need those programs, I have always booted a Linux CD, then searched the net to rediscover those binaries, then downloaded to the ram filesystem of my booted Linux CD, used the programs and then lost them again. When you need them last minute without being able to prepare, that is the easiest way to use them.

Last edited by johnsfine; 04-01-2011 at 09:47 AM.
 
Old 04-01-2011, 10:48 AM   #3
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 159

Original Poster
Rep: Reputation: 6
Thanks so much johnsfine. I've downloaded it, and will look at it in a few days when I have some time. It would be nice to have a gui regedit for Linux, but maybe I'm asking too much. Wish I had learned programming when I was younger and had the time.
 
Old 04-01-2011, 10:52 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,165
Blog Entries: 4

Rep: Reputation: 426Reputation: 426Reputation: 426Reputation: 426Reputation: 426
According to this, you can run regedit in Wine. Since you use Mint, you should be able to get chntpw (a native Linux regedit tool) via apt-get
 
Old 04-01-2011, 11:05 AM   #5
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 159

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by XavierP View Post
According to this, you can run regedit in Wine. Since you use Mint, you should be able to get chntpw (a native Linux regedit tool) via apt-get
XavierP, Well if that's true, then perhaps I can also run regedit from Windows inside of VirtualBox. Why didn't I think of that? "Wow! I coulda had a V-8!" Thanks. I'll give the VirtualBox Windows a chance first. I saw chntpw listed, but it's not passwords that are the problem. It's a dreaded STOP error that keeps BSODing me. I couldn't even read the dumps before the BSOD struck again. Then I remembered NirSoft's BlueScreen utility and read the dump files from my HDD, but that doesn't allow me to fix the problem -- just read the dump files.

This crashing all started shortly after I tried to disable the hidden GoogleUpdate service. This is exactly why I hate hidden programs in Windows. But then what else can I expect from Windoze? Thanks again.

gentisle
 
Old 04-01-2011, 12:06 PM   #6
johnsfine
Senior Member
 
Registered: Dec 2007
Distribution: Centos
Posts: 4,966

Rep: Reputation: 1073Reputation: 1073Reputation: 1073Reputation: 1073Reputation: 1073Reputation: 1073Reputation: 1073Reputation: 1073
Quote:
Originally Posted by XavierP View Post
According to this, you can run regedit in Wine.
It sure does seem to say that. But I can't see enough details to figure out how to get Wine to work on the actual Windows registry.

1) I don't know how to get regedit to work on a "hive" that exists as a set of files. That is probably the important detail I'm missing. IIUC, regedit accesses the registry through the OS's registry system calls, not by direct I/O against the actual files containing the registry.

Please explain or post a link, if you have info that will correct or improve the above partial understanding.

2) IIUC, Wine emulates the Windows OS system calls for registry operations, but does so against an emulated registry, not against a set of files that are in the same format as the Windows registry. So IIUC, you can't use Wine with an actual Windows registry.

Please explain or post a link, if you have info that will correct or improve the above partial understanding.

3) I don't know of any program that will build a Wine emulated registry from a Windows registry, nor the reverse. Both such programs would seem to be needed in order to use regedit in Wine to fix a Windows problem.

Quote:
Originally Posted by gentisle View Post
I saw chntpw listed, but it's not passwords that are the problem.
IIUC, chntpw is based on the same registry access method and distributed together with the related program that allows text mode editing of the Windows registry.

I hope that "distributed together with" also applies when you get the package from your Linux distribution, rather than just when you get chntpw from whatever link near the link I posted. But I don't actually know what is included in the chntpw package from Mint etc.

Last edited by johnsfine; 04-01-2011 at 12:10 PM.
 
Old 04-01-2011, 02:32 PM   #7
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Slackware 14.1 (multilib) with kernel 3.13.2
Posts: 1,467
Blog Entries: 10

Rep: Reputation: 142Reputation: 142
There's a pretty explicit warning in Wine NOT to use it on the real Windows registry. So I agree with the above. Some computers have a CDless recovery partition activated at boot time with F11 or some other keystroke, is that a possibility?

Last edited by mostlyharmless; 04-01-2011 at 02:35 PM.
 
Old 04-03-2011, 09:48 AM   #8
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 159

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by mostlyharmless View Post
There's a pretty explicit warning in Wine NOT to use it on the real Windows registry. So I agree with the above. Some computers have a CDless recovery partition activated at boot time with F11 or some other keystroke, is that a possibility?
Well, that's nice to know. Unfortunately, there is no F11 or anything else on this one. The PC came w/Vista, and I put XP Pro on it, and so I'm totally on my own.

Since this installation of Windows is probably trashed beyond repair (expect for possibly someone who does that to Windows PCs all day, every day, I think I'll try to do it in VirtualBox just to see what happens. I've got all the data backed up, so what the heck? Thanks again.

gentisle
 
Old 04-16-2011, 04:45 PM   #9
snatale1
Member
 
Registered: Aug 2003
Location: Richmond, Virginia, US
Distribution: Mint 16
Posts: 392

Rep: Reputation: 32
Quote:
Originally Posted by gentisle View Post
I've got a trashed Windows installation
Don't worry thats the way Windows is supposed to be
 
Old 04-16-2011, 05:33 PM   #10
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 159

Original Poster
Rep: Reputation: 6
Yes, I know. When Bill Gates talks about Microsoft spawning all kinds on innovation, what he really means is: Windows is such a low quality product, you need all kinds of extra security and utility software added on to keep it running.

Well, I tried editing the registry from inside of my VirtualBox Windows, and no luck, so Guess it's a reformat, reinstall, etc.
 
Old 06-19-2011, 05:41 PM   #11
jraz
Member
 
Registered: Feb 2011
Location: TEMPE, AZ
Distribution: Linux Mint LMDE
Posts: 52

Rep: Reputation: 5
Cool chntpw is the same tool as ntpasswd

Quote:
Originally Posted by XavierP View Post
According to this, you can run regedit in Wine. Since you use Mint, you should be able to get chntpw (a native Linux regedit tool) via apt-get
Freshmeat points right to the same website. The tool does work for registry editing but it will be of great use to know the key(s) you need to edit. Not the most intuitive tool but it works.

AVG anti-virus live cd also includes a text based editor.

Also one can consider a BartPE disk but personally I like the VBox Windows solution as easiest.

I would be interested in knowing just what caused it and the outcome. Google products can wreak havoc sometimes.
 
Old 06-19-2011, 08:24 PM   #12
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 159

Original Poster
Rep: Reputation: 6
Thanks, I've given up trying to fix that. I think it may be drivers that are incompatible, but I just don't have time to fiddle w/Windows. Thanks everyone.

gentisle
 
Old 06-26-2012, 07:13 AM   #13
musicengineer
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
Good Information

Now, off to spend the time from when you gave up and make it happen.

My HP CQ-60 came with native mode sata Vista, and the owner gave up and gave me this piece of Windows only crap when she realized a new computer was cheaper than suffering with Vista and the path back to W-XP was more expensive than a new computer (June 2010).

I have days invested in getting W-XP to work and Debian 6.0.4 to wireless. I'm confident I can make both work. The W-XP is my running production on a desktop. It needs the native mode sata driver in order to boot on the cq-60 and I have documentation on someone else who hacked the registry and got it to work. I can regedit while in my biostar P4M enviornment, then run on the cq-60 which is what that person did when he switched from sata ide emulator to native sata.

If you figured out how to do this, let me know, else I will just keep playing with it. I need to give most of my time to music so this project (evolving from my degree in Electrical Engineering) will take a back seat.
 
Old 02-13-2014, 04:55 PM   #14
brainit
LQ Newbie
 
Registered: Feb 2014
Posts: 1

Rep: Reputation: Disabled
liunx Gui Windows registry editor

the Kaspersky rescue disk downloadable from here (https://support.kaspersky.com/4162) includes a gui registry tool which is very useful for all sort of situations including removing things from startup.
 
Old 02-13-2014, 08:11 PM   #15
gentisle
Member
 
Registered: May 2005
Location: USA
Distribution: LinuxMint
Posts: 159

Original Poster
Rep: Reputation: 6
Hey thanks, very helpful.
gentisle
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing wine registry to follow EQ2 instructions.. CT_0000 Linux - Newbie 2 02-23-2014 05:05 PM
Scripting chntpw for registry editing cheeseslice Programming 1 12-13-2008 12:49 PM
Windows Registry in Linux slackr007 Linux - Newbie 1 02-09-2005 02:47 PM
Linux equivalent to windows registry? marri Linux - Newbie 10 07-22-2004 12:07 AM


All times are GMT -5. The time now is 03:36 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration