How to Disable or Restrict Windows Artificial Intelligence Host (ai.exe)
Question details
The user needs a permanent method to disable or restrict the Windows Artificial Intelligence Host executables (ai.exe and aimgr.exe).

- Product
- Windows OS
- Device & OS
- Windows
- Scenario
- Attempting to permanently prevent the Windows AI Host from launching and running in the background.
- Observed behavior
- Deleting ai.exe, ai.dll, and aimgr.exe does not permanently disable the feature because the operating system automatically restores the deleted files.
Before modifying system file permissions, create a system restore point and thoroughly document any changes you make to avoid complications with future Windows updates.
Restrict Advanced Security Permissions for AI Executables
By disabling inheritance and removing execution permissions for the AI host files, you can prevent them from launching without triggering Windows to restore them.
Deleting system files like ai.exe or aimgr.exe often fails because built-in Windows protection mechanisms automatically replace them. Modifying the file's security permissions prevents the OS from executing the AI feature while leaving the file structure intact.
Open File Explorer and navigate to the directory containing ai.exe and aimgr.exe.
Right-click on ai.exe, select Properties from the context menu, and navigate to the Security tab.
Click the Advanced button near the bottom of the Security tab to open the Advanced Security Settings window.
Click on 'Disable inheritance' and choose the option to remove all inherited permissions from this object, stripping its ability to execute.
Click Apply, then OK. Repeat this exact process for aimgr.exe. Leave the ai.dll file unchanged.

Utilize Windows Group Policy Editor
Using supported Windows policies is an official and much safer way to manage AI features without altering core system file permissions.
Experience a Lightweight and Efficient Office Suite
Managing system resources by disabling background Windows AI processes is a great way to optimize your PC. Take your system's efficiency further by using WPS Office, a powerful, lightweight, and completely free alternative to Microsoft Office that won't bog down your computer with unnecessary background tasks.
- 1. Download the Installer: Visit the official WPS Office website and download the free installation package tailored for Windows.
- 2. Install WPS Office: Run the installer and follow the lightweight setup process to install the suite on your optimized PC.
- 3. Open and Edit Formats: Launch WPS Office and immediately start opening or creating Word, Excel, and PowerPoint documents without background bloat.

Frequently Asked Questions
Why do ai.exe and aimgr.exe return after being deleted?
Windows includes built-in repair mechanisms like Windows Resource Protection that automatically detect missing core files. When you delete ai.exe, the OS restores it to maintain system stability.
Will restricting ai.exe permissions affect future Windows updates?
It can. Modifying permissions on system executables may cause future cumulative updates to fail if the system updater cannot access or replace those specific files. Always document changes so you can revert them if an update fails.
What is the safest way to disable Windows AI features?
The most reliable and safe method is using official Windows policies via the Group Policy Editor (gpedit.msc) or the Windows Registry Editor to disable features like Copilot, rather than modifying raw executable file permissions.




