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

Error 0x80070005 (Access denied) when you activate Windows

· 52CE 我爱测

Describes how to fix Windows activation error 0x80070005 (access denied).

This article discusses how to fix Windows activation error 0x80070005 (access denied).

Applies to:   Windows Server, all versions, and Windows client, all versions

Symptoms

You run the slmgr /ato command to activate a domain-joined computer that's running Windows. However, Windows doesn't activate, and you receive the following error message:

Windows Script Host Activating Windows(R), ServerDatacenter edition (00091344-1ea4-4f37-b789-01750ba6988c) ... Error: 0x80070005 Access denied: the requested action requires elevated privileges

Additionally, the following event is logged in the Application log:

Log Name:      Application
Source:        Microsoft-Windows-Security-SPP
Date:         
Event ID:      8229
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:     
Description:
The rules engine failed to perform one or more scheduled actions.
Error Code:0x80070005
Path:C:\Windows\System32\SLUI.exe

Cause

The SELF account doesn't have the correct DCOM permissions.

Solution: Restore SELF account permissions

To restore the permissions of the SELF account, follow these steps:

  1. In the Search box, type dcomcnfg, and then select Component Services (depending on your version of Windows, you might have to select dcomcnfg Run command instead).

  2. In the left pane of the Component Services snap-in, select Component Services > Computers, right-click My Computer, and then select Properties.

  3. In the My Computer Properties dialog box, select the COM Security tab, and then select Edit Default in the Access Permissions area.

  4. In the Access Permission dialog box, if SELF doesn't appear in the Group or user names area, select Add. In the Enter the object names to select text box, type SELF, select Check Names, and then select OK.

  5. In the Group or user names area, select SELF, and then select the following checkboxes in the Allow column:

    • Local Access
    • Remote Access

    :::image type="content" source="media/error-0x80070005-access-denied/dcom-access-permissions-for-activation.png" alt-text="Screenshot of the Access Permission dialog box and its parent My Computer Properties dialog box.":::

  6. Select OK to close Access Permission, and then select OK to close My Computer Properties.

  7. Restart the computer.

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
适用范围
- Supported versions of Windows Server · Source date 02/12/2026
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

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

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