Does anyone know how I can use Windows Performance Toolkit to solve my HDDs disconnecting?
I've got 3 different WD HDDs all with the same problem. They all disconnect themselves when reading data if connected via USBC. 1 of them is natively USBC, the other two are USBA. If I use an adapter to plug the two USBA ones into the USBC port, they fail. If I plug them into the USBA port they are fine, even the USBC one with an adapter to make it USBA.
I've had two of the USBC one as I exchanged it because I thought that's where the problem was but it turns out it wasn't because both of them do this.

If I plug one of my 2TB WDs into this laptop via USBC, there are no problems, BUT that's MBR, whereas these larger ones are GPT. I purchased a Seagate 4tb to test this with, this is also GPT and there are no issues with it.

If I plug any of these drives into my Dell XPS 15, there are no problems at all.
If I disable the Realtek Media Card Reader device and uninstall the driver, the problems also go away.
The drives themselves are fine, this is evidenced by the fact I do not have any of these issues on two other laptops and also by the fact the issue goes away once I uninstall the Realtek drivers.

So in summary, It would appear that WD drives using GPT fail when connected to this Spectre x360 when the realtek card reader device is enabled/driver installed. I can't get my head around this. I'm battling with HP at the moment to solve it but their technical support is....lacking.

I'm really hoping someone can help me dig into this using the performance toolkit and see if we can actually see that driver doing something which breaks the drive.

As I said, the drives are fine, I'd like to try and dig into why that particular driver messes with them.


Log Name: System
Source: Microsoft-Windows-Ntfs
Date: 21/07/2020 16:58:15
Event ID: 140
Task Category: None
Level: Warning
Keywords: (8)
User: SYSTEM
Computer: DESKTOP-94FOFGQ
Description:
The system failed to flush data to the transaction log. Corruption may occur in VolumeId: F:, DeviceName: \Device\HarddiskVolume13.

Failure status: A device which does not exist was specified.

Device GUID: {7f8df1fa-961a-95ba-2d80-4dc830e789f4}
Device manufacturer: WD
Device model: My Passport 25E2
Device revision: 4004
Device serial number: WXxxxxxx
Bus type: USB

Adapter serial number:

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Ntfs" Guid="{3ff37a1c-a68d-4d6e-8c9b-f79e8b16c482}" />
<EventID>140</EventID>
<Version>1</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000008</Keywords>
<TimeCreated SystemTime="2020-07-21T15:58:15.9691399Z" />
<EventRecordID>1314</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="496" />
<Channel>System</Channel>
<Computer>DESKTOP-94FOFGQ</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="VolumeIdLength">2</Data>
<Data Name="VolumeId">F:</Data>
<Data Name="DeviceNameLength">24</Data>
<Data Name="DeviceName">\Device\HarddiskVolume13</Data>
<Data Name="Error">0xc000000e</Data>
<Data Name="DeviceGuid">{7f8df1fa-961a-95ba-2d80-4dc830e789f4}</Data>
<Data Name="VendorIdLength">8</Data>
<Data Name="VendorId">WD </Data>
<Data Name="ProductIdLength">16</Data>
<Data Name="ProductId">My Passport 25E2</Data>
<Data Name="ProductRevisionLength">4</Data>
<Data Name="ProductRevision">4004</Data>
<Data Name="DeviceSerialNumberLength">16</Data>
<Data Name="DeviceSerialNumber">WXxxxx </Data>
<Data Name="BusType">7</Data>
<Data Name="AdapterSerialNumberLength">0</Data>
<Data Name="AdapterSerialNumber">
</Data>
</EventData>
</Event>

Log Name: System
Source: disk
Date: 21/07/2020 16:58:15
Event ID: 51
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: DESKTOP-94FOFGQ
Description:
An error was detected on device \Device\Harddisk2\DR5 during a paging operation.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="disk" />
<EventID Qualifiers="32772">51</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-07-21T15:58:15.9633041Z" />
<EventRecordID>1313</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="7556" />
<Channel>System</Channel>
<Computer>DESKTOP-94FOFGQ</Computer>
<Security />
</System>
<EventData>
<Data>\Device\Harddisk2\DR5</Data>
<Binary>040080000100000000000000330004802D0100000E0000C000000000000000000000000000000000696800000000 0000FFFFFFFF0100000058000008000000000020101280032040000000001400000000B05C9484BCFFFF78FB659484BCFFFF 000000000000000020593E9B84BCFFFF1080089B84BCFFFF80645A00000000008A0000000000005A64800000000800000000 00000000000000000000000000000000000000000000</Binary>
</EventData>
</Event>

Log Name: System
Source: disk
Date: 21/07/2020 16:58:15
Event ID: 51
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: DESKTOP-94FOFGQ
Description:
An error was detected on device \Device\Harddisk2\DR5 during a paging operation.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="disk" />
<EventID Qualifiers="32772">51</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-07-21T15:58:15.9633041Z" />
<EventRecordID>1312</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="7556" />
<Channel>System</Channel>
<Computer>DESKTOP-94FOFGQ</Computer>
<Security />
</System>
<EventData>
<Data>\Device\Harddisk2\DR5</Data>
<Binary>040080000100000000000000330004802D0100000E0000C000000000000000000000000000000000696800000000 0000FFFFFFFF0100000058000008000000000020101280032040000000001400000000F05F9484BCFFFF78FB659484BCFFFF 000000000000000020593E9B84BCFFFF5040829A84BCFFFF90645A00000000008A0000000000005A64900000000800000000 00000000000000000000000000000000000000000000</Binary>
</EventData>
</Event>

Log Name: System
Source: Intel-SST-OED
Date: 21/07/2020 16:58:14
Event ID: 19
Task Category: This task logs error codes to system event log.
Level: Information
Keywords:
User: LOCAL SERVICE
Computer: DESKTOP-94FOFGQ
Description:
Check the remaining resource budget. Module exceeds resource budget, failed to AllocateFwCps, STATUS = Insufficient system resources exist to complete the API..
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Intel-SST-OED" Guid="{6f789161-d86f-4063-9e66-41f26b5da238}" />
<EventID>19</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>6</Task>
<Opcode>20</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2020-07-21T15:58:14.2809550Z" />
<EventRecordID>1311</EventRecordID>
<Correlation />
<Execution ProcessID="4240" ThreadID="8004" />
<Channel>System</Channel>
<Computer>DESKTOP-94FOFGQ</Computer>
<Security UserID="S-1-5-19" />
</System>
<EventData>
<Data Name="message">Module exceeds resource budget, failed to AllocateFwCps</Data>
<Data Name="status">3221225626</Data>
</EventData>
</Event>

Log Name: System
Source: Application Popup
Date: 21/07/2020 16:58:13
Event ID: 26
Task Category: None
Level: Information
Keywords:
User: SYSTEM
Computer: DESKTOP-94FOFGQ
Description:
Application pop-up: Windows - Delayed Write Failed : Exception Processing Message 0xc0000222 - Unexpected parameters
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Popup" Guid="{47bfa2b7-bd54-4fac-b70b-29021084ca8f}" />
<EventID>26</EventID>
<Version>0</Version>
<Level>4</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2020-07-21T15:58:13.9612020Z" />
<EventRecordID>1310</EventRecordID>
<Correlation />
<Execution ProcessID="756" ThreadID="772" />
<Channel>System</Channel>
<Computer>DESKTOP-94FOFGQ</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="Caption">Windows - Delayed Write Failed</Data>
<Data Name="Message">Exception Processing Message 0xc0000222 - Unexpected parameters</Data>
</EventData>
</Event>

Log Name: System
Source: Ntfs
Date: 21/07/2020 16:58:13
Event ID: 50
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: DESKTOP-94FOFGQ
Description:
{Delayed Write Failed} Windows was unable to save all the data for the file F:\System Volume Information. The data has been lost. This error may be caused by a failure of your computer hardware or network connection. Please try to save this file elsewhere.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Ntfs" />
<EventID Qualifiers="32772">50</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-07-21T15:58:13.9517948Z" />
<EventRecordID>1309</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="508" />
<Channel>System</Channel>
<Computer>DESKTOP-94FOFGQ</Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>F:\System Volume Information</Data>
<Binary>04000400020030000000000032000480000000000E0000C0000000000000000000000000000000000E0000C0</Binary>
</EventData>
</Event>

Log Name: System
Source: disk
Date: 21/07/2020 16:58:13
Event ID: 51
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: DESKTOP-94FOFGQ
Description:
An error was detected on device \Device\Harddisk2\DR5 during a paging operation.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="disk" />
<EventID Qualifiers="32772">51</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-07-21T15:58:13.9517948Z" />
<EventRecordID>1308</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="7556" />
<Channel>System</Channel>
<Computer>DESKTOP-94FOFGQ</Computer>
<Security />
</System>
<EventData>
<Data>\Device\Harddisk2\DR5</Data>
<Binary>040080000100000000000000330004802D0100000E0000C000000000000000000000000000000000E86700000000 0000FFFFFFFF0100000058000008000000000020101280032040000000001400000000405F9484BCFFFFD8EC659484BCFFFF 00000000000000002099E79684BCFFFF1040449C84BCFFFFFFFFFFFF000000008A000000000119B279500000000800000000 00000000000000000000000000000000000000000000</Binary>
</EventData>
</Event>

Log Name: System
Source: disk
Date: 21/07/2020 16:58:13
Event ID: 51
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: DESKTOP-94FOFGQ
Description:
An error was detected on device \Device\Harddisk2\DR5 during a paging operation.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="disk" />
<EventID Qualifiers="32772">51</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-07-21T15:58:13.9517948Z" />
<EventRecordID>1307</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="7548" />
<Channel>System</Channel>
<Computer>DESKTOP-94FOFGQ</Computer>
<Security />
</System>
<EventData>
<Data>\Device\Harddisk2\DR5</Data>
<Binary>040080000100000000000000330004802D0100000E0000C000000000000000000000000000000000E86700000000 0000FFFFFFFF0100000058000008000000000020101280032040000000001400000000A0039584BCFFFFB8F1659484BCFFFF 000000000000000010D0729B84BCFFFF1050939A84BCFFFFFFFFFFFF000000008A000000000119B279500000000800000000 00000000000000000000000000000000000000000000</Binary>
</EventData>
</Event>

Log Name: System
Source: disk
Date: 21/07/2020 16:58:13
Event ID: 51
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: DESKTOP-94FOFGQ
Description:
An error was detected on device \Device\Harddisk2\DR5 during a paging operation.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="disk" />
<EventID Qualifiers="32772">51</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-07-21T15:58:13.9517948Z" />
<EventRecordID>1306</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="7548" />
<Channel>System</Channel>
<Computer>DESKTOP-94FOFGQ</Computer>
<Security />
</System>
<EventData>
<Data>\Device\Harddisk2\DR5</Data>
<Binary>040080000100000000000000330004802D0100000E0000C000000000000000000000000000000000E86700000000 0000FFFFFFFF010000005800000800000000002010128003204000000000140000000000A39684BCFFFF78FB659484BCFFFF 000000000000000020593E9B84BCFFFF1010EE9B84BCFFFF48086000000000008A0000000000006008480000000800000000 00000000000000000000000000000000000000000000</Binary>
</EventData>
</Event>

Log Name: System
Source: disk
Date: 21/07/2020 16:58:08
Event ID: 153
Task Category: None
Level: Warning
Keywords: Classic
User: N/A
Computer: DESKTOP-94FOFGQ
Description:
The IO operation at logical block address 0x4801 for Disk 2 (PDO name: \Device\000000b2) was retried.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="disk" />
<EventID Qualifiers="32772">153</EventID>
<Version>0</Version>
<Level>3</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2020-07-21T15:58:08.9411966Z" />
<EventRecordID>1305</EventRecordID>
<Correlation />
<Execution ProcessID="4" ThreadID="7548" />
<Channel>System</Channel>
<Computer>DESKTOP-94FOFGQ</Computer>
<Security />
</System>
<EventData>
<Data>\Device\Harddisk2\DR5</Data>
<Data>0x4801</Data>
<Data>2</Data>
<Data>\Device\000000b2</Data>
<Binary>0F01040004002C00000000009900048000000000000000000000000000000000000000000000000000000988</Binary>
</EventData>
</Event>