Save a registry branch to file without admin privileges?

Is it possible to use MFC to save a registry branch ( HKEY_CURRENT_USER\Software\XXX\YYYY ) to a file if the user running the program does not have administrative privileges? The program currently uses ::RegSaveKey( hKey, fileName, NULL ) but this fails when it is run on a non-admin account (because SetPrivilege can't adjust SE_BACKUP_NAME, right?). Ultimately, the saved registry data needs to be re-loaded on a different machine with a different program (also MFC) so the file has to be something MFC can deal with.
rosenavAsked:
Who is Participating?
 
jkrConnect With a Mentor Commented:
Any non-admin can have 'SE_BACKUP_NAME', that is not the point. However, it has to be granted to the account before you can enable it.
0
 
jkrCommented:
This question is answered. Furthermore, there was over a week of time to ask if something was unclear.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.