Solved

Backuping the Registry in NT

Posted on 2000-02-21
4
187 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

707 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now