On all my windows 10 computers, the C:\Users\Computer_Name\AppData\Local\Temp folder gets filled with a bunch of 0 KB files named for example “mat-debug-2384.log”. I’ve searched the internet from one end to the other and have not found the solution to what is creating all these files and how do I stop them. Please, there has to be an expert here that can answer this.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
mat-debug-####.log
Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » mat-debug-####.log
- This topic has 24 replies, 10 voices, and was last updated 3 years, 8 months ago.
Tags: mat-debug
AuthorTopicTom Gorman
AskWoody LoungerMay 11, 2020 at 10:10 pm #2261592Viewing 19 reply threadsAuthorReplies-
Alex5723
AskWoody PlusMay 12, 2020 at 2:20 am #2261669On all my windows 10 computers, the C:\Users\Computer_Name\AppData\Local\Temp folder gets filled with a bunch of 0 KB files named for example “mat-debug-2384.log”. I’ve searched the internet from one end to the other and have not found the solution to what is creating all these files and how do I stop them. Please, there has to be an expert here that can answer this.
Mine started appearing after installing KB4549951 on May 5 on W10 1909.
There is 1 file for each day except for 2 files in May 7 which had ChrEdge update. -
doriel
AskWoody LoungerMay 12, 2020 at 2:39 am #2261674Interesting, I found “aria-debux-xxxxx.log” files at mine TEMP folder. All dated this morning.
And I am the owner, not SYSTEM.Dell Latitude 3420, Intel Core i7 @ 2.8 GHz, 16GB RAM, W10 22H2 Enterprise
HAL3000, AMD Athlon 200GE @ 3,4 GHz, 8GB RAM, Fedora 29
PRUSA i3 MK3S+
-
Alex5723
AskWoody PlusMay 12, 2020 at 3:01 am #2261683Interesting, I found “aria-debux-xxxxx.log” files at mine TEMP folder. All dated this morning.
And I am the owner, not SYSTEM.Aria…log seems to be connected with Telemtry, but no one at Microsoft knows what Aria and Mat debug files are :
The xxxxx is the PID number creating the .log file.
1 user thanked author for this post.
-
doriel
AskWoody LoungerMay 12, 2020 at 3:05 am #2261684Here I found, that is due to incorrect OneDrive setup. So my thought is, that mat-debug is releated to other application/service that is running into issues.
Dell Latitude 3420, Intel Core i7 @ 2.8 GHz, 16GB RAM, W10 22H2 Enterprise
HAL3000, AMD Athlon 200GE @ 3,4 GHz, 8GB RAM, Fedora 29
PRUSA i3 MK3S+
-
Alex5723
AskWoody PlusMay 12, 2020 at 3:08 am #2261686Here I found, that is due to incorrect OneDrive setup. So my thought is, that mat-debug is releated to other application/service that is running into issues.
I don’t use OneDrive.
doriel
AskWoody LoungerMay 12, 2020 at 3:23 am #2261688@tom-gorman my bet is on OneDrive, or some sort of MS Office mutation.
Is there any non-zero size file? Mine contains some info..
2020-05-12 08:43:43.716|00012640|
C:\build\aria-cpp-v1\clienttelemetry\src\LogManagerImpl.cpp(626): class Microsoft::Applications::Telemetry::ILogger *__thiscall Microsoft::Applications::Telemetry::LogManagerImpl::Initialize(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const struct Microsoft::Applications::Telemetry::LogConfiguration &) WARNING: Invalid in-ram queue size (20971520), adjusted to max ram queue sizeDell Latitude 3420, Intel Core i7 @ 2.8 GHz, 16GB RAM, W10 22H2 Enterprise
HAL3000, AMD Athlon 200GE @ 3,4 GHz, 8GB RAM, Fedora 29
PRUSA i3 MK3S+
Alex5723
AskWoody Plus-
Sergio Silva
AskWoody Lounger
Tom Gorman
AskWoody LoungerMay 18, 2020 at 8:40 am #2263478Here I found, that is due to incorrect OneDrive setup. So my thought is, that mat-debug is releated to other application/service that is running into issues.
I have One Drive disabled
wavy
AskWoody PlusMay 19, 2020 at 7:43 am #2263883Use disk cleanup to rid them. ie
cmd.exe /c Cleanmgr /sageset:65535 & Cleanmgr /sagerun:65535be sure Cleanmgr is allowed folder access via the ‘Protected Folders” in ‘Widows Security” under ‘RansomeWare Protecton’
🍻
Just because you don't know where you are going doesn't mean any road will get you there.anonymous
Guestanonymous
GuestJanuary 27, 2021 at 12:40 am #2337983PS.
I should also note that I don’t allow Onedrive to get access to my folders via Windows Security Options. I never use Onedrive for anything. The only reason that I don’t Uninstall Onedrive is because MS will cause problems in future updates if I do.
MS are as incompetent as they are greedy. With Win 10 it feels like my own PC does not belong to me anymore, strange because I don’t remember MS buying it for me.
anonymous
GuestJanuary 27, 2021 at 12:40 am #2337982It is caused by MS with their retarded updates and zero quality control. This bug has been going on for years. MS don’t care and don’t respond to people asking about it. MS solution, take the money and ignore the customer after.
Took me a long time to find an answer to this problem.
The problem is a MS update that messes up Onedrive & MS Office along with other MS apps.In the link below you only need to read the posts by Richspacenuke. Ignore Ghost363, you don’t need to un/install anything and, unknown 3rd party software is risky for this kind of procedure. Win 10 has the tools you need. I suggest reading all 7 pages, it is short.
>>> Never delete files when you are tired or distracted. <<<
If you don’t know, and to help other readers find what they need :
You can open Command Prompt via Win Key + r then type cmd (there are several ways to open the Command Prompt including the Control Panel and the Start Menu/Windows System folder). Then you type msconfig for the Boot Options as described further below.To get to the 2 Temp Directories, press and hold the Win Key and the r key (should open Run) then type temp (or) Win Key + r then type %temp% to get to the other temp directory (for aria debug 0kb files). Quite ironic that the files are called “debug files”.
You can get to Disc Clean Up via the Start Menu (Windows Admin Folder) or, you can Right Click the Mouse over the C Drive, click on Properties, it should open on the General tab, you will see a button for Disc Clean Up on that tab (next to the circle representing hard disc space). That will take you to the Check Box Options page.
>> Read the descriptions for each Check Box Option by highlighting any of the box options via the left mouse click.<<“The FIX that has worked so far is this: I ran msconfig, checked boot option box as “Safe Mode”, and checked “minimum”, then restarted the computer into Safe Mode and ran Disk Clean Up, then looked in temp file (found no files in my Temp folder, having cleaned them out before I restarted) and confirmed there were no files. Then I unchecked Boot from Safe Mode and Rebooted back into normal windows 10. Viola! no more mat-debug files! This beats uninstalling and reinstalling stuff!”
(he did not mention that %temp% is also creating aria debug 0kb files. You can get to this directory via Win + r then type %temp%)
He then mentions the Check Boxes that he selected in the Disk Clean up options :
“The only reason I can see the FIX works (still holding true after 5-6 shutdowns and startups of my laptop) is that I ran Disk Clean in Safe Mode and the Safe Mode configuration released files from active use that were deleted by that action, uniquely. All I know, is that it worked. If you want I can give you the boxes that I checked in using MS Disk Cleaner. Of course I also uninstalled One Drive and assured that Smartbyte Telemetry was disabled thoroughly before I ran in Safe Mode.”
>>(again, you don’t need to un/instal anything)<<>>> (important that you learn what these options do. If you click on the options you will be given a description. Some files you want to clean up but, others you want to leave alone. careful which check boxes you want to select for deletion.) <<< ….
Check Boxes to select :
“Yes. First delete the existing files in my temp folder and run Cleanmgr once before going to Safe Mode. Make sure that it is checked to clean out all temporary files, temporary internet files, thumbnails, recycle bin files, and delivery optimization files.
Also, I would delete browsing history including using Internet Options and cookies under Control Panel. ”You may also have old MS Windows Update Files in the GB size range that are safe to remove.
I hope this fixes your MS buggy update issues, it can easily happen again in the future so take notes here for future reference.I remember when computers did not have all this nonsense, they have trashed it. Now they just want your money for nothing.
>>> My next PC is going to be a Linux OS <<<
Susan Bradley
ManagerJanuary 27, 2021 at 12:41 am #2337986Did you see this thread? mat-debug-xxxx.log files – Microsoft Community
”
I solved the annoying problem with mat-debug-xxxx.log files for me using the commands:
Get-AppxProvisionedPackage -Online | Where-Object {$_.PackageName -Like “Microsoft.MicrosoftOfficeHub”} | ForEach-Object { Remove-AppxProvisionedPackage -Online -PackageName $_.PackageName}
Get-AppxPackage Microsoft.MicrosoftOfficeHub | Remove-AppxPackage
In my case the files in tmp folder were created by the program:
C:\Program Files\WindowsApps\Microsoft.MicrosoftOfficeHub_18.2005.1191.0_x64__8wekyb3d8bbwe\LocalBridge.exe
Found by Sysinternals’ Procmon.”Susan Bradley Patch Lady/Prudent patcher
rebop2020
AskWoody PlusMay 9, 2021 at 1:57 am #2363587I just noticed I have these today. Did not on 1909, but do on 20H2.
I ran the powershell command to see what apps were installed. No officehub, no onedrive. Nothing obvious.
What can I do to find the source of the issue? For example, not sure how procmon could help me find this.
Thanks.
-
Paul T
AskWoody MVP
JohnW
AskWoody Loungerrebop2020
AskWoody PlusJuly 24, 2021 at 12:10 pm #2379675Checking in late here….
I have this issue. Started with ChromeEdge installed and no doubt for ME it is the Edge Updates causing this. Not Office Localbridge, nor Telemetry, nor OneDrive, nor XBox, etc.
What is the fix? I hate that Edge tries to update that often anyway. As someone suggested removing the folder seems ridiculously risky and not the solution.
What are ya all thinking?
Paul T
AskWoody MVPJuly 25, 2021 at 2:01 am #2379772It seems to be machine specific – I don’t have those files – so it’s up to you how you handle it. If you are short on disk space you can try deleting them, otherwise monitor but ignore.
Edge must check for updates daily IMO. Not having an up to date browser means potentially being more vulnerable.
cheers, Paul
rebop2020
AskWoody PlusJuly 25, 2021 at 10:49 am #2379820Thanks.
There are three Edge Update Tasks. One checks daily, then every hour after that. This seems to be the one creating those files. I may stop the hourly.
And have to disagree on browsers. Been online since 1986, though likely first browser 93. When there are updates, they let me know. I never install updates to Firefox or Waterfox, etc until I learn what the changes are and they seem stable. With good AV, never a problem. So this constant checking and silent update bothers me. But then again, that bothers me on Win 10 as well. I like stability and knowing what to expect.
So, will see if anyone else comments and likely modify that one task. And no, nowhere near short of disk space. Just lack of tolerance for runaway processes 🙂
Curious it is machine specific. Another thing that bothers me. But….
Thanks.
rebop2020
AskWoody PlusJuly 25, 2021 at 11:22 am #2379824Would someone or ones do me a favor and check the Edge tasks in Task Scheduler? IK seem to have two of the same for MicorsoftEdgeUpdateTaskMachineCore that differ only by an id string at the end of one of them. I suspect that could be an error since they run the identical action at different times of the day.
Thanks.
rebop2020
AskWoody Plusrebop2020
AskWoody PlusAugust 9, 2021 at 9:54 am #2382667They have stopped. The Tasks still run but no longer create these files in Temp. Odd, eh?
There are posts peppered on the ‘net that go to safe mode startup, delete all of them, reboot and it fixes it. Makes no sense, but all I did was delete all at once and no more created. Will see if that sticks.
1 user thanked author for this post.
Viewing 19 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
9 Surprisingly Effective Ways To Tonic Greens (Awaiting moderation)
by
joannnall9452
1 hour, 25 minutes ago -
advice for setting up a new windows computer
by
routtco1001
5 hours, 43 minutes ago -
It’s Identity Theft Day!
by
Susan Bradley
2 hours, 22 minutes ago -
Android 15 require minimum 32GB of storage
by
Alex5723
10 hours, 33 minutes ago -
Mac Mini 2018, iPhone 6s 2015 Are Now Vintage
by
Alex5723
10 hours, 43 minutes ago -
Hertz says hackers stole customer credit card and driver’s license data
by
Alex5723
11 hours, 13 minutes ago -
Firefox became sluggish
by
Rick Corbett
8 hours, 7 minutes ago -
Windows 10 Build 19045.5794 (22H2) to Release Preview Channel
by
joep517
15 hours, 11 minutes ago -
Windows 11 Insider Preview Build 22635.5235 (23H2) released to BETA
by
joep517
15 hours, 40 minutes ago -
A Funny Thing Happened on the Way to the Forum
by
bbearren
11 hours, 11 minutes ago -
Download speeds only 0.3Mbps after 24H2 upgrade on WiFi and Ethernet
by
John
12 hours, 35 minutes ago -
T-Mobile 5G Wireless Internet
by
WSmmi16
4 hours, 33 minutes ago -
Clock missing above calendar in Windows 10
by
WSCape Sand
5 hours, 6 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
1 day, 6 hours ago -
The time has come for AI-generated art
by
Catherine Barrett
10 hours, 29 minutes ago -
Hackers are using two-factor authentication to infect you
by
B. Livingston
20 hours, 10 minutes ago -
23 and you
by
Max Stul Oppenheimer
1 day, 3 hours ago -
April’s deluge of patches
by
Susan Bradley
6 hours, 43 minutes ago -
Windows 11 Windows Updater question
by
Tex265
7 hours, 11 minutes ago -
Key, Key, my kingdom for a Key!
by
RetiredGeek
2 days, 12 hours ago -
Registry Patches for Windows 10
by
Drcard:))
2 days, 16 hours ago -
Cannot get line length to NOT wrap in Outlining in Word 365
by
CWBillow
1 day, 23 hours ago -
DDU (Display Driver Uninstaller) updates
by
Alex5723
1 day, 8 hours ago -
Align objects on a OneNote page
by
CWBillow
2 days, 22 hours ago -
OneNote Send To button?
by
CWBillow
2 days, 22 hours ago -
WU help needed with “Some settings are managed by your organization”
by
Peobody
3 days, 7 hours ago -
No Newsletters since 27 January
by
rog7
1 day, 12 hours ago -
Linux Mint Debian Edition 7 gets OEM support, death of Ubuntu-based Mint ?
by
Alex5723
2 days, 8 hours ago -
Windows Update “Areca Technology Corporation – System – 6.20.0.41”
by
Bruce
2 days, 6 hours ago -
Google One Storage Questions
by
LHiggins
1 day, 14 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.