Fix PowerPoint ai.exe Entry Point Not Found Error on RDS or Citrix
Question details
Administrators and users are unable to open PowerPoint presentations due to a specific entry point error in remote environments.
- Product
- Microsoft 365 Apps for Enterprise
- Device & OS
- Windows Server 2016
- Scenario
- Attempting to launch PowerPoint in Remote Desktop Services (RDS) or Citrix environments.
- Observed behavior
- PowerPoint fails to open and throws an error stating that the SetThreadDescription procedure entry point cannot be found in ai.dll. The issue affects all users and persists even after repairing the software.
Ensure you have administrative privileges on the affected Windows Server 2016 or Citrix environment, as modifying system files and installing global updates will be required.
Install the Latest Microsoft 365 Apps Update
This is a recognized Microsoft Office bug that is permanently resolved by installing a specific subsequent update for Microsoft 365 Apps.
Microsoft has acknowledged that the 'ai.dll' entry point issue is a bug affecting RDS and Citrix setups. The most effective resolution is pushing the latest Office update to your servers.
Open your standard update deployment tool or the Microsoft 365 Admin Center on the affected server.
Download and install the latest available build for Microsoft 365 Apps for Enterprise.
Perform a complete restart of the RDS or Citrix servers to ensure all updated DLL files are registered properly.
Log in as a standard user and attempt to launch PowerPoint to confirm the error no longer appears.

Rename the ai.dll File (Temporary Workaround)
If you cannot immediately update Microsoft 365 Apps, renaming the problematic DLL file acts as a quick workaround to get PowerPoint running.
Submit a Support Ticket to Microsoft
If the issue persists across your organization after updating and applying workarounds, contacting Microsoft Support is necessary.
Use WPS Presentation for reliable remote viewing
If Microsoft PowerPoint continues to experience system-level DLL errors in your Citrix or RDS environment, consider deploying WPS Office as a lightweight, highly compatible alternative. It bypasses these specific Office dependencies while letting your users continue their work seamlessly.
- 1. Download WPS Office: Download the lightweight WPS Office installer onto your local machine or server environment.
- 2. Install and Launch: Run the quick installation process, then launch WPS Presentation.
- 3. Open your presentations: Click 'Open' and select any of your existing .pptx files to view and edit them instantly without entry point errors.

Frequently Asked Questions
Why does the SetThreadDescription entry point error happen in PowerPoint?
This specific error is a known bug in certain versions of Microsoft 365 Apps for Enterprise when deployed on Windows Server 2016 running Remote Desktop Services or Citrix. It stems from a mismatch or missing capability in how the ai.dll file handles thread descriptions in these specific environments.
Will repairing Microsoft Office fix the ai.dll error?
No, standard online or offline repairs usually do not fix this issue because the bug exists in the deployed version's codebase. You must install a newer build of Microsoft 365 Apps where Microsoft has specifically patched this bug.
Is it safe to rename the ai.dll file on a production server?
Renaming ai.dll to ai.exe is a community-validated temporary workaround that prevents the buggy DLL from loading, allowing PowerPoint to open. However, because it bypasses the file's intended functionality, you should only use it temporarily until you can push the official update from Microsoft.




