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
    2024-06-16T08:24:53+00:00

    Unfortunately still failed for me. Not sure if that due to some other steps I tried before (command point...etc). Even worse as I had removed all WD software and driver and tried to reinstate back and now failed with the Smartware and for some reason couldn't find this software in the support site, interestingly when I download one of the software there my scanner indicated potential virus :-) I downloaded and scan but are okay.

    I have then contacted WD support see how I can reinstate back my WD software now.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-05-22T17:35:45+00:00

    You can download and extract Sysinternals Process Explorer, run it as Admin and then click Find > Find Handle or DLL and search for wdcsam.inf:

    Click on all instances of the wdcsam.inf driver as shown above, it will bring you to the process using this driver in the bottom window, and you can right-click > Close Handle for each one:

    Once they're closed, you can execute the pnputil /delete-driver oem##.inf command in an elevated Powershell successfully:

    You should now be able to turn on Memory Integrity

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  3. 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
  4. Anonymous
    2023-05-20T06:16:27+00:00

    I tried deleting as administrator and it still says I need permission and only gives me the option to retry.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2023-05-07T18:43:36+00:00

    Not that easy in Win 11, tried to rename it as administrator but it won't let me. Apparently my WD drive does need it. Hard to believe all the mess it causes and WesterDigital doesn't care. Heading to best buy to get a couple Seagate drives.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments