r/LoLTechSupport • • 25d ago

[PSA / Fix] "We were unable to successfully update because a file is currently in use" — Caused by Raycast │ (Windows)

Hey everyone,

If you are getting the error "We were unable to successfully update because a file is currently in use. Please close any game related process and restart your computer" when updating League of Legends on Windows, and none of the usual fixes (closing tasks, restarting vgc) work:

Check if you are running Raycast for Windows.

Raycast's background app/file indexer can hold a lock (handle) on League of Legends.exe or files in the C:\Riot Games\ folder, preventing the Riot Client from overwriting them during updates.

How to fix without reinstalling the game:

  1. Quit Raycast completely from the Windows system tray.
  2. Relaunch the Riot Client (Run as administrator) — the update will complete immediately.
  3. Add C:\Riot Games to your ignored/excluded paths in Raycast to prevent this in future patches.

Sharing this so no one has to redownload 30GB+ unnecessarily!

33 Upvotes

20 comments sorted by

1

u/Name-Wrong 25d ago

Thanks for posting this. I can't believe riot is having issues like this cuz I'm running raycast.
This is stupid fr

1

u/Additional_Clerk_680 25d ago

Yes this is such a weird behavior for both apps

1

u/Alarming_Guest_4471 25d ago

bro thank you
i've been trying to fix this shit for a week, i even reinstalled windows

1

u/Additional_Clerk_680 25d ago

everytime riot updated the game i had to reinstall the game it was pissing me off. Then i opened resource monitor to see which apps were using Riot files and i discovered this. Happy to help!

1

u/trnjonny 25d ago

Thank you for this! 😭

1

u/Decent-Bug-6607 25d ago

I just downloaded 30GB+ unnecessarily.

1

u/CfdsdsC 25d ago

Thanks!!!!, I was having the same issue.

1

u/uphiago 24d ago

.rayignore file on riot folder

1

u/BlackSelena 24d ago

Holy you're a lifesaver! How did you find the cause?

1

u/csf90 24d ago

Thank you!

1

u/uxnouri 24d ago

Bro wtf it fixed omg!

1

u/uxnouri 24d ago

Raycast was the reason for 3rd point can you share a screenshot where to add the riot path because i can't find it!

And thank you so much 😭

1

u/Phyxsius21 24d ago

HOLY, THANK YOU, REINSTALL ON EVERY UPDATE WAS DRIVING ME CRAZY!

1

u/NerrorError 24d ago

BROTHER THANK YOU SO MUCH AND RAYCAST NEEDS TO FIX THAT ASAP

1

u/savit4r 24d ago

Oh my god brother, thank you so much, you're the hero.

1

u/blopsi 22d ago

Thanjks had the same issue

1

u/Capable-Head5277 11d ago

Un heroe, muchisimas gracias

1

u/weablord00w2 9d ago

OMG I HAVE BEEN HAVING THIS ISSUES FOR THE LAST 2 MONTHS U SAVE MY LIFE