How do I grant specific privileges (not permissions) to a specific user? I'm confused because it seems there are "permissions" and "privileges" and I need to be able to grant the SE_SYSTEMTIME_NAME privilege so that a piece of software I wrote can modify the system clock in Windows 7. Apparently I need this privilege granted so I can make the the call to SetSystemTime defined by:
Declare Function SetSystemTime Lib "Kernel32.dll" (ByRef lpSystemTime As SYSTEMTIME) As UInt32
However, I am unclear as to how to grant this privilege. I do have Administrator permissions so I should be able to enable this privilege. I've been going crazy trying to figure this out. Any help on how to st privileges within Windows 7 would be greatly appreciated.
In short I want to know how to use the Windows 7 user interface or system utility to grant the SE_SYSTEMTIME_NAME privilege to my account. How do I get this privilege granted so I can set the system time?