I've had the same problem. It seems to be something to do with the widget in the taskbar ( news, weather etc ). I cleared my temp folder then disabled the widget - No more xml files and others. I'm sorry I cant explain why, it just works. Maybe a MS bug.
there are many xml(xx).xml in the temp directory
During the last week or so, I have notice many files in the C:\TEMP directory. they have sequential numbers and there could be up to a couple hundred. I keep deleting them, but they keep coming back. Anyone know why this is happening?
xml(12)xml.xml
xml(13)xml.xml
xml(14)xml.xml
Windows for business | Windows Client for IT Pros | User experience | Other
6 answers
Sort by: Most helpful
-
-
MotoX80 36,401 Reputation points
2024-05-31T00:32:39.67+00:00 Download and run Process Monitor.
https://learn.microsoft.com/en-us/sysinternals/downloads/procmon
In the filter menu, set a filter for "Path begins with C:\temp".
Wait a while until you see some events. Double click on one that references one of those xml files.
Check the process name, the command line parameters, parent PID and the user it is running as.
-
Neuvi Jiang 1,540 Reputation points Microsoft External Staff
2024-05-31T07:00:40.4033333+00:00 Hi Gary Agoura,
Thank you for posting in the Q&A Forums.
The appearance of a large number of XML files with serial numbers in the folder C:\TEMP may be due to the fact that a program or process is constantly generating these temporary files as it runs. The following are some common possible causes and solutions:
Programs or scripts generate temporary files:
Some programs generate temporary files when they run to store intermediate data or processing information. If the program does not handle these temporary files correctly or does not clean them up when it closes, it can cause these files to keep accumulating.
Timed or scheduled tasks:
Check the timed or scheduled tasks on your system to see if any of them run at a fixed point in time and generate these files.
Virus or malware:
Malware may generate a large number of temporary files on your system. Ensure that you have the latest antivirus software installed on your system and run a full scan to rule out this possibility.
Log files:
Some applications may generate log files in XML format. Check to see if any applications are logging in the C:\TEMP directory.
Best regards
NeuviJ
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
-
Gary Agoura 206 Reputation points
2024-06-01T14:36:28.1666667+00:00 I checked the TEMP directory and it had about 5 XML files in it but nothing showed in the result window for the Process Monitor. What did I do wrong?
-
Tony Bommarito 0 Reputation points
2024-08-13T15:38:42.1466667+00:00 I have the same issue. Procmon shows that the files are being created by Explorer.exe.
10:23:54.8781258 AM Explorer.EXE 5160 CreateFile C:\Users\Tony\AppData\Local\Temp\xml_file (11).xml:StreamedFileState SUCCESS Desired Access: Generic Read, Disposition: Open, Options: Synchronous IO Non-Alert, Non-Directory File, Attributes: N, ShareMode: Read, Write, Delete, AllocationSize: n/a, OpenResult: Opened
I don't have any idea as to why this is happening.