大网数据广告活动
备份与恢复

Event ID 158 for identical disk GUIDs

· 52CE 我爱测

Discusses that Event ID 158 is logged if identical disk GUIDs are found. Provides a resolution.

This article provides a resolution to solve the event ID 158 that's logged for identical disk GUIDs in Windows 10.

Applies to:   Windows 10 - all editions
Original KB number:   2983588

Symptoms

An error event for Event ID 158 is logged. The event indicates that two or more disk devices are assigned identical disk GUIDs.

Note: The above event message has no functionality or performance impact on the client systems. This event provides a warning that multiple disks on the system shared the same identification information (like serial number, page 83 IDs, and so on.)

Cause

This problem may be caused by any one of several different situations. The two most common situations are the following ones:

  • Multiple paths to the same physical disk device are available. But Microsoft Multipath I/O (MPIO) isn't enabled. In this situation, the device is exposed to the system by all paths that are available. It causes the same device ID data (such as Device Serial Number, Vendor ID, Product ID, and so on) to be exposed multiple times.
  • If Virtual Hard Disks (VHD) are duplicated by using a copy-and-paste operation to create more virtual machines (VMs), none of the internal data structures are changed. So, the VMs have the same disk GUIDs and the same ID information (such as Device Serial Number, Vendor ID, Product ID, and so on).

Resolution

To resolve this problem, if multiple paths are available to the physical disk devices, enable MPIO. If MPIO is enabled, the system can claim the drives and expose only one instance of each disk device when the computer is restarted.

More Information

For more information about how to enable MPIO, see Installing and Configuring MPIO.

If multiple VHDs are identified as duplicates, use the ResetDiskIdentifier parameter of the Set-VHD Windows PowerShell cmdlet. For more information about the Set-VHD cmdlet, see Set-VHD.

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

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

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