Hi All,
The problem I'm faced with is :
RegSaveKey() and RegRestoreKey()function under NT return ERROR_PRIVILEGE_NOT_HELD error code.
Does anyone know how to fix that error ?
Thanks in advance,
Myo
Printable View
Hi All,
The problem I'm faced with is :
RegSaveKey() and RegRestoreKey()function under NT return ERROR_PRIVILEGE_NOT_HELD error code.
Does anyone know how to fix that error ?
Thanks in advance,
Myo
For RegSaveKey under Windows NT, the calling process must have the SE_BACKUP_NAME privilege enabled.
For RegRestoreKey under Windows NT, the calling process must have the SE_RESTORE_NAME privilege enabled.
Check out privileges and security attributes in the docs.
Dave