How to reset the logon for the sql server services?

Cataster 681 Reputation points
2021-08-23T01:58:50.14+00:00

I changed the logon from NT service accounts to my local account at some point for testing purposes. Now I want to reset this logon back, however, I do not know the credentials!

Is there a way to reset this back to the default logons? Or do i have to uninstall/reinstall sql server so that it resets back to the NT service account logons?

125415-image.png

SQL Server | Other
0 comments No comments
{count} vote

Accepted answer
  1. CathyJi-MSFT 22,396 Reputation points Microsoft External Staff
    2021-08-23T02:50:11.787+00:00

    Hi @Cataster ,

    You can change this through SSCM(SQL server configuration manager). Please follow below steps;

    1. Open SQL Server Configuration Manager and select the SQL Server Services page.
    2. Double-click on the service you want to configure. The Properties dialog box opens automatically on the Log On page.
    3. In Log on as, choose this account, type NT Service\MSSQL$<instance name> for named instance or NT Service\MSSQLSERVER for the default instance.
    4. Leave the Password and Confirm password fields blank. Click on Apply. It will restart your service.
      125482-screenshot-2021-08-23-104627.jpg
      125474-screenshot-2021-08-23-104640.jpg

    Change the SQL server agent service account like above steps.


    If the response is helpful, please click "Accept Answer" and upvote it, as this could help other community members looking for similar thread.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.