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

Event ID 307 and 304 logged for deploying Windows

· 52CE 我爱测

Address an issue in which you receive event ID 307 and event ID 304 after you deploy Windows 10 on a device.

This article provides a resolution for the event ID 307 and 304 that are logged when you deploy Windows on a device.

Applies to:   Windows 10 - all editions, Windows Server 2019
Original KB number:   4480781

Symptom

When you deploy Windows on a device, these events are logged:

Log Name: Microsoft-Windows-User Device Registration/Admin  
Source: User Device Registration  
Event ID: 307  
Level: Error  
Description:  
Automatic registration failed. Failed to lookup the registration service information from Active Directory. Exit code: Unknown HResult Error code: 0x801c001d. See https://go.microsoft.com/fwlink/?LinkId=623042
Log Name: Microsoft-Windows-User Device Registration/Admin  
Source: Microsoft-Windows-User Device Registration  
Event ID: 304  
Level: Error  
Description:  
Automatic registration failed at join phase.  Exit code: Unknown HResult Error code: 0x801c001d. Server error:. Debug Output:\r\n undefined.

Here is an example of the event IDs:

Cause

These event IDs occur when the infrastructure isn't prepared for Hybrid join. When the device tries to do Hybrid join, the registration fails, and the events are logged.

Resolution

If the infrastructure is in a non-Hybrid join environment, these event IDs are expected during Windows 10 deployment. They can be ignored.

If you have a Hybrid scenario, see Troubleshooting Microsoft Entra hybrid joined Windows 10 and Windows Server 2016 devices for troubleshooting steps.

Data collection

If you need assistance from Microsoft support, we recommend you collect the information by following the steps mentioned in Gather information by using TSS for deployment-related issues.

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)

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

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