My work machine is configured so that every time I log off everything is reset. I need to run a service and I have everything automated so far except assigning the service user the rights to "Log on as a service". To manually do this task you would:
- Run secpol.msc
- Goto Local Policies > User Rights Assignment > Log on as a service
- Add the user
I want to automate this. How would I do this via the command line in Windows XP SP3?
Update:
- I can't rely on something that requires to be installed.
- I don't have PowerShell installed on the machine