Solved

Backuping the Registry in NT

Posted on 2000-02-21
4
193 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
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 how to clear a vector as well as how to detect empty vectors in C++.

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