The trust relationship between this workstation and the primary domain failed.

本文介绍在尝试访问作为域成员的Windows NT Server或Workstation计算机时出现的信任关系失败问题,包括错误消息示例、原因分析及解决步骤。

SYMPTOMS
When you try to access a computer running Windows NT Server or Workstation that is a member of your domain with one of the following methods, it fails with one of the messages listed below.
• At a command prompt, type either of the following commands:

Net Use //<ComputerName>/<Share>

-or-

Net View //<ComputerName>

You receive the following message:
System Error 1789 has occurred. The trust relationship between this workstation and the primary domain failed.
• You are in Server Manager and try to view the computer's properties. You receive the following message:
The trust relationship between this workstation and the primary domain failed.
• You are in User Manager and try to add a user account from the Member Server or Workstation's database. You receive the following error message:
The trust relationship between this workstation and the primary domain failed.
• In Event Viewer on the Member Server or Workstation, you receive Event ID 5722:
The session setup to the Windows NT Domain Controller <Unknown> for the domain <DomainName> failed because the Windows NT Domain Controller does not have an account for the computer <ComputerName>.
• When you attempt to log on to the console, you receive the message:
System can not log you on to the domain because the systems computer account in its primary domain is missing or the password on that account is incorrect.

Back to the top

CAUSE
The computer's machine account has the incorrect role or its password has become mismatched with that of the domain database.
Back to the top

RESOLUTION
Log on locally as a local administrator. In the Network tool of Control Panel, select Change and enter a Workgroup name, leaving the domain. Restart the computer and log on locally as a local administrator.

There are two methods to rejoin the domain:
• You can join the domain from the client if at the same time you can provide an administrator username and password on the domain.

-or-  
• You can delete the existing computer account in Server Manager, recreate the computer account, synchronize the domain, and then on the client rejoin the domain.

在运行 Docker Desktop 时,系统提示需要启用 Workstation 服务,这是因为 Docker Desktop 依赖于 Windows 的一些底层服务来实现其功能,例如网络共享和容器运行时支持。Workstation 服务(LanmanWorkstation)是 Windows 中用于管理网络资源访问的关键服务之一,若该服务未正确配置,Docker Desktop 将无法正常运行。 要启用 Workstation 服务,请按照以下步骤操作: 1. **检查 Workstation 服务状态** 打开“服务”管理器(可以通过运行 `services.msc` 命令),找到名为 **Workstation** 的服务。确认其启动类型为“自动”,并且服务状态为“正在运行”[^3]。 2. **设置 Workstation 服务为自动启动并运行** 如果服务未运行,右键点击该服务并选择“属性”,将“启动类型”设置为“自动”,然后点击“启动”按钮以手动启动服务[^3]。 3. **检查 Workstation 服务的依赖项** 如果启动服务时提示错误 1075(依存服务不存在,或已标记为删除),则可能是 SMBv2 协议未启用。可通过以下命令修复依赖关系: ```cmd sc.exe config lanmanworkstation depend= bowser/mrxsmb10/mrxsmb20/nsi sc.exe config mrxsmb20 start= auto ``` 完成后,重启系统以确保更改生效。 4. **启用 SMBv2 支持** 在命令提示符中执行以下命令以确认 SMBv2 驱动(mrxsmb20)是否运行: ```cmd sc query mrxsmb20 ``` 如果其状态不是“RUNNING”,则需手动启用它,并将其设置为自动启动。 5. **启用 Hyper-V 和 Containers 可选功能** Docker Desktop 依赖于 Hyper-V 提供的虚拟化能力。在 PowerShell 管理员模式下运行以下命令以确保相关功能已启用: ```powershell Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All Enable-WindowsOptionalFeature -Online -FeatureName Containers -All ``` 完成后需重启系统[^3]。 通过上述步骤,应能解决 Docker Desktop 提示“requires the Workstation service to be enabled”的问题,并确保 Docker Desktop 正常运行。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值