How to delete temp files in copilot

DEBORAH ALBERTE 0 Reputation points
2026-11-21T22:13:08.68+00:00

Can’t delete temporary files that are attached to copilot

Microsoft Copilot | Windows Copilot | App
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-11-21T22:14:49.18+00:00

    Close CopilotAppHost in Task Manager before rerunning Windows cleanup, because Windows will not delete a temporary file while the app is actively using it.^1^

    Stop CopilotAppHost and clean the files

    1. Close the Copilot window.
    2. Press Ctrl+Shift+Esc to open Task Manager.
    3. Under Processes or Details, locate Copilot, Microsoft Copilot, or CopilotAppHost.
    4. Select it, then choose End task. Task Manager supports ending active processes.^2^
    5. Immediately go to: Settings → System → Storage → Storage Sense → Run Storage Sense now.
    6. Return to Settings → System → Storage → Temporary files, select the files, and choose Remove files.^3^

    If CopilotAppHost restarts before cleanup completes, restart Windows and run the cleanup before opening Copilot.

    Some temporary files can remain because Windows or another application is using them; skipping those files is normal.^4^

    If CopilotAppHost keeps recreating or locking them

    Resetting Copilot can remove its local app data, so sign-in or app preferences might need to be configured again.

    1. Open Settings → Apps → Installed apps.
    2. Find Copilot and select … → Advanced options.
    3. Select Repair first.
    4. If cleanup still fails, return to the same page and select Reset. Windows documents that Repair preserves app data where possible, while Reset can remove app data.^5^
    5. Restart Windows, then run Storage Sense again before opening Copilot.

    The Advanced options entry is not available for every app. If Copilot does not show it, use the reinstall fallback.

    Reinstall Copilot if the lock persists

    1. Open Settings → Apps → Installed apps.
    2. Search for Copilot.
    3. Select … → Uninstall.
    4. Restart Windows.
    5. Run Settings → System → Storage → Storage Sense → Run Storage Sense now.
    6. Reinstall Copilot from Microsoft Store. Microsoft documents both the uninstall path and Store reinstall option.^6^

    Do not take ownership of Windows or app-package folders merely to force deletion. Files still locked after Copilot is closed may belong to Windows or another running component.


    References

    1. You require permission from IFLAPTOP\Goofy to make changes to this file. [SOLVED!!!] - Microsoft Q&A
    2. [Windows 11](https://support.microsoft.com/accessibility/windows/use-a-screen-reader-to-navigate-windows-support-tools#task-manager)
    3. [Windows 11](https://support.microsoft.com/windows/experience/performance-optimization/tips-to-improve-pc-performance-in-windows#solution-3-free-up-disk-space-to-boost-pc-performance)
    4. After deleting temporary files, my storage says they are still there... - Microsoft Q&A
    5. Repair apps and programs in Windows
    6. Welcome to Copilot on Windows
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.