Wdcsam64.sys driver preventing me from turning on memory integrity

Anonymous
2022-12-02T20:44:54+00:00

I have a driver that is prohibiting me from turning on memory integrity. The driver is wdcsam64.sys. How do I turn it off or delete so I can turn on memory integrity?

Windows for home | Other | Performance and system failures

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

78 answers

Sort by: Most helpful
  1. Anonymous
    2023-05-24T19:07:39+00:00

    This is the way that worked for me. It follows reliable procedure and Windows commands, ensuring success.

    [A] First, open Windows Powershell with the needed privileges:

    1. Use the Start menu search to find "powershell".
      1. It appears in the list of results.
    2. Run it as an administrator:
      1. On Windows 11, it shows a list of 4 options to the right of the Windows Powershell entry.
        1. Choose the second option, "Run as Administrator".
      2. If you are on some version that does not show these 4 options, instead right-click the Windows Powershell entry.
        1. Then choose "Run as administrator" from the dropdown.

    [B] Next, use Powershell to find your Western Digital driver information:

    1. Enter the following command in the Powershell terminal window: pnputil /enum-drivers
      1. The terminal displays a long list of drivers and their details.
    2. Use the terminal search function to find your driver. This is typically done by pressing Ctrl + Shift + F
      1. You may also do this in older versions by right-clicking the terminal window and selecting Find.
    3. Enter "Western Digital" in the search.
      1. The terminal scrolls down to find the matching text.
    4. At the top of the driver entry, copy the value to the right of "Published Name", something like "oem23.inf".
      1. You can select the driver name with the mouse, and then either: right-click to copy, or press Ctrl + C

    [C] Next, remove the conflicting drivers:

    1. Delete the driver by entering pnputil /delete-driver with your driver's Published Name.
      1. For the example in step B.4, this becomes pnputil /delete-driver oem23.inf
    2. Return to step B.2 and repeat until there are no more search matches.
    3. The driver removal is complete.

    [D] Lastly, recheck and finish:

    1. Return to the Windows Security app's Device security tab, where it shows Core isolation. Run the Memory integrity check again.
    2. When you have successfully removed all Western Digital drivers, the check will pass.
      1. It will still tell you the memory integrity is off, and this is normal.
    3. Restart Windows to complete the process.

    Best regards,

    Niko

    Was this answer helpful?

    9 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2023-01-15T19:46:44+00:00

    Thanks, looks good, but how do I run this with admin privileges?

    Was this answer helpful?

    9 people found this answer helpful.
    0 comments No comments
  3. Anonymous
    2025-03-18T20:03:07+00:00

    None of the posted workarounds resolved the Wdcsam64.sys conflict that prevented my Windows 11 system from turning on memory integrity.

    Then I found a search result to install WD Discovery for Windows from this URL:

    https://downloads.wdc.com/wdapp/Install_WD_Discovery_for_Windows.zip

    After a couple of reboots I was able to enable Core Isolation features, and the the warning flag in the system tray went away.

    As an added bonus, my USB drives now respond much more quickly when I attach or right-click to eject them.

    Was this answer helpful?

    8 people found this answer helpful.
    0 comments No comments
  4. Anonymous
    2023-03-17T04:21:12+00:00

    It shows, what can I do next?

    Failed to delete driver package: One or more devices are presently installed using the specified INF.

    PS C:\Users\pradh>

    Was this answer helpful?

    7 people found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-01-10T21:03:43+00:00

    This particular solution worked very well for Windows 11. Easy and no side effects (yet!)

    Was this answer helpful?

    6 people found this answer helpful.
    0 comments No comments