Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Windows 2000 Registry files copy

Posted on 2000-03-09
13
Medium Priority
?
175 Views
Last Modified: 2010-04-13
Dear Experts:

If I am not mistaken, Registry in Windows 2000 is represented by 5 files (Default, Sam, Security, Software and System) residing in \System32\Config\. Unlike under Windows 98, these files cannot be copied "on the fly", i.e. directly *from within* Windows (in order to create backups, for exapmple). What can I do if I want to get copies of exactly these files (not whole "exported" registry, or odd registry subkeys) without unloading windows (dropping out to DOS, etc.)? Are there any work-arounds?
Your advice will be highly appreciated.

Respectfully,
PP
0
Comment
Question by:ppdanila
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
13 Comments
 
LVL 63

Expert Comment

by:SysExpert
ID: 2602570
Create an emergency boot disk. Under NT4 it used to be rdisk /s. I'm not sure about W2k. On the emergency floppy it keeps a compressed version of all 5 files, and also backs them up in the \winnt\repair dir.
I'll check what w2k uses and get back to you.
0
 
LVL 63

Accepted Solution

by:
SysExpert earned 225 total points
ID: 2602596
OK, choose Help from the Start menu and do a search for ERD, it says - how to create and Emergency....
There is a shortcut to the backup program and instructions.
It runs from the backup program now.
I hope this helps.
0
 

Author Comment

by:ppdanila
ID: 2602937
Hi,
Thank you, but I'm not interested in an emergency disk. Besides, these files cannot possibly be put on a floppy, for they are more than 10 MB. I would like a copy on the HD - not a compressed one, - and am looking for a tool to obtain such.

PP
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 63

Expert Comment

by:SysExpert
ID: 2603118
Doesn't the backup program allow backing up the registry /system files? It should allow this by choosing to backup any file in the winnt dir and checking the bacjup local registry option.  As for the
5 files (Default, Sam, Security, Software and
                    System) residing in \System32\Config\.
Don't forget that the ERD compresses them to fit on a floppy !! This is also how the repair function is supposed to work when it requests the ERD. I'll see if there is another way, but an ERD is important in any case !
0
 

Author Comment

by:ppdanila
ID: 2605963
Hi,
No, it doesn't, not in a way I am thinking about (like copying *individual* files to a different location), because msbackup converts any file, any directory, or any number of files into another compressed *file*, a kind of an archive of a non-conventional format. I don't like this procedure.

But, I think that I'll accept your previous comment as an answer, because now I understand clearly, that using msbackup utility is - so far - the only way to cheat Windows a little. While pretending we are trying to create an ERD, we can "backup" the Registry files to the Repair Folder, and then copy them from there to any location.

The only thing I don't quite understand is why the Registry files created in the Repair Folder *differ in size* from those in \System32\Config? Don't you think it's very unusual? What is the trick? Maybe, you can enlighten me?

Anyway, Thank you and All The Best,
PP
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 2606109
Like I mentioned. When creating an ERD ,Windows creates a special compressed version so that it WILL fit on a floppy. The registry is a database, and a lot of compression can be done on it. The same goes for most of the other security related files. Lucky for us databases compress so well !!
0
 

Author Comment

by:ppdanila
ID: 2606589
I see. But the 5 files created in the Repair\Backup Folder are unlikely to be compressed variants. They are apparently regular copies of the original files. Therefore, I can't understand why they are of different size.
PP
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 2608654
The repair directory is used for a backup copy, and is full size so that if windows has problems booting, it can immediately restore from the repair directory without having to worry about decompressing the files. Also on the hard disk, NT does not normally worry much about file size. On floppies, it has no choice but to compress them. The ERD ( rdisk program on NT4 ) when run as rdisk /s would first backup the files to the repair directory, and then ask you if you wanted a diskette ERD, and it would then compress them onto the floppy. I hope this helps.
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 2608656
The repair directory is used for a backup copy, and is full size so that if windows has problems booting, it can immediately restore from the repair directory without having to worry about decompressing the files. Also on the hard disk, NT does not normally worry much about file size. On floppies, it has no choice but to compress them. The ERD ( rdisk program on NT4 ) when run as rdisk /s would first backup the files to the repair directory, and then ask you if you wanted a diskette ERD, and it would then compress them onto the floppy. I hope this helps.
0
 

Author Comment

by:ppdanila
ID: 2608757
When I said "different in size", actually I meant that they are a bit smaller, but not compressed. If files in the Repair Folder are supposed to be *regular copies* of the authentic Registry Files, why then they are not exactly the same? That's what I don't understand.
PP
0
 

Author Comment

by:ppdanila
ID: 2608779
Besides that, I cannot see RDISK in Windows 2000. I am afraid, it doesn't exist in NT5. Or, it would have been extremely convenient to run rdisk /s for my purposes. Very unfortunate.
PP
0
 
LVL 63

Expert Comment

by:SysExpert
ID: 2609758
Thr registry  has both dynamic and static elements. Part of the directory is created while booing ( dynamic ) while the rest is read directly from the reg files. The backups do not contain the dynamic part of the files/registries/databases. I hope this helps explain things.
0
 

Author Comment

by:ppdanila
ID: 2610252
Thank you for the explanation. Now I feel convinced and calmed down. By the way, thanks to yor help, my batch procedure for system and sensitive files backup has been completed by now. I am satisfied.
PP
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Geo-targeting is the practice of distributing content based on a person’s location, as best as you can determine it. Let’s look at some ways you could successfully use this tactic. The following tips and case studies could lead to meaningful results.
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

618 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