Low disk space after filling up C:WindowsTemp with .evtx and .txt files

Windows operating system has evolved a lot in the past few years and Windows 10 has come up with a lot of advancements keeping security, advanced features, and other aspects in mind however low disk space is still an unturned stone in the Windows environment. By default, Windows comes with a single partition on a new computer, and later we can create multiple partitions as per our need.

If the C: Drive that by default hold your operating system files get filled up with temporary files and other stuff, it may hamper the basic functionality of the OS and start creating low disk space issues. There are numerous steps that you can take to optimize the computer and free up disk space to fix this issue. This article will help you with collated steps that can optimize the computer and fix disk space related issues.

Windows OS shows low disk space as an alarming message when it reaches a specified limit however it stops saving new files when the space is extremely low. All you can see is ‘Disk is Full’ message while trying to save a new file. There are a couple of steps that you can perform however the first thing to check is the junk and temp files.

Cleaning up .evtx files & .txt files

If you have never cleaned or optimized your computer, there can be thousands of Event Logs (.evtx files) or Text Files (.txt files) on your computer accumulated since you got the computer.

What are Event Logs?

Whenever you receive any Information, Error, Verbose and Warning messages, it creates a log in the Event Viewer with an extension of (.evtx) that we can’t access normally. You may find thousands of such messages and every message has a log. The problem can be related to the in-built Windows Store app and the AppX Deployment Service on Windows 10 version 1803. To clean these Event Viewer messages, you may follow these steps.

Turn OFF Microsoft Store Application

You can disable the Store App using Group Policy Editor by following these steps. You should have administrative rights to perform this action.

Step 1. Press WIN + R to open the ‘Run’ window and type gpedit.msc and hit enter.

Step 2. Go to User Configuration>Administrative Templates>Windows Components>Store

Step 3. Click to Enable ‘Turn off the Store Application’ option.

Step 4. Reboot the computer and delete temp files from the computer.

Reset Microsoft Store Settings

If you are continuously cleaning and optimizing your computer, still see the same error every other day, you can reset the Microsoft Store settings to default.

Step 1. Click on the ‘Start’ button and then click on the gear icon to access Settings.

Step 2. Click on ‘Update & Security’ option at the bottom from the list and then click on the ‘Troubleshoot’ button in the left-hand side panel.

Step 3. Scroll down and click on ‘Windows Store Apps’ at the bottom of the list and click on ‘Run the Troubleshooter’ button.

Step 4. Press (Win + R) to open the Run dialogue box and type wsreset.exe and click on OK.

Step 5. You will see a Command Prompt window flashing up for a few seconds and the window will close automatically. Microsoft Store will open up on the screen with refreshed settings.

Delete Event Logs Manually

Step 1. Click on the ‘Start’ button and type event viewer in the search bar.

Step 2. Click on the ‘Run as Administrator’ option on the right-hand side in search results.

Step 3. Event Viewer window will open. Expand the ‘Windows Logs’ folder in the right-hand side panel.

Step 4. Click on ‘Application’ directory to view event logs created by different applications. In my case, you can see there are 17,066 event logs created by Applications.

Step 5. Right-click on ‘Application’ and click on the ‘Clear Log…’ option from the drop-down menu. This will erase all the event logs from the application directory.

Step 6. Follow the same process for ‘Security’, ‘Setup’, and ‘System’ directories to clear all the historical event logs.

Clear C:WindowsTemp Folders

Step 1. Press Win + R to open the run command window and type ‘%Temp%’ and hit enter.

Step 2. Windows Explorer will open with all the Temporary files of your user account, press (Ctrl + A) to select all and press (Shift + Delete) key combination to permanently delete these files.

Step 3. Press Win + R to open the run command window and type ‘Temp’ and hit enter.

Step 4. Windows Explorer will open with all the System temporary files, press (Ctrl + A) to select all and press (Shift + Delete) key combination to permanently delete these files.

Step 5. Press Win + R to open the run command window and type ‘prefetch’ and hit enter.

Step 6. Windows Explorer will open with all the Prefetch Files, press (Ctrl + A) to select all and press (Shift + Delete) key combination to permanently delete these files.

Run Disk Cleanup Utility

Step 1. Press (Win + R) key combination and type ‘cleanmgr’ in the ‘Run’ box and hit OK.

Step 2. ‘Disk Cleanup’ utility window will show up on the screen with C: Drive selected.

Step 3. Select the drive on which your Windows operating system is installed to scan and remove unwanted files accumulated by Windows. Click on the ’Okay’ button.

Step 4. Disk Cleanup utility will scan the system and list out all the temporary files that can be deleted from your system. You may select Recycle Bin, Temporary Internet Files, Temporary Files, Thumbnail, and click on the ‘Ok’ button. Click on ‘Clean up System Files’ to eliminate unwanted Windows files from your PC.

Step 5. Confirm submission and click on the ‘Delete Files’ button to delete all the selected files permanently from the computer.

Summing Up

There are dozens of other steps that you can perform to optimize Windows PC like eliminating large files, videos, movies, taking backup on the external hard drive, etc. You may also make use of one of the Advanced System Optimizers to automatically search and clean all the junk files from your computer. These optimization and tune-up suits are loaded with multiple utilities to clean and optimize your system, protect you from malware infections and update all the device drivers on a regular interval. There are several other features bundled with such PC Tune-up applications. Keep your system optimized and enjoy computing like a professional.

Leave a Comment