?
Solved

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

Posted on 2004-11-18
13
Medium Priority
?
143 Views
Last Modified: 2010-04-13
Hi,
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

Brian
0
Comment
Question by:bacamaro
11 Comments
 
LVL 97

Expert Comment

by:Lee W, MVP
ID: 12620749
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
0
 
LVL 1

Expert Comment

by:tbarkdull1
ID: 12621083
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
0
 
LVL 12

Expert Comment

by:valicon
ID: 12621260
Was this DNS server using Active Directory Integrated zones?
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:bacamaro
ID: 12621670
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.
0
 
LVL 97

Expert Comment

by:Lee W, MVP
ID: 12621708
DNS that comes with 2K - then it's stored in a file.  Look for the file I suggested earlier.  
0
 

Author Comment

by:bacamaro
ID: 12621934
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.
0
 
LVL 97

Expert Comment

by:Lee W, MVP
ID: 12622328
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?
0
 

Author Comment

by:bacamaro
ID: 12622413
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...

Brian
0
 
LVL 97

Expert Comment

by:Lee W, MVP
ID: 12622434
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.
0
 
LVL 31

Expert Comment

by:Wayne Barron
ID: 12625191
[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

Carrzkiss
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 14512722
PAQed with no points refunded (of 500)

modulo
Community Support Moderator
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
This holiday season, we’re giving away the gift of knowledge—tech knowledge, that is. Keep reading to see what hacks, tips, and trends we have wrapped and waiting for you under the tree.
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Loops Section Overview
Suggested Courses

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question