Event ID 158

Anonymous
2024-06-29T01:15:08+00:00

I keep on getting the error Event ID 158 in Windows 11 23H2. The solution pointed out by the Event ID, is next to useless as I'm obviously not running Windows Server to be able to run MPIO to resolve the GUID issue.

So any other suggestion to fix this? As it seems to only apply to my external drives connected via USB 3.

Here is the Event in full from the logs:

Log Name: System Source: disk Date: 27/05/2024 01:49:11 Event ID: 158 Task Category: None Level: Warning Keywords: Classic User: N/A Computer: *Omitted* Description: Disk 6 has the same disk identifiers as one or more disks connected to the system. Go to Microsoft's support website (http://support.microsoft.com) and search for KB2983588 to resolve the issue. Event Xml: http://schemas.microsoft.com/win/2004/08/events/event"> 158 0 3 0 0 0x80000000000000 26 System WIN-SCGK1G20NL0 \Device\Harddisk6\DR6 6 1B00000002003000000000009E000480000000000000000000000000000000000000000000000000

Windows for home | Windows 11 | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-06-29T06:26:57+00:00

    Dear Intel-Otaku,

    Welcome to the Microsoft Community

    Thank you for reaching out with your concern about the Event ID 158 warning on your Windows 11 23H2 system. I understand this can be frustrating, especially since the provided solutions do not apply to your non-server environment.

    Event ID 158 typically indicates a problem with disk identifiers, which might cause issues when multiple storage devices are connected. Since the solution you found is geared toward server environments using MPIO, we’ll try a different approach suited to your setup with external USB drives.

    Here are some steps you can take to potentially resolve this issue:

    1. Disconnect and Reconnect External Drives:
      • Safely remove all external storage devices.
      • Restart your computer.
      • Reconnect the devices one at a time, allowing Windows to recognize each device anew. This might help in reassigning the disk identifiers properly.
    2. Update USB Controller Drivers:
      • Open Device Manager (you can search for it in the Start menu).
      • Expand the ‘Universal Serial Bus controllers’ section.
      • Right-click on each USB controller and select ‘Update driver’.
      • Choose ‘Search automatically for drivers’. Windows will attempt to find and install any updated drivers available.
    3. Change Drive Letters:
      • Open Disk Management (you can search for it in the Start menu).
      • Right-click the drives (particularly the external ones) and choose ‘Change Drive Letter and Paths…’.
      • Change the drive letter to something different. This can sometimes resolve conflicts that might lead to such warnings.
    4. Use Diskpart to Clear Disk Attributes:
      • Open Command Prompt as an administrator.
      • Type diskpart and press Enter.
      • Type list disk and identify your external drives by their size.
      • Type select disk X (replace X with the disk number).
      • Type attributes disk clear readonly to ensure the disk isn’t set to read-only.
      • Be cautious with Diskpart as it is a powerful tool. Make sure you are selecting the correct disk to avoid any data loss.

    If these steps do not resolve the issue, it might be useful to look into the specifics of the hardware configuration of your external drives or consider consulting with a professional to physically inspect your setup. Please let us know how it goes, and if you need further assistance, we’re here to help.

    Best Regards,

    Martin | Microsoft Community Support Specialist

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-07-01T06:36:36+00:00

    [Moderator edit: Please make sure you are confident with computers and how Windows and computers work before going through the steps on this post. If you are not confident, please get someone who is confident ]

    None of the above would help, but thanks anyway.

    *Update*
    I managed to find a possible solution (via copilot) to my issue that might help other people if they have the same issue.

    !: Check Disk GUIDs:
    Open PowerShell with administrative privileges.
    Run the following command to list disk devices and their GUIDs:
    Get-Disk | Select-Object Number, FriendlyName, UniqueId

    Identify any disks with identical GUIDs.

    2: Update Disk GUIDs:
    For each disk with a duplicate GUID, follow these steps:
    Offline the disk:
    Set-Disk -Number <DiskNumber> -IsOffline $true

    Update the disk GUID:
    Clear-Disk -Number <DiskNumber> -RemoveData -Confirm:$false

    Online the disk:
    Set-Disk -Number <DiskNumber> -IsOffline $false

    Was this answer helpful?

    0 comments No comments