Quantcast
Channel: Low disk space after filling up C:\Windows\Temp with .evtx and .txt files - Super User
Viewing all articles
Browse latest Browse all 4

Low disk space after filling up C:\Windows\Temp with .evtx and .txt files

$
0
0

I've been using my new Windows 10 PC for about one week and have recently started getting this warning:

Low disk space warning

This does not appear every reboot. Checking C:\ properties, 212MB was reported free...and after a reboot Windows now claims that 0MB is free! I was not able to capture that image because Windows refused to save the file with a message that the "disk is full".

I realise this question has been asked before (for example here) but none of the answers there helped. I've carefully checked every folder on my system, and the total disk size is 236.31GB and actual "Size on disk" space is only 51.09GB.

I've tried:

  • Clearing the Recycle Bin
  • Clearing out all Windows Event Logs
  • Deleting all system restore points
  • Rebooted multiple times

What on earth is going on here?

UPDATE 1

After a reboot I now have 24MB free (on a 236GB disk!) and managed to install WinDirStat (from a suggestion I found in web search). After analysing the entire system, it identifies 92,798 files in the folder C:\Windows\Temp which add up to 183.7GB.

In this folder there are 61,510 files with the extension .evtx, identified as Event Log by Windows. They are typically a few MB in size and have names like AppXDeploymentServer_4A4B3E10-6F81-0000-1A5D-4C4A816FD401.evtx.

There are also 30,795 files with the extension .txt, identified as Text Document by Windows.

Why are these files not reported in Properties and can I safely delete these files? Or maybe permanently disable the associated event log? Is there a way to stop Windows crapping on my hard disk so I can just use the PC?

UPDATE 2

I have now manually deleted ~30k .txt files and anything else older than 24 hours from that folder (~62k other files totalling ~182GB). After a reboot, Windows now reports 183GB of free space.

OK, that sounds good...except that I'm now looking at this C:\Windows\Temp folder. When I first entered the folder, there were 446 items...and now 5 minutes later there are 667 items!

How can I stop Windows writing files here!

EDIT: The number of files has now jumped to 712 after writing the above comment. WTF??

UPDATE 3

The problem is definitely related to the C:\Windows\Temp filling up with (mainly) .evtx files. These usually have a size of 5,188KB. Following from one of the comments, I loaded one of the .evtx files (the random one I selected had 4,108 events in it). There are hundreds of Information, Error, Verbose and Warning messages. Here is an example screenshot with one of the errors highlighted.

Example event log

Here is a sample from one of the thousands of .txt files written to this folder:

Package full name = Microsoft.SkypeApp_14.33.41.0_neutral_~_kzf8qxf38zg5cAppXDeploymentServer version = 10.0.17134.320Result code = 0x80073CF6Component failure code = 0x80070422ETW Event ID = 310Deployment Operation = 4294967294Package Manager State = 19OSIM state = 1Failed component name = windows.capability

Since writing the above update, over 2000 files have been written to C:\Windows\Temp. Is there any way to stop Windows writing these files altogether?


Viewing all articles
Browse latest Browse all 4

Trending Articles