Zamguard64.sys Memory Integrity Issue, How to Uninstall it

Published by Nyau Wai Hoe - Updated on

One of the key security features in Windows 11 and Windows 10 is Memory Integrity, which helps protect your system against unauthorized modifications to sensitive kernel memory. However, some users have reported encountering issues where they are unable to enable the Memory Integrity feature due to an incompatible driver called zamguard64.sys. In this article, we will look into what zamguard64.sys is, its relationship with Zemana Antimalware, and provide step-by-step instructions on how to uninstall it to resolve the memory integrity issue.

Also see: Memory Integrity Can’t Be Turned On (Windows 11)

Zamguard64.sys Memory Integrity How to Uninstall it

What is zamguard64.sys?

Zamguard64.sys is a system driver associated with Zemana Antimalware, a popular security solution designed to detect and remove malware threats. This driver plays a crucial role in the proper functioning of Zemana Antimalware by monitoring system activities and providing real-time protection against malicious software.

What is zamguard64.sys

Zemana Antimalware offers a wide range of features, including proactive malware detection, behavior-based analysis, and real-time protection. However, it appears that the zamguard64.sys driver conflicts with the Memory Integrity feature in Windows 11 and Windows 10, preventing users from enabling this important security measure.

Related resource: How to Uninstall Drivers in Windows 11

Identifying the memory integrity issue

If you have attempted to enable the Memory Integrity feature in Windows Security but encountered an error or found it greyed out, it is likely that there is an incompatible driver, such as the zamguard64.sys driver, causing the problem. To confirm this, you can follow these steps:

  1. Open the Start menu and type “Windows Security” to launch the Windows Security app.Open Windows Security Windows 11
  2. Click on “Device security” in the sidebar.Windows 11 Device Security
  3. Under “Core isolation,” click on “Core isolation details.”Windows 11 Core isolation details
  4. If the “Memory integrity” option is disabled or unavailable, it indicates that the zamguard64.sys driver is causing the issue.Zamguard64.sys Memory Integrity

How to completely uninstall zamguard64.sys

To resolve the memory integrity issue and regain the ability to enable this important security feature, you need to uninstall Zemana Antimalware and remove the zamguard64.sys driver. Follow the steps below to uninstall Zemana Antimalware and delete the zamguard64.sys driver:

  1. Press Windows + X keys on your keyboard and select Apps and Features or Installed apps from the menu that appears.Open Installed Apps in Windows 11
  2. Locate Zemana Antimalware in the list of installed applications and click on it.
  3. Click on the Uninstall button and follow the prompts to complete the uninstallation process.How to uninstall zamguard64.sys

Linked issue: Can’t Completely Uninstall a Driver in Windows 11 (Fix)

Once you have uninstalled Zemana Antimalware, proceed with the following steps to remove the zamguard64.sys driver:

  1. Open the Command Prompt as an administrator.Command Prompt Run as Administrator
  2. In the Command Prompt window, type the following command and press Enter:
    sc stop ZAM_Guard

    This command stops the ZAM_Guard service associated with zamguard64.sys.

  3. Next, enter the following command and press Enter:
    sc delete ZAM_Guard

    This command removes the ZAM_Guard service from your system.

  4. Finally, execute the command below to delete the zamguard64.sys driver file:
    del /f /q c:\windows\system32\drivers\zamguard64.sys

    This command will forcefully delete the zamguard64.sys driver file from the specified location.Completely remove zamguard64.sys

After completing the above steps, restart your computer to ensure all changes take effect.

Additional suggestion: How to Reinstall Windows Defender in Windows 11

Verifying Memory Integrity

After uninstalling Zemana Antimalware and removing the zamguard64.sys driver, it is crucial to ensure that the Memory Integrity feature is functioning correctly. Follow these steps to verify and enable Memory Integrity:

  1. Go back to the Windows Security app.
  2. Click on Device security in the sidebar.
  3. Under Core isolation, click on Core isolation details.

Windows 11 Memory Integrity

At this point, you should see the Memory integrity option. If it is now available and enabled, it indicates that the zamguard64.sys driver has been successfully removed, and Memory Integrity is functioning correctly. Congratulations! Your system is now equipped with an additional layer of protection against advanced malware threats.

However, if the Memory integrity option is still disabled or unavailable, it is recommended to double-check the steps outlined earlier to ensure that Zemana Antimalware has been completely uninstalled, and the zamguard64.sys driver has been deleted.


The zamguard64.sys driver, associated with Zemana Antimalware, has been known to cause compatibility issues with the Memory Integrity feature in Windows 11 and Windows 10. To resolve this issue, it is essential to uninstall Zemana Antimalware and remove the zamguard64.sys driver. By following the step-by-step instructions provided in this article, you can successfully uninstall Zemana Antimalware and eliminate the incompatible driver, allowing you to enable the Memory Integrity feature and enhance the security of your Windows operating system.

However, it’s important to note that if you rely on a third-party anti-malware solution, uninstalling Zemana Antimalware means removing its protection from your system. In such cases, you have two options: either install an alternative anti-malware solution that is compatible with Memory Integrity or rely on Windows Defender, which is the built-in security solution provided by Microsoft.

Ultimately, the decision regarding which anti-malware solution to use should be based on your specific needs and preferences. Regardless of the choice you make, prioritizing the security of your system and keeping it up to date should always be a top priority.

Nyau Wai Hoe
Nyau Wai Hoe is the Founder and Chief Editor of With a degree in software engineering and over 12 years of experience in the tech support industry, Nyau has established himself as an expert in the field, with a primary focus on the Microsoft Windows operating system. As a tech enthusiast, he loves exploring new technologies and leveraging them to solve real-life problems.

Share via
Copy link