大网数据广告活动
启动与系统组件

Error 80070520 when deploying Operations Manager agents

· 52CE 我爱测

Fixes an issue in which you get error 0x80070520 (ERROR_NO_SUCH_LOGON_SESSION) when you deploy Operations Manager agents by using the Install-SCOMAgent cmdlet.

This article helps you fix an issue in which you get error 0x80070520 (ERROR_NO_SUCH_LOGON_SESSION) when you deploy Operations Manager agents by using the Install-SCOMAgent cmdlet.

Original product version:   System Center Operations Manager
Original KB number:   2627700

Symptoms

Deploying agents from the Operations Manager shell using the Install-SCOMAgent cmdlet results in error 0x80070520 (ERROR_NO_SUCH_LOGON_SESSION), with the description A specified logon session does not exist. It may already have been terminated. Event ID 10612 in the Operations Manager event log is also logged:

Event Type: Error
Event Source: Health Service Modules
Event Category: None
Event ID: 10612
Description:
The Operations Manager Server failed to perform specified operation on computer MANAGEMENTSERVER.FQDN.

Operation: Agent Install
Install account: DOMAIN\ACCOUNT
Error Code: 80070520
Error Description: A specified logon session does not exist. It may already have been terminated.

Cause

The error is returned when an attempt is made to store the credentials used to deploy the agent in a context that is not permitted. This can be a result of a policy setting, or the inability to store the credentials under the LocalSystem account.

Resolution

To check if this issue is policy-related, on the management server specified when calling the Install-SCOMAgent cmdlet, open Local Security Policy from Administrative Tools. Navigate to Local Polices > Security Options. Make sure that the policy Network access: Do not allow storage of passwords and credentials for network authentication is disabled.

This policy controls the following registry value:

  • Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Lsa
  • Value: disabledomaincreds
  • Setting: 0 - disabled, 1 - enabled

The other possibility is that the credentials are attempting to be stored under the LocalSystem account that is not possible. Check the default action account profile for the management server specified when calling the Install-SCOMAgent cmdlet. If the management server's default action account is set to LocalSystem, change it to a domain account with the appropriate permissions. This also applies to gateway servers being used to deploy agents as well.

More information

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 04/15/2024
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。