SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Service Account in Registry


Service Account in Registry

Author
Message
jayoub
jayoub
SSCertifiable
SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)

Group: General Forum Members
Points: 5829 Visits: 714

I am hoping you can help me although this might be awindows issues. My system administrators are unable to resolve this so I am hoping someone may have dealt with this issue before.

I am running Windows Server 2012 with SQL Server 2014 SP2CU8 and all is well

We have configured a security audit within SQL Serverthat is set to

A: On Audit Log Failure – Shut down server

B: Audit Destination – Security Log

So in order for SQL Server to be able to write to theWindows Event – Security log we gave the account that runs the SQL ServerService full control to the “Security” folder in the registry HKLM\SYSTEM\CurrentControlSet\Services\EventLog\Security.

Also the account we are using is a virtual serviceaccount generated by SQL server.

The problem is that every once in a while when rebootingthe sever The virtual service account NT SERVICE\MSSQL$instance is dropped fromthe “Security” folder permissions. Then of course when SQL server cannot write to the Security Log it shuts down theservice

Has anybody seen this issue before. I know that the system administrators are constantlyimplementing new security procedures via GPO and they are always installingWindows patches.

Any feedback is appreciated.



Jeff
jayoub
jayoub
SSCertifiable
SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)

Group: General Forum Members
Points: 5829 Visits: 714

This issue has shown up again.
Again the networking group installs windows updates and after rebooting theserver my SQL Instance starts and immediately shuts down

To help figure out the issue I will be uninstalling the updatesand installing them back one by one and rebooting after each install. Once complete I hope to figure what or if theKB is causing this issue.

I will let you know.



Jeff
jayoub
jayoub
SSCertifiable
SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)SSCertifiable (5.8K reputation)

Group: General Forum Members
Points: 5829 Visits: 714
I found out that KB4088876 - Security Montly Quality Rollup for Windows Server 2012 R2 for x64-based system caused this problem. It happened while both uninstalling and installing the KB. We will now pick this update appart to determine why this is happening and why it happened both in February and in March.





Jeff
Jeff Moden
Jeff Moden
SSC Guru
SSC Guru (870K reputation)SSC Guru (870K reputation)SSC Guru (870K reputation)SSC Guru (870K reputation)SSC Guru (870K reputation)SSC Guru (870K reputation)SSC Guru (870K reputation)SSC Guru (870K reputation)

Group: General Forum Members
Points: 870151 Visits: 47415
Awesome... You asked the question and you're answering it with some pretty good stuff. Thanks for taking the time, Jeff!

--Jeff Moden

RBAR is pronounced ree-bar and is a Modenism for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair

Helpful Links:
How to post code problems
How to post performance problems
Forum FAQs
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search