locked
backup reg hive files RRS feed

  • Question

  • Using http://support.microsoft.com/kb/240184 I'm able to open SAM, SOFTWARE, SYSTEM reg hives, but I do not know the next step to get them copied in a different backup folder? I get Access Denied when I try to use BackupRead API. Any help is much appreciated!
    Friday, October 16, 2009 9:53 AM

Answers

  • Hi,

    Are you P/Invoking the method()? Or
    Are you calling it inside a C++ Win32(R)-based program code?

    Please provide some details...!

    You actually, need to UAC elevate the application and then you're able to
    modify, or back-up the reg hive files.

    Also: You can manually, back-up Windows registry.

    Steps to Follow:

    1. Click Start and in the Instance Search type "Regedit", as it appears in the
        search result, please, just press Enter to execute the "Regedit".
        Tip: You can press Windows + R from your keyboard and then, type "regedit" and press Enter to start Windows Registry Editor.
    2. Right-click on Computer and choose "Export" and name the *.reg file and click Save or press Enter.
    3. That's it.

    Simple and fast!

    I hope this helps...

    BTW, as I told you before, provide some details...thanks!

    Have a nice day...

    Best regards,
    Fisnik
    Coder24.com
    • Proposed as answer by Fisnik Hasani Wednesday, October 28, 2009 11:56 AM
    • Marked as answer by sea1 Thursday, October 29, 2009 7:01 PM
    Saturday, October 24, 2009 12:37 PM

All replies

  • Hi,

    Are you P/Invoking the method()? Or
    Are you calling it inside a C++ Win32(R)-based program code?

    Please provide some details...!

    You actually, need to UAC elevate the application and then you're able to
    modify, or back-up the reg hive files.

    Also: You can manually, back-up Windows registry.

    Steps to Follow:

    1. Click Start and in the Instance Search type "Regedit", as it appears in the
        search result, please, just press Enter to execute the "Regedit".
        Tip: You can press Windows + R from your keyboard and then, type "regedit" and press Enter to start Windows Registry Editor.
    2. Right-click on Computer and choose "Export" and name the *.reg file and click Save or press Enter.
    3. That's it.

    Simple and fast!

    I hope this helps...

    BTW, as I told you before, provide some details...thanks!

    Have a nice day...

    Best regards,
    Fisnik
    Coder24.com
    • Proposed as answer by Fisnik Hasani Wednesday, October 28, 2009 11:56 AM
    • Marked as answer by sea1 Thursday, October 29, 2009 7:01 PM
    Saturday, October 24, 2009 12:37 PM
  • Hi,
    thank you very much for your time! I really appreciate it!

    I changed my initial design and now I do not need to use all that Backup API. So, my problem seems solved!

    Thank you again!
    • Proposed as answer by Fisnik Hasani Wednesday, October 28, 2009 11:56 AM
    Monday, October 26, 2009 1:21 PM
  • Hello sea1:

    Good wonderful, is this thread now solved?

    Please tell me!

    Have a nice day...

    Best regards,
    Fisnik
    Coder24.com
    Monday, October 26, 2009 5:43 PM
  • Yes, it is solved! Thank you!
    Tuesday, October 27, 2009 10:12 PM
  • Yes, it is solved! Thank you!
    Mark something as answer then, so we can close this issue and continue....Thanks!

    Coder24.com
    Wednesday, October 28, 2009 11:52 AM