Nt service mssqlserver какой пароль
Перейти к содержимому

Nt service mssqlserver какой пароль

  • автор:

default password of NT SERVICE/MSSSQLSERVER account

A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.

11,853 questions
Sign in to follow
0 comments No comments Report a concern
I have the same question 0 votes

3 answers

Sort by: Most helpful
Most helpful Newest Oldest

Erland Sommarskog 96,056 Reputation points
2021-07-29T11:44:35.327+00:00

If you mean the account NT Service\MSSQLSERVER, this account is created by Windows and controlled entirely by Windows. It is nothing you can retrieve. Is there any particular reason you are looking for this password?

0 comments No comments Report a concern
YufeiShao-msft 7,031 Reputation points
2021-07-30T05:55:57.2+00:00

Hi @palani sam , Welcome to Microsoft Q&A! NT SERVICE\MSSQLSERVER is a virtual account. the password of the virtual account is automatically managed. You won’t find these virtual accounts listed in Local Users and Groups or Active Directory Users, they cannot be created, deleted, or edited and you can’t change their password. They are not in the built in account list and you won’t find them if you browse for an account. Please refer to the following document about configuring windows service account for SQL Server.
https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/configure-windows-service-accounts-and-permissions?view=sql-server-ver15

0 comments No comments Report a concern

Javier Villegas 800 Reputation points • MVP
2023-08-09T18:05:53.9433333+00:00

Hi @palani sam NT SERVICE/MSSSQLSERVER is a virtual account managed by the OS so you won’t have access to the password. if you need , you can use a regular windows service account (where you can set the local server rights as well as the password) here is an interesting link explaining all about service accounts for SQL Configure Windows service accounts and permissions

Nt service mssqlserver какой пароль

Сообщения: 8
Благодарности: 1

Извиняюсь.
Вот ошибка запуска:

Event Type: Error Event Source: Service Control Manager Event Category: None Event ID: 7041 Date: 08.11.2012 Time: 11:26:17 User: N/A Computer: d-comp Description: The SQLSERVERAGENT service was unable to log on as domain\user with the currently configured password due to the following error: Logon failure: the user has not been granted the requested logon type at this computer. Service: SQLSERVERAGENT Domain and account: domain\user This service account does not have the necessary user right "Log on as a service." User Action Assign "Log on as a service" to the service account on this computer. You can use Local Security Settings (Secpol.msc) to do this. If this computer is a node in a cluster, check that this user right is assigned to the Cluster service account on all nodes in the cluster. If you have already assigned this user right to the service account, and the user right appears to be removed, a Group Policy object associated with this node might be removing the right. Check with your domain administrator to find out if this is happening. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Учетка domain\user в локальной политике «Log on as a service.» прописана. Соответствующая ей доменная политика в статусе «Not Defined». Можно ли как-то внести изменения в локальную политику «Log on as a service.», она у меня не доступна для редактирования?
Служба «Защищенное хранилище» (Protected Storage) запущена и в журнале событий про нее ничего нет.

да. там еще одна ошибка. сразу за первой.

Event Type: Error Event Source: Service Control Manager Event Category: None Event ID: 7000 Date: 08.11.2012 Time: 11:26:17 User: N/A Computer: d-comp Description: The Агент SQL Server (MSSQLSERVER) service failed to start due to the following error: The service did not start due to a logon failure. For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Службы SCM. Изменение пароля учетных записей

В этом разделе описан способ изменения паролей для учетных записей, используемых ядром СУБД и агентом SQL Server в SQL Server, с помощью диспетчера конфигурации SQL Server. Ядро СУБД SQL Server и агент SQL Server запускаются на компьютере как службы, с заданными при установке учетными данными. Если экземпляр SQL Server запускается в учетной записи домена, а пароль для этой учетной записи изменен, то пароль, используемый SQL Server, необходимо изменить. Если пароль не изменить, то SQL Server может утратить доступ к некоторым ресурсам домена и в случае остановки SQL Server служба не перезапустится до тех пор, пока не будет изменен пароль.

Сведения об изменении паролей для проверки подлинности SQL Server см. в разделе Срок действия пароля истек.

Перед началом

Диспетчер конфигурации SQL Server служит для изменения параметров служб SQL Server и имеет для этого все права. Редактирование параметров службы SQL Server в диспетчере управления службами Windows (services.msc) не всегда изменяет все необходимые параметры, что может привести к неправильной работе службы. Однако в кластерной среде после изменения пароля на активном узле с помощью диспетчера конфигурации SQL Server необходимо изменить пароль и на пассивном узле с помощью диспетчера управления службами.

Безопасность

Разрешения

Для изменения пароля службы необходимо быть администратором компьютера.

Использование диспетчера конфигурации SQL Server

Изменение пароля службы SQL Server (компонент Database Engine)
  1. В меню Пуск выберите Все программы, выберите Microsoft SQL Server, затем Средства настройкии откройте Диспетчер конфигурации SQL Server.
  • Windows 10 и Windows 11:
    чтобы открыть диспетчер конфигурации SQL Server , введите на начальной страницеSQLServerManager13.msc (для SQL Server 2016 (13.x);). Для других версий SQL Server замените 13 соответствующим числом. Если щелкнуть SQLServerManager13.msc, откроется Configuration Manager. Чтобы закрепить Configuration Manager на начальной странице или панели задач, щелкните правой кнопкой мыши SQLServerManager13.msc и выберите Открыть папку с файлом. В проводнике щелкните правой кнопкой мыши SQLServerManager13.msc и выберите Закрепить на начальном экране или Закрепить на панели задач.
  • Windows 8:
    Чтобы открыть диспетчер конфигурации SQL Server с помощью чудо-кнопки Поиск, введите на вкладке Приложения текст SQLServerManager.msc (например, SQLServerManager13.msc) и нажмите клавишу ВВОД.
Изменение пароля с помощью службы агента SQL Server
  1. В меню Пуск выберите Все программы, выберите Microsoft SQL Server, затем Средства настройкии откройте Диспетчер конфигурации SQL Server.
  2. В диспетчере конфигурации SQL Server выберите пункт Службы SQL Server.
  3. В области сведений правой кнопкой мыши щелкните по Агент SQL Server () и выберите пункт Свойства.
  4. В диалоговом окне Свойства агента SQL Server () на вкладке «Вход» введите для учетной записи, указанной в поле Имя учетной записи, новый пароль в полях Пароль и Подтверждение пароля и нажмите ОК. На изолированном экземпляре SQL Server пароль применяется сразу же, без перезапуска SQL Server. В кластеризованном экземпляре SQL Server может отключить ресурс SQL Server, после чего потребуется выполнить перезапуск.

Saved searches

Use saved searches to filter your results more quickly

Cancel Create saved search

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password Required, but How to use NT Service? #3808

PrometheusRising1 opened this issue Dec 13, 2019 — with docs.microsoft.com · 2 comments

Password Required, but How to use NT Service? #3808

PrometheusRising1 opened this issue Dec 13, 2019 — with docs.microsoft.com · 2 comments

Comments

PrometheusRising1 commented Dec 13, 2019

Hi, it says that things like /AGTSVCPASSWORD or /SQLSVCPASSWORD are required, but what do you do if you want a quiet install that uses NT Service\SQLSERVERAGENT or NT Service\MSSQLSERVER? In the GUI, this is easy, but what about from command line?

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

  • ID: 4ff01c71-f3bf-2c3a-5e90-b11952aee4f8
  • Version Independent ID: 99ebd80b-9465-6929-c84f-187525ee3284
  • Content: SQL Server installation — Command Prompt parameters — SQL Server
  • Content Source: docs/database-engine/install-windows/install-sql-server-from-the-command-prompt.md
  • Product: sql
  • Technology: install
  • GitHub Login: @MashaMSFT
  • Microsoft Alias: mathoma

The text was updated successfully, but these errors were encountered:

MashaMSFT self-assigned this Dec 16, 2019
Contributor
MashaMSFT commented Dec 17, 2019

Hi @PrometheusRising1 , thanks for bringing this to our attention! This parameter can be omitted when used in conjunction with a managed service account, virtual account, or built-in account. There is a note in the doc that specifies that but I’ve added it explicitly as a note to every password parameter.

This change should be live tomorrow. I will close out this Git Issue at this time but please feel free to comment should you need anything further.

Thanks and hope you have a wonderful rest of your day!
Masha from the SQL Docs team

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *