From: Hector Santos on
I'm having trouble getting my "administrator" account to adjust the
privilege to SE_LOCK_MEMORY.

I have the user policy set.

I'm following the MSDN example to test AWE
(AllocateUserPhysicalPages), but can't get by setting SE_LOCK_MEMORY
first.

Googling points the same user policy setting for Lock Pages In Memory.

The error returned by AdjustTokenPrivileges() is 1300 -
ERROR_NOT_ALL_ASSIGNED

What else needs to set on the machine?

This is a XP/PRO box.

Thx

--
HLS