I have a windows service, written in c++, and I need it to start with privileged rights eg. administrator or system. The service needs access to %SYSTEMROOT%, %USERPROFILES%, %TEMP% and so on. The service will run under windows XP and 7.
The service is going to be deployed using GPOs, so local accounts can't be used.
Can I set the user in the service itself? If, how? And if not, how can I deploy it using GPO?
Any ideas? Thanks