I have a SQL server 2012 installed on Windows 2012.
The last five times the server rebooted, the SQL server did not start at system startup.
When I then log in as administrator, opened services.msc and try to start the "SQL Server (MSSQLSERVER)" service manually, the error is
Error 1069: The service did not start due to logon problems.
Every time, I have to click "Properties", "Log On", clear the password field, click "OK" and then I can start the SQL server service.
Why does the service always forget that the empty password is correct? How to fix?
I already tried a repair install of SQL server, but this didn't change the behaviour.
EDIT: I have found that this could be caused by something or someone resetting the "Login As A Service" permission on that account. The suspect named is GPO, but I did not find an GPO Event 1502 in the event log.
NT Service\MSSQLSERVERaccount? – Alexander Jun 30 '17 at 08:58lusrmgr.msc. The Notation of your user is a bit strange. Is it NT Service or should it be MSSQLSERVER? Usually you identify a user using the domain. So e.g. MYSERVER\MSSQLSERVER or MYDOMAIN\MSSQLSERVER. – Seth Jun 30 '17 at 09:04NT Service\MSSQLSERVER. This setup worked for about three years, the problems started recently. – Alexander Jul 03 '17 at 07:13gpresult /H gpreport.htmlfrom an elevated command prompt on the server in question and then upload it somewhere I can look it over when you get a chance. The file output name will be gpreport.html and this is the file I'd like to review once you run it from an elevated command prompt while signed onto the SQL Server. I assume you are signed on as a domain account as well but I'll take whatever you get regardless to look it over for you.... You can usegpresult /H C:\folder\path\gpreport.htmland change the path so you know where to drop it. – Vomit IT - Chunky Mess Style Jul 04 '17 at 01:49