Service Logon Only Works As Administrator
Posted on 2008-06-12
Hi All - I have a service running on our Windows 2003 Server system that runs great when it logs on as Administrator. I would much rather have it run as a different user. I created a new user and added the user to the Administrators group. Now when the service tries to logon it fails with a COMException error 80004005. Switching the service back to Administrator and it works great. Interestingly when the service runs on an XP or Vista machine it runs fine with the new user. First question is are there capabilities that 'Administrator' has beyond what you get by being in the Administrator group? Is it possible to add those capabilities to the new user? Apparently, Service Logon is one of those. Finally, I understand that a likely meaning of the 80004005 is a permission violation. I have every directory where something resides for the service set to have full control for the Administrators group, but no luck. Thanks in advance...