G
Guest
Hi,
I log in as a administrator, then compile and run the following code on a
computer:
#include "stdafx.h"
#include <windows.h>
int _tmain(int argc, _TCHAR* argv[])
{
long l = ::RegLoadKey(HKEY_USERS,L"XXXX",L"D:\\NTUSER.DAT");
return 0;
}
I get a 1314(A required privilege is not held by the client ) error when
call RegLoadKey, but i am an administrator!!! What the hell?
Thanks in advance
-Joe
I log in as a administrator, then compile and run the following code on a
computer:
#include "stdafx.h"
#include <windows.h>
int _tmain(int argc, _TCHAR* argv[])
{
long l = ::RegLoadKey(HKEY_USERS,L"XXXX",L"D:\\NTUSER.DAT");
return 0;
}
I get a 1314(A required privilege is not held by the client ) error when
call RegLoadKey, but i am an administrator!!! What the hell?
Thanks in advance
-Joe