You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Recycle bin filling up with thousands of random .ini & .txt files

In the past 24 hours something is causing the recycle bin on my 2024 MacBook Air to fill up with random .ini and .txt files. I only noticed as I went to empty the recycle bin and it said there were 24k+ to delete.


When I empty the bin the files start to populate again, but when I turn off wi-fi the files stop. Turn wi-fi back on and the files start coming back.


46948e6aaa223f42.ini 14-39-16-821.ini

downloads3.txt 14-38-34-909.txt


Above is the format that the files are in. I'm running 14.4.1 and checked Activity Monitor but can't see anything that stands out.



Any ideas?

MacBook Air 13″, macOS 14.4

Posted on May 1, 2024 6:43 AM

Reply
Question marked as Top-ranking reply

Posted on May 6, 2024 12:33 PM

I've found a fix to this.


  • Turn off you wifi, then quit the OneDrive app.
  • Navigate to the application folder and control click the OneDrive app.
  • Click Show Package Contents
  • Open the Resources Folder
  • Click ResetOneDriveAppStandalone.command
  • Open OneDrive and sign back into your account.


That should reset OneDrive and fix the issue.

28 replies
Question marked as Top-ranking reply

May 6, 2024 12:33 PM in response to stickyfingers85

I've found a fix to this.


  • Turn off you wifi, then quit the OneDrive app.
  • Navigate to the application folder and control click the OneDrive app.
  • Click Show Package Contents
  • Open the Resources Folder
  • Click ResetOneDriveAppStandalone.command
  • Open OneDrive and sign back into your account.


That should reset OneDrive and fix the issue.

May 1, 2024 9:53 AM in response to stickyfingers85

Seems that the issue is being caused by MS OneDrive application. The OD symbol keeps flashing and looks like it can't connect. Tried force quitting the process but it wouldn't close it. Tried deleting the app but said it was in use and couldn't be deleted.


Turned off wi-fi which stopped the files and stopped OD trying to connect. I was then able to quit OD, and after turning wi-fi back on the files no longer appeared.


Soon as I open OD again the files start to be created again.

May 13, 2024 10:33 AM in response to jimfromleeds

jimfromleeds wrote:

I know nothing about computers but I turned off the wifi and dragged the OneDrive app on my iMac from the launchpad into the recycle bin, said yes to delete and bingo! no more random files appearing...genius

Yep. Microsoft OneDrive is the problem and deleting it will solve the issue. For others that want to continue to use OneDrive, they need to perform the other steps to reset OneDrive in order for the random files to stop appearing in the trash.

May 1, 2024 10:22 AM in response to stickyfingers85

stickyfingers85 wrote:

No, it was setup from scratch with files transferred from an older Mac using iCloud. It's def a MS issue though as per post above


Sound s like you have the solution:


"I was then able to quit OD, and after turning wi-fi back on the files no longer appeared."



for your third party app—if in doubt search the developers website or contact their: Support/Help/FAQ/Known issues/compatibility/updates…


Contact a third-party vendor - Apple Support

Contact a third-party vendor - Apple Support



Contact - Microsoft Support


OneDrive help & learning


Ask the Microsoft Community

https://answers.microsoft.com/


About the OneDrive compatibility warning on Mac

About the OneDrive compatibility warning on Mac - Apple Support




May 1, 2024 8:23 AM in response to stickyfingers85

stickyfingers85 wrote:

In the past 24 hours something is causing the recycle bin on my 2024 MacBook Air to fill up with random .ini and .txt files. I only noticed as I went to empty the recycle bin and it said there were 24k+ to delete.

When I empty the bin the files start to populate again, but when I turn off wi-fi the files stop. Turn wi-fi back on and the files start coming back.

46948e6aaa223f42.ini 14-39-16-821.ini
downloads3.txt 14-38-34-909.txt

Above is the format that the files are in. I'm running 14.4.1 and checked Activity Monitor but can't see anything that stands out.


Any ideas?


I'd be more interested in seeing a small sample of the file names for some pattern— both the .ini & .txt as examples



If in Trash>Control click Put back where is it wanting to put back to? This may be a clue.


Command i opens the information pane for some insight of the complete path...



—You can open the .txt files— whats in there?

—ini file is just a settings file and the text-based document and can be opened up in any text editor




May 2, 2024 6:23 PM in response to stickyfingers85

I don't have a solution, but I want to add that the exact same thing is happening to me. I tried reinstalling Office from scratch but One Drive still generates the files when started.


If I create a new user on my Mac and launch the same install there, OneDrive seems to be okay (I didn't wait for it to download everything, but it never greyed out), so maybe it's conflicting with something, though I don't know what. Launching OneDrive in Safe Mode doesn't resolve the issue.


Not sure where to go now with troubleshooting, but I'm happy to hear I'm not alone.

Recycle bin filling up with thousands of random .ini & .txt files

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.