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: Newest
  1. Anonymous
    2023-06-25T00:04:38+00:00

    Any advices on what should do next as I am still not able to enable the Memory Integrity, Scan failed with no incompatible drivers listed at all.

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2023-06-23T20:53:53+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

    I tried this and it came back that i had "one or more devices are presently installed using the specified INF."

    Any idea as to what I try next? I've tried several of the other suggestions too with no success. Btw, I have three listed incompatible devices, wdcscam64.sys is listed twice and the other is wdcsam64_prewin8.sys. I have also tried deleting every folder, app or anything else i can find that is WD related. Nothing has worked. I do have Windows 11.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2023-06-04T02:20:22+00:00

    Thanks and I have followed the instructions but not able to remove the driver with powershell. I then go to Device Manager and unstall the driver instead. The uninstallation was okay and I checked again the driver are not there any more with powershell check. I then restarted windows but error of activation still persist. Scan is failed but there is no more incompatible drivers listed.

    Any clue what could be wrong?

    Was this answer helpful?

    0 comments No comments
  4. 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
  5. Anonymous
    2023-05-20T23:24:16+00:00

    I have the same problem

    Was this answer helpful?

    0 comments No comments