Page 1 of 3 123 LastLast
Results 1 to 15 of 38

Thread: Import Registry

  1. #1
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Import Registry

    How do you import a full copy of the registry?
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  2. #2
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Import Registry

    Which platform, Doc? You can't do it while the OS is running....
    -Mark

  3. #3
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Import Registry

    Hi Mark !! <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    I'm asking for a friend. I'm pretty sure he's running XP Pro SP-1. I don't have much to do with the registry so I figured I'd ask some folks who know about these things. I did a Google search and sent him the sites I thought would help. But it was all Greek to me. something about a command line tool in XP.

    Can you clarify it for me ??
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  4. #4
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Import Registry

    From one of those pages.....

    There are many ways to change the registry values. But, Windows XP comes with a Console Registry tool. Using this tool we can change edit the registry right from DOS.
    To use this tool go to c:>windows> and type reg.

    REG IMPORT is used to import registry entries from disk file. The syntax for this operation is as follows:
    REG IMPORT FileName
    FileName The name of the disk file to import (Local machine only)
    Example:
    REG IMPORT AppBkup.reg
    Imports registry entries from the file AppBkup.reg
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  5. #5
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Import Registry

    You've already identified the command line tool. But keep in mind that you can't import an entire registry - unless you want to deal with the Recovery Console. For what it's worth, I always boot into the Recovery Console after a clean and working install of Windows, and then manually copy the registry hives to a location that Windows doesn't look for by default. In the event of a catastrophe, I can get back to that fresh install state without the hassle of reinstalling.

    If that sounds interesting, let me know....it's way past my bedtime! <img src=/S/nosleep.gif border=0 alt=nosleep width=27 height=15>
    -Mark

  6. #6
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Import Registry

    Thanks Mark.

    Like I said the registry is a place that holds many mysteries for me. <img src=/S/dizzy.gif border=0 alt=dizzy width=15 height=15> But I'll see if this info is of interest to my friend and let you know. Any reason why you can't import an entire registry ??? And as for the Recovery Console..... hope I never get sick enough to need it !!! <img src=/S/laugh.gif border=0 alt=laugh width=15 height=15>

    BTW - I've heard that man does not live by bread alone......... sleep helps too. <img src=/S/smile.gif border=0 alt=smile width=15 height=15> For parents as well as children. How do you keep up ???
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  7. #7
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Import Registry

    Since the files that comprise the registry are in use while Windows is up, you can't import everything. The security of the NT platforms prevents it as well - it would be a bad thing if you could overwrite the security hive of the registry while logged in. Very bad, indeed.

    How do I keep up? Lots of caffeine, and the ability as a parent to set a bedtime for the little ones that is a few hours ahead of my own. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    -Mark

  8. #8
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Import Registry

    <hr>I always looked at Windows as kind of a "skin" for DOS. It's really not that simple after all.<hr>
    In the days of Windows 3.x, it was a skin - such as it may have been. This concept was arguable in Windows 95 and a little less so in 98 and ME - but they still shared the same underpinnings, the same file system, and some of the same resource limitations.

    In the case of the NT code base, which includes NT 3.x all the way through Windows 2000/XP, there was never any DOS. The Windows shell is somewhat of a skin to a robust operating system underneath those shiny trappings, but it's married to the GUI. In Windows NT systems, you can do nearly everything essential from the command line without loading the GUI, but many things are difficult if not impossible to do because of the marriage. This is unlike Linux, where you can get different window managers/desktop environments (KDE et al) or simply run from the command line. Linux junkies, by and large, don't care for window managers and are comfortable with the command line.

    Sorry, didn't mean to get all philosophical, but understanding the difference between DOS, the GUI, and a true command line can help make the computing experience easier. <img src=/S/smile.gif border=0 alt=smile width=15 height=15>
    -Mark

  9. #9
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,592
    Thanks
    5
    Thanked 1,059 Times in 928 Posts

    Re: Import Registry

    Doc, It is important to understand what each of the options for 'reg' does. I believe that import merges the specified file into the registry. So, merging a full hive could have unintended, bad consequences. Make sure you carefully review each option before attempting to use 'reg'.

    Joe
    Joe

  10. #10
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Import Registry

    Thanks for the warning Joe. <img src=/S/smile.gif border=0 alt=smile width=15 height=15> Personally, I never go near the registry without having GoBack up and running and ready to save my butt !!! <img src=/S/yep.gif border=0 alt=yep width=15 height=15> Of course, GoBack is a Windows system utility and once I get to a DOS prompt I'm not sure how much protection it offers. Probably System Restore is a better choice on this one for us "new age" (post-Windows 95) techies.
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  11. #11
    Silver Lounger Bruce K's Avatar
    Join Date
    Apr 2002
    Location
    Phoenix, Arizona, USA
    Posts
    1,876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Import Registry

    Hi, Mark ~
    <hr><small>I always boot into the Recovery Console after a clean and working install of Windows, and then manually copy the registry hives to a location that Windows doesn't look for by default.</small><hr>
    Okay, so you are saying if you start from scratch, get all your apps in place, finalize all your config and user settings, everything perfect and tidy just the way you want/need it - then you copy the reg, right? You store it somewhere on your HD. Now, you are in a situation in which you would like to "get back to that fresh install state without the hassle of reinstalling". What would you do next?

    I consistently see advice to back up the registry, but unless one is merging onesy-twosy keys or sets thereof, I haven't been able to find a definitively clear ( at least to me) resource describing what and how to make good and proper use of a full, backed-up registry.

  12. #12
    Silver Lounger
    Join Date
    Apr 2001
    Location
    New York, New York, USA
    Posts
    2,328
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Import Registry

    To me, it is much more easy to create an image of "clean" installation on separate hard drive or, better, burn it on CDs. With imaging programs as Symantec Ghost restoring the image takes several minutes only and is as simple as booting from CD. Since hard drives and blank CDs are so inexpensive, I see no need to bother with Registry backup.

  13. #13
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Import Registry

    Hi Bruce,
    While I agree with what kaplinb says about creating an Image of your system using Ghost or Drive Image as the most efficient means of getting back to square one, as it were, the advice to backup the registry is so pervasive that the way to restore a backup should be more readily available. Here's a little something I found with a Google search that might clear things up some..........

    Full registry backup restore in Windows 2000
    Windows 2000 Professional and Server

    If Windows 2000 does start
    Log on to Windows as Administrator.

    To restore the registry to one of it's previous states, you can use either the Start Menu -> Registry Healer group -> Backup -> Registry Restore shortcut or run the program and go to the Action -> Restore the registry from full backup menu command. Also, you can launch the Backup utility from the Programs -> Accessories -> System Tools menu.

    In the Backup utility select the Restore tab, choose the backup media, and then select the System State check box. Keep in mind that Backup will not only restore the registry, but it will also restore all of the system state data.

    Note that after the System State restoration process is completed, you need to shut down and restart the system. You won't see the results of the restoration immediately.

    Wizard Tip: When you start Windows 2000, you can instantly restore the most recent copy of the registry. To do so, restart your system and when you see the "Please Select the Operating System to Start" message, press [F8] and then use arrow keys to select the "Last Known Good Configuration" option and press [Enter]. You can also use this quick restore technique in Windows NT.

    If Windows 2000 does not start
    If Windows does not start, restart Windows by using the "Last Known Good Configuration feature": start the computer and then press the F8 key when Windows begins to start. The Windows Advanced Options menu appears.

    Use the ARROW keys to select "Last Known Good Configuration" (your most recent settings that worked), and then press ENTER. Windows will restore the computer to the most recent restore point.

    Warning! Make sure that your backups are current. If you restore an old backup it could be fatal if you've made major changes to the operating system or hardware since the backups were created. For example, if you've installed Internet Explorer 6 and restore your registry from a backup predating that, expect that your computer won't boot properly.
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  14. #14
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Import Registry

    Edited by Doc Watson for clarity
    This site is home to the utility program Registry Healer

    I gotta learn to do ALL the research before I post. Here's the XP info from the same source Go here to find this.........

    Full registry backup restore in Windows XP
    Windows XP Professional and Home Edition

    If Windows XP does start
    Log on to Windows as Administrator.

    To restore the registry to one of it's previous states, you can use either the Start Menu -> Registry Healer group -> Backup -> Registry Restore shortcut or run the program and go to the Action -> Restore the registry from full backup menu command. Also, you can launch the System Restore utility from the All Programs -> Accessories -> System Tools menu.

    System Restore starts. On the Welcome to System Restore page, click "Restore my computer to an earlier time" (if it is not already selected), and then click Next.

    On the Select a Restore Point page, pick a date on the calendar, select in the restore point list the most recent system checkpoint created with Registry Healer, and then click Next. A System Restore message may appear that lists configuration changes that System Restore will make. Click OK.

    On the Confirm Restore Point Selection page, click Next. System Restore restores the previous Windows XP configuration, and then restarts the computer.

    Log on to the computer as Administrator. The System Restore Restoration Complete page appears.

    Click OK.

    For additional information about System Restore in Windows XP, click Help and Support on the Start menu. In the Search box, type "system restore", and then press ENTER.

    If Windows XP does not start
    If Windows does not start, restart Windows by using the "Last Known Good Configuration feature": start the computer and then press the F8 key when Windows begins to start. The Windows Advanced Options menu appears.

    Use the ARROW keys to select "Last Known Good Configuration" (your most recent settings that worked), and then press ENTER.

    If a boot menu appears, use the ARROW keys to select Microsoft Windows XP, and then press ENTER. Windows XP restores the computer to the most recent restore point.

    Warning! Make sure that your backups are current. If you restore an old backup it could be fatal if you've made major changes to the operating system or hardware since the backups were created. For example, if you've installed Internet Explorer 6 and restore your registry from a backup predating that, expect that your computer won't boot properly.
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

  15. #15
    Uranium Lounger
    Join Date
    Mar 2001
    Location
    New Jersey
    Posts
    6,684
    Thanks
    1
    Thanked 11 Times in 11 Posts

    Re: Import Registry

    Every time I come to the lounge it seems I learn a bit more about these infernal machines. The logic of what you said escaped me before, but it makes perfect sense in hindsight. How can you move something somewhere else and leave it there when you're using it here ??? <img src=/S/hairout.gif border=0 alt=hairout width=31 height=23> <img src=/S/dizzy.gif border=0 alt=dizzy width=15 height=15>

    Seriously..... thank you for that. It made that whole idea of the need to use the command prompt for certain things clear to me at last. I always looked at Windows as kind of a "skin" for DOS. It's really not that simple after all.
    <IMG SRC=http://www.wopr.com/w3tuserpics/DocWatson_sig.gif>

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •