Solved

Backuping the Registry in NT

Posted on 2000-02-21
4
191 Views
Last Modified: 2010-05-18
I am trying to save a Registry's KEY using the command  RegSaveKey().
I get an error message "The specified module could not be found" and an empty file is created.
Has anybody an answer to this problem?
I am administrator on my computer, working with NT4

Thank
0
Comment
Question by:Pablo_K
  • 2
4 Comments
 
LVL 3

Expert Comment

by:ufolk123
ID: 2545203
Check the validity of key you are passing to RegSaveKey()using RegQueryValue() API. May be the Key value is not correct.

0
 

Author Comment

by:Pablo_K
ID: 2545222
The KEY was open correctly.
May be there is a problem of rights?
0
 

Accepted Solution

by:
cclain earned 100 total points
ID: 2545733
In order to perform this operation, you need a specific user right:
'Back up files and directories'
If not, your file will be created but you will not be allowed to retrieve information
0
 

Author Comment

by:Pablo_K
ID: 2554770
I am Administartor on my computer, as I see in UserManager , as admionistartor I have the right 'Back up files and directories', but I think really that the problem is arround this.
If I open Regedit I success to make backup to the Registry, may be this can give you some hints

Thank you
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

Suggested Solutions

Title # Comments Views Activity
Prototype for MessageDlg in Embacadero XE 2 2 42
Getting IP address 8 89
Error C2678: binary '!=': no operator found... 4 57
Outlook 13 41
Introduction This article is the first in a series of articles about the C/C++ Visual Studio Express debugger.  It provides a quick start guide in using the debugger. Part 2 focuses on additional topics in breakpoints.  Lastly, Part 3 focuses on th…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

809 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