error 1314: A required privilege is not held by the client.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi All,

I have a program, running as a service, that accept connection from a
client. If the program is running under LocalSystem account, it works fine.

However, if I run the program from a command line (which means it runs under
my domain account, which is a member of the Local Aminitrator group), it
failed with the error

error 1314: A required privilege is not held by the client.

How do I give my domain account the same privilege that the LocalSystem
account has?

Thanks.
 
Assign the user account that XYZ services runs under to Act as part of the
operating system in the user rights policy.

Local Security Settings
Act as part of the operating system
Computer Configuration\Windows Settings\Security Settings\Local
Policies\User Rights Assignment

Act as part of the operating system HELP, paste the following line into
Start | Run and click OK...

hh spolsconcepts.chm::/525.htm

error 1314: A required privilege is not held by the client
http://www.google.com/search?as_q=&...as_dt=i&as_sitesearch=&as_rights=&safe=images


--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Thanks Wesley,

Actually, adding my domain account to the "Act as part of the operating"
does not help.
However, you Url linked me to the web-page where I found the solution.
Basically, instead
of adding my domain user account to the "Act as part of the operating", I
have to add my domain
user account to the "Replace a process token level", and that works.

DQ
 
I was close. Glad you got it figured out, DQ.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In
 
Back
Top