5 types of Windows data that can be deleted automatically at shutdown

Your system may get bogged down over time, often with unnecessary data. Although you can delete them manually, the following article will show you how to automate this task every time you turn off your computer.

From your browser's cache to your temporary file, you'll undoubtedly discover a new trick in this article, perhaps even for something that you didn't know existed. clear all.

1. The document was recently opened

For some programs, Windows keeps track of the files you recently viewed. For example, open something like Microsoft Word and right-click on it in the Taskbar . The jump list will show you all the documents you have recently opened. You can remove this list automatically when the computer is turned off using Registry Editor .

Press Windows key + R to open a Run dialog box , enter regedit and click OK . In the left panel, navigate to the following path:

HKEY_CURRENT_USER \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion

Check if you have a Policies folder here, with an Explorer folder in it. If there are none or only one then you will need to create them. First, right-click CurrentVersion and press New> Key . Name the Policies folder and press Enter .

5 types of Windows data that can be deleted automatically at shutdown

Second, right-click Policies folder and click New> Key . Name the folder Explorer and press Enter . Once done, click on that folder.

In the menu above, go to Edit> New> DWORD (32-bit) Value . Name the value ClearRecentDocsOnExit and press Enter . Next, double click on the value and change the Value data to 1 . Finally, click on Ok . If you want to disable this, simply navigate back and set the value to 0.

2. File page

Windows uses RAM to store temporary files, but it moves them to a page file when it slows down on space. While your RAM is automatically deleted on shutdown, the page file does not. But, you can delete it automatically when you shutdown with Registry Editor .

Once activated, your computer will take a long time to turn off. The additional time will depend on the speed and size of the page file. The risk is minimal because you can revert the changes if needed.

Press Windows key + R to open a Run dialog box, enter regedit and click OK . In the left panel, navigate to the following path:

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Session Manager \ Memory Management

On the right panel, you will see a row for ClearPageFileAtShutdown . If you don't see this, right-click on Memory Management on the left and click New> DWORD (32-bit) Value . Type ClearPageFileAtShutdown and press Enter .

5 types of Windows data that can be deleted automatically at shutdown

Next, double-click on the value ClearPageFileAtShutdown and change the Value data to 1 . Click OK to finish. If you want to disable this, just go back and set the Value data is 0 .

3. Browsing data

Depending on the settings, your browser will save data as you browse the web, such as history, downloads, and input form. You can delete these manually at any time, but you can set them to automatically delete when your browser is closed. Each browser has a different method.

3.1. Firefox

Open Firefox and click on the menu icon (3 lines), then select Preferences> Privacy . Under History , you'll see a drop-down menu next to Firefox will and select Use custom settings for history.

5 types of Windows data that can be deleted automatically at shutdown

Then, put a checkmark in Clear history when Firefox closes . Next, click on Settings ... to select what Firefox automatically deletes when closed and click on OK when done.

3.2. Chrome

Open Chrome and click the three-dot icon in the upper right corner of the browser and select Settings . Scroll down and click Advanced> Content Settings ...> Cookies . Then, turn on Keep local data only until you quit your browser .

5 types of Windows data that can be deleted automatically at shutdown

However, this will only delete your cookie. You clear the Chrome cache manually and cannot automate this process.

To automate things other than cookies, you'll need an extension, Click & Clean . You install it and click on the Click & Clean icon near the address bar and select Options . In the Extra category , tick Delete private data when Chrome closes.

3.3. Microsoft Edge

You open the Edge and click on the 3 dots , select Settings . Under the heading Clear browsing data , click Choose what to clear.

5 types of Windows data that can be deleted automatically at shutdown

Check everything you want to remove and then turn Always clwar this when I close the browser to On .

4. Notice Tile directly

If you display tiles directly on the Start Menu , you'll notice that some of them display notifications and live information. This is useful for a quick look, but if you don't open these apps, the notifications piling up become cumbersome. To fix this, you can clear the cache directly on shutdown.

Press Windows key + R to open Run , type regedit , and click OK . On the left pane, navigate to the following path:

HKEY_CURRENT_USER \ Software \ Policies \ Microsoft \ Windows

With the Windows folder selected, go to Edit> New> Key . Enter Explorer and press Enter.

With the Explorer folder selected, go to Edit> New> DWORD (32bit) Value . Type ClearTilesOnExit and press Enter . Next, double click on the DWORD you just created and set the Value data to 1 . Then click OK . You can change the value to 0 if you want to turn it off in the future.

5. Temporary files

When you use the computer, it automatically creates temporary files that it may need to call for that specific session, such as error logs or images. They are stored in a folder called Temp .

To view the Temp folder , press Windows key + R to open Run , type % temp% , and click OK .

5 types of Windows data that can be deleted automatically at shutdown

You can create an executable file that will automatically delete the Temp folder whenever you log into Windows. To get started, open Notepad and enter the following command:

rd% temp% / s / q

md% temp%

Then, click File> Save As ... And enter the File name as follows:

% appdata% \ microsoft \ windows \ start menu \ programs \ startup \ temp.bat

Finally, click on Save to save this executable file in the Startup folder . If you want to stop the process, just navigate to the directory path above and delete temp.bat .

Thus, with the settings as the guide article above, you can make Windows automatically delete some unnecessary data when the computer is shutdown. This will both save you time and help the system work more efficiently.

Sign up and earn $1000 a day ⋙

Leave a Comment

Latest Version of Python (2024, 2025)

Latest Version of Python (2024, 2025)

Explore the latest versions of Python (2024, 2025), a dynamic object-oriented programming language that continues to dominate as the go-to choice for beginners and advanced programmers alike.

Youda Legend: The Curse of the Amsterdam Diamond - Latest Updates for 2024 & 2025

Youda Legend: The Curse of the Amsterdam Diamond - Latest Updates for 2024 & 2025

Youda Legend: The Curse of the Amsterdam Diamond, the engaging adventure game, introduces thrilling updates and features in 2024 and 2025.

Create USB Boot with Grub4Dos to install Windows on your computer

Create USB Boot with Grub4Dos to install Windows on your computer

Reinstalling a computer with a disk is now a thing of the past. Learn how to create USB Boot with Grub4Dos to install Windows easily and effectively.

What is the new Vietnamese Percussion EVKey? How to download and use the software EVKey

What is the new Vietnamese Percussion EVKey? How to download and use the software EVKey

EVKey is a popular Vietnamese typing software with many outstanding features. Learn how to download and use EVKey efficiently on Windows and Mac.

How To Save A Clipboard Image As A JPG Or PNG File

How To Save A Clipboard Image As A JPG Or PNG File

Learn how to efficiently save clipboard images as JPG or PNG files across different operating systems, including Windows, Mac, and Linux. Methods covered include Snipping Tool, Paint 3D, and more.

How to Create a Link to a File or Folder in Windows: A Comprehensive Guide

How to Create a Link to a File or Folder in Windows: A Comprehensive Guide

Learn how to create a link to a file, folder, or library in Windows easily, with step-by-step methods for sharing and copying file paths.

How to turn off the Zalo startup feature with the computer

How to turn off the Zalo startup feature with the computer

Learn how to easily turn off the Zalo startup feature on your computer for a smoother user experience. This guide provides simple steps tailored for optimal settings.

3 Ways to Make Sticky Notes Open Automatically at Windows Startup

3 Ways to Make Sticky Notes Open Automatically at Windows Startup

Learn how to set Sticky Notes in Windows to start automatically when you log in and stay on your Desktop for easy access.

Ninite - How to install software for computers extremely fast

Ninite - How to install software for computers extremely fast

Ninite is an online application that helps users to quickly install many different applications and software with a single mouse click.

Ways to find all video files on Windows

Ways to find all video files on Windows

Discover effective methods to find all video files on Windows quickly. Special tips included for locating saved and recorded videos on your PC.

How to limit the number of failed login attempts on Windows 10

How to limit the number of failed login attempts on Windows 10

How to limit the number of failed login attempts on Windows 10. Limiting the number of failed password login attempts on Windows 10 helps increase computer security. Here's how

How to create fake error messages in Windows

How to create fake error messages in Windows

How to create fake error messages in Windows, Windows can come up with some pretty creative error messages but why don't you try creating your own content for them to make fun of?

How to Prepare for the Replacement of Windows?

How to Prepare for the Replacement of Windows?

Replacement windows offer a transformative upgrade to your home, enhancing aesthetics, energy efficiency, and overall comfort. Proper preparation is key to ensuring a smooth and successful window replacement project.

Work more efficiently with iTop Easy Desktop - desktop organizer for Windows 10/11

Work more efficiently with iTop Easy Desktop - desktop organizer for Windows 10/11

Windows 10/11 has many improvements, but it is not enough for those who like to work with Windows. iTop Easy Desktop will make Windows 10/11 simpler and more efficient.

Hackers Can Hack Windows Through a Printer: How It Happened and What to Do

Hackers Can Hack Windows Through a Printer: How It Happened and What to Do

If you’re worried about the safety of your PC, it’s better to check your printer first. This article will tell you how hackers gain access through the printer and how to prevent it.

Instructions for creating green ticks for Facebook

Instructions for creating green ticks for Facebook

Step-by-step guide on how to create a green tick for Facebook. Learn how to verify your account and gain credibility with the green verification mark.

How to download Torrent files on Mozilla Firefox

How to download Torrent files on Mozilla Firefox

Learn how to download torrent files directly using the Firefox web browser with the Torrent Tornado add-on. Simple steps for effective torrent downloading.

How To View Someone Else’s TikTok Followers

How To View Someone Else’s TikTok Followers

Learn how to view someone else’s TikTok followers, both on public and private accounts. Discover effective methods to access follower counts and improve your TikTok strategy.

Instructions to login to Facebook by Email

Instructions to login to Facebook by Email

Learn how to login to Facebook using your email, phone number, or even QR Code authentication without entering a password.

How To Stop An Echo In Parsec

How To Stop An Echo In Parsec

Learn how to stop echo during your Parsec streaming sessions with effective solutions. Echo is a common issue that disrupts communication in games, and we provide proven methods to eliminate it.

How to change your avatar and cover photo Zalo

How to change your avatar and cover photo Zalo

Discover how to change your avatar and cover photo on Zalo to express your personality. Follow our easy guide and optimize your Zalo profile image.

How to mark close friends on Zalo

How to mark close friends on Zalo

Learn how to manage your relationships on Zalo by marking close friends, similar to Instagram. This feature allows easy access to frequently contacted individuals.

Send screenshots super fast via Viber on Windows

Send screenshots super fast via Viber on Windows

Learn how to send screenshots via Viber quickly and without saving them. This guide provides step-by-step instructions to enhance your messaging experience.

Instructions to restore deleted messages on Zalo

Instructions to restore deleted messages on Zalo

Learn how to easily restore deleted messages on Zalo with our step-by-step instructions. Quickly recover your important chats on this popular messaging app.

Instructions to install background music for your personal page on Zalo

Instructions to install background music for your personal page on Zalo

Discover how to easily add background music to your personal Zalo page with our comprehensive guide on using Zalo for Android and iOS devices.

How To Find The Last Raider In Minecraft

How To Find The Last Raider In Minecraft

If you’ve ever found yourself at the end of a Minecraft raid, searching for the last raider to eliminate, you’re not alone. Many players have faced this challenge.

How to completely remove Coc Coc browser on your computer

How to completely remove Coc Coc browser on your computer

Learn how to uninstall Coc Coc browser completely from your computer, ensuring all data is removed. Follow these simple steps for an effective uninstallation.

How to use the Toshiba AW-A800SV washing machine control panel

How to use the Toshiba AW-A800SV washing machine control panel

Discover how to effectively use the Toshiba AW-A800SV washing machine control panel with our detailed guide!

How to use the emergency feature on Samsung Galaxy Watch and other smartwatches

How to use the emergency feature on Samsung Galaxy Watch and other smartwatches

Discover how to effectively use emergency features on Samsung Galaxy Watch and other smartwatches, including SOS alerts, fall detection, and health records.

Share personal QR code on Zalo

Share personal QR code on Zalo

Discover how to effectively <strong>share QR code on Zalo</strong>. QR codes enhance connectivity, enabling easy friend requests and more on Zalo.