September 22nd, 2008, 11:28 AM
-
Windows service losing password configuration
Hi,
I have a windows service running on Windows Server 2003 Standard Edition, SP1. The service is setup with a start-up type of "Automatic", and to log on as a specified local user account, which is a member of the Administrators group, and has a password set to never expire. After a system reboot, the service often fails to start. When attempting to restart the service manually, I get a message that the stored password is incorrect. I then go into the service properties, re-type the password into the appropriate fields, click OK, and attempt to restart the service manually again. Now it starts ok. What might be the cause of the password being lost and needing to be reset like this on a reboot?
Thanks in advance for any thoughts.
January 24th, 2012, 01:56 PM
-
How to fix windows service fail to start on reboot password fail
This is probably occurring because:
1. You are using a Domain Account as the user to run the service as
2. Your default domain policy (or another GPO) have explicitly listed which users are granted the “Login as service” right (and user from #1 is not in that list)
I created a post on how to fix this at:
brakertech.com/windows-service-lost-password/
Comments on this post
January 29th, 2012, 08:03 AM
-
I have a windows service running on Windows Server 2003 Standard Edition, SP1. The service is setup with a start-up type of "Automatic", and to log on as a specified local user account, which is a member of the Administrators group, and has a password set to never expire. After a system reboot, the service often fails to start. When attempting to restart the service manually, I get a message that the stored password is incorrect. I then go into the service properties, re-type the password into the appropriate fields, click OK, and attempt to restart the service manually again. Now it starts ok. What might be the cause of the password being lost and needing to be reset like this on a reboot?
For this event of failed authentication, a log should be generated in Event Viewer.
Can you please let us know the exact error message it reported in your Event Viewer ?
July 25th, 2013, 03:43 PM
-
Originally Posted by ssstonebraker
This is probably occurring because:
1. You are using a Domain Account as the user to run the service as
2. Your default domain policy (or another GPO) have explicitly listed which users are granted the “Login as service” right (and user from #1 is not in that list)
I created a post on how to fix this at:
brakertech.com/windows-service-lost-password/
Thanks for the link