Solved

Backuping the Registry in NT

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
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 be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

932 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

11 Experts available now in Live!

Get 1:1 Help Now