How to Prevent ai.exe, ai.dll, and aimgr.exe from Reinstalling
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.

- 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 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.
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.
Launch Microsoft Word or Excel on your Windows computer.
Click on 'File' in the top-left corner, then select 'Account' from the bottom left menu pane.
Under the 'Account Privacy' section, click on the 'Manage Settings' button.
Scroll down to 'Connected experiences' and uncheck the box for 'Turn on experiences that analyze your content'. Click OK and restart your computer.

Pause Windows and Office Updates (Temporary Workaround)
Temporarily pause your system and software updates so that deleted AI files are not immediately restored.
Report Performance Issues to Microsoft Support
If dormant AI files still cause severe system slowdowns, escalate the issue to Microsoft Support with diagnostic logs.
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. Download the Installer: Visit the official WPS Office website and click the Free Download button.
- 2. Install WPS Office: Run the downloaded installer and follow the on-screen instructions to set up the suite on your computer.
- 3. Enjoy a Lightweight Office: Open WPS Office and start working with your existing Microsoft formats without any system lag.

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.




