• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 197
  • Last Modified:

Backuping the Registry in NT

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
Pablo_K
Asked:
Pablo_K
  • 2
1 Solution
 
ufolk123Commented:
Check the validity of key you are passing to RegSaveKey()using RegQueryValue() API. May be the Key value is not correct.

0
 
Pablo_KAuthor Commented:
The KEY was open correctly.
May be there is a problem of rights?
0
 
cclainCommented:
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
 
Pablo_KAuthor Commented:
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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now