Take a look at this. It may prove helpful.
279664 How to Set Logon User Rights with the Ntrights.exe Utility
http://support.microsoft.com/?id=279664
--------------------
> From: =?Utf-8?B?Smlt?= <(E-Mail Removed)>
> References: <217096C0-A766-47DD-B95F-(E-Mail Removed)>
<h0ryb.15368$(E-Mail Removed)>
> Subject: Re: Grant user Logon as a service right
> Date: Sun, 30 Nov 2003 13:36:05 -0800
>
> I understand how to do it via the local security policy and the
snap-in... I'm really trying to do it programmatically as part of my
install so end users don't need to perform the task manually. I've read
something about templates, but really have no idea how to create one. Is
there any good documentation on this and can I import only the specific
entries I want, or do I have to import an entire policy?
>
This posting is provided "AS IS" with no warranties, and confers no rights.