Latest windows update produces warning error - wdcsam64.sys

I just updated windows, I have an external WD passport 5tb drive. I’m getting an error about memory or something being caused by wdcsam64.sys

How do i fix this?

To fix the wdcsam64.sys error:

  1. Update the WD driver in Device Manager.
  2. Uninstall and reconnect the drive to reinstall the driver.
  3. Check for Windows updates.
  4. Run chkdsk: chkdsk /f X: (replace X with your drive letter).
  5. Disable fast startup in power options. If it doesn’t work, check the WD website for specific drivers.