Windows 2000 crashed and I need to get registry keys off of it.

I've got a bit of a dilema. The motherboard for my DNS server croaked and I need the DNS zones key from the registy. Problem being that after I ran the repair I can no longer access the old registry. On the bright side I ghosted the drive b4 I ran the repair so I have it still intact, but it won't boot unless I repair it which will destroy the registry. I can access the data on the drive. Does anyone know of a utility or a way I can access the registry and export keys without messing up the registry in the machine I'm doing the editing from? Please help, my mail and DNS are down until i get this figured out, and its way more zones than I want to enter if I don't have to.

Thanks in advance

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Lee W, MVPTechnology and Business Process AdvisorCommented:
If your DNS was active Directory integrated, then it's in the Active Directory.  If not, then it's not in the registry, it's in a DNS file on the system.  (I'll have to look up exactly where - I think c:\windows\system32\dns
I've used a tool, ERD commander. Booting from this CD allows registry editing, copying data and even network connectivity. You can export the hives you needs by using it. Good Luck

Tony Barkdull
Was this DNS server using Active Directory Integrated zones?
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

bacamaroAuthor Commented:
There was no Active Directory installed on this system. The mail server was IPSwitch Imail and I was using the DNS server that comes with Win2k. That was all that was on this system. I saw the ERD command but I don't have the $300 to spend on it right now.
Lee W, MVPTechnology and Business Process AdvisorCommented:
DNS that comes with 2K - then it's stored in a file.  Look for the file I suggested earlier.  
bacamaroAuthor Commented:
I have all of that but the problem is that Win 2k stores information on DNS in the registry and it won't access the zone files under that directory unless those entries are in the registry. I've been able to load the hive into a computer and view the key but I can't export it to a .reg file. I can see it in regedt32.exe but it won't let me export it, and regedit won't even let me load it.
Lee W, MVPTechnology and Business Process AdvisorCommented:
Enlighten me - which keys are you looking at - I checked HKLM\System\CurrentControlSet\Services\DNS and everything there seems to be service related - zones being irrellevent.  Have you tried to recreate the zone, stop the DNS server, replace the zone file, and restart the zone?
bacamaroAuthor Commented:
There is also a HKLM\Software\Microsoft\WindowsNT\currentversion\DNS Server.

I ended up manually typing in all of the zones because I wasn't getting anywhere.  So the problem has been averted.

As for the registry deal I figured that out. In Win XP you can load and unload the hive files in regedit.exe. So once you load them you can export the keys you want. I guess MS decided to add this to XP because its not in 2k server. Anyways I'm back on track now.. thank you all for your help. If anyone is curious about anything I typed or figured out, I'll keep checking this post for the next day or two and reply as best I can.

Thank you all...

Lee W, MVPTechnology and Business Process AdvisorCommented:
While I'm glad you got things working, I think you went to way too much trouble.  If you recreated the zones and their settings (there are very few), those registry entries would have been recreated for you.  Once there, you could just copy back the old file.  I admit, I haven't tested this, but looking over the keys, I don't see any reason why that shouldn't have worked and taken all of 5 minutes to setup for 2 or 3 domains.
Wayne BarronAuthor, Web DeveloperCommented:
[Leew] has a point here.
On my WinNT4 Server, Sometimes the DNS goes bad on it.
I have a backup off all zones that are located in:
C:\WinNT\System32\DNS (By the way Leew. Win2k is the same drive structor as NT4
So it is not : C:\Windows it is C:\WinNT. Unless when installing Win2k, you specified
Using the C:\Windows instead of the defualt C:\WinNT )

The only thing that I do, is Delete out everything in the DNS Folder.
EXCEPT the [cache] file.
Then I move everything back over, and the restart DNS and wa-la
Everything goes back to working.
Once DNS is running, It recreates the Registry Keys that are needed for
It to boot and run properly for DNS.

So keep that in mind. Make a Backup of this folder.
So if this ever happens again, you will have it.
As for editing the Registry and adding in all that information by hand.
Leew is Right, that is just "way" to much trouble to go through.
For something that you should have made a Backup for.

To be a good Admin on a Web Server, you always make Backups.
In DNS & IIS Created Zones & Sites.

Good Luck

PAQed with no points refunded (of 500)

Community Support Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.