logo
search
Others

How to Prevent ai.exe, ai.dll, and aimgr.exe from Reinstalling

Ayan MasoodAyan Masood Sep 30, 2026 868 views

Question details

The user needs a solution to stop Microsoft AI background processes (ai.exe, ai.dll, aimgr.exe) from automatically reinstalling and consuming system resources.

How to Prevent ai.exe, ai.dll, and aimgr.exe from Reinstalling
Product
Microsoft 365 / Windows
Device & OS
Windows
Scenario
The user deletes Microsoft AI component files to free up CPU and RAM resources, but they automatically return.
Observed behavior
The executable files ai.exe, aimgr.exe, and the library ai.dll reinstall themselves during standard Windows or Office updates, rendering manual deletion temporary.
Before you start

Before modifying or deleting system executables, create a Windows System Restore point to ensure you can recover your computer if core Microsoft Office features stop functioning.

Solution 1Recommended

Disable Connected AI Experiences in Microsoft 365

Prevent AI tools from actively running by disabling connected experiences directly within your Office account settings.

While you cannot permanently delete the files without updates restoring them, turning off the connected experiences prevents the AI services from actively executing and consuming CPU or RAM.

1
Open an Office Application

Launch Microsoft Word or Excel on your Windows computer.

2
Navigate to Account Settings

Click on 'File' in the top-left corner, then select 'Account' from the bottom left menu pane.

3
Manage Privacy Settings

Under the 'Account Privacy' section, click on the 'Manage Settings' button.

4
Disable Connected Experiences

Scroll down to 'Connected experiences' and uncheck the box for 'Turn on experiences that analyze your content'. Click OK and restart your computer.

Disable Connected AI Experiences in Microsoft 365
Temporary File Deletion: Even with these settings disabled, Windows updates may redownload ai.exe and aimgr.exe. However, they will remain dormant and won't consume active resources.
Free Microsoft Office alternative

Switch to WPS Office for a Bloat-Free Experience

Tired of Microsoft Office's forced AI background processes like ai.exe and aimgr.exe draining your system resources? WPS Office is a lightweight, fast, and free alternative that gives you full control over your PC's performance.

  1. 1. Download the Installer: Visit the official WPS Office website and click the Free Download button.
  2. 2. Install WPS Office: Run the downloaded installer and follow the on-screen instructions to set up the suite on your computer.
  3. 3. Enjoy a Lightweight Office: Open WPS Office and start working with your existing Microsoft formats without any system lag.
Lightweight installation with minimal background resource usageNo forced background AI executable files draining your CPU or RAMFully compatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar user interface for a seamless and quick migration
microsoft office alternative - wps office

Frequently Asked Questions

What are ai.exe, ai.dll, and aimgr.exe?

These are Microsoft background components associated with newer AI features and connected experiences integrated into Microsoft 365 and Windows.

Why do these deleted AI files keep returning?

Microsoft 365 and Windows are designed to self-heal. During routine background updates, the system detects missing core files and automatically downloads them again to ensure software integrity.

Can I permanently block these executables in Windows Firewall?

You can block them from accessing the internet via Windows Defender Firewall to prevent data transmission, but this will not stop them from being reinstalled or taking up disk space during system updates.