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.

Leave a Comment

Microsoft Launches New Sticky Notes App for Windows 11

Microsoft Launches New Sticky Notes App for Windows 11

After keeping things the same for years, the Sticky Note update in mid-2024 changed the game.

6 Ways to Copy File and Folder Paths in Windows 11

6 Ways to Copy File and Folder Paths in Windows 11

Paths are the locations of files or folders in Windows 11. All paths include the folders you need to open to get to a specific location.

Learning from Apple, Microsoft is also about to have Windows Intelligence

Learning from Apple, Microsoft is also about to have Windows Intelligence

Recently, clues that Microsoft will likely "follow the path" of Apple in the field of artificial intelligence have gradually been revealed.

How to Set Windows Photo Viewer as Default Photo Viewer on Windows 11

How to Set Windows Photo Viewer as Default Photo Viewer on Windows 11

Windows Photo Viewer was first released alongside Windows XP and has quickly become one of the most frequently used tools on Windows.

Restore hidden folders in Windows when infected with virus

Restore hidden folders in Windows when infected with virus

In many cases, it is usually due to virus attacks that the hidden folders of the system cannot be displayed even after activating the “Show hidden files and folders” option in Folder Options. Some of the following methods will help to handle this problem.

ExpressVPN Now Supports Windows ARM PCs

ExpressVPN Now Supports Windows ARM PCs

One of the world's most popular VPN services - ExpressVPN - has officially launched an app version for Windows PCs running on ARM-based processors.

Download beautiful wallpapers to celebrate Microsofts 50th birthday

Download beautiful wallpapers to celebrate Microsofts 50th birthday

Did you know Microsoft is celebrating its 50th birthday this week?

Microsoft releases new Fluid Textures desktop wallpaper collection, download now!

Microsoft releases new Fluid Textures desktop wallpaper collection, download now!

Microsoft releases new Fluid Textures desktop wallpaper collection

Microsoft Discontinues Support for Legacy DRM on Windows Media Player, Windows 7/8, Silverlight

Microsoft Discontinues Support for Legacy DRM on Windows Media Player, Windows 7/8, Silverlight

If you asked five Windows users to explain what Vista's Digital Rights Management (DRM) is, you'd probably get five different answers. But there's one thing that's important.

How to get the newly released Windows 11 24H2 update

How to get the newly released Windows 11 24H2 update

Windows 11 is expected to receive two notable major updates this year.

Word now supports summarizing super long documents

Word now supports summarizing super long documents

Microsoft has officially announced a very useful new feature for Word users, allowing for easier processing of long documents with the help of AI.

How to check computer CPU temperature?

How to check computer CPU temperature?

Let's learn with WebTech360 how to check your computer's CPU temperature in the article below!

Microsoft Edge Game Assist is now available, whats new?

Microsoft Edge Game Assist is now available, whats new?

Back in late November 2024, Microsoft announced Edge Game Assist—a new feature that makes it easier to browse the internet while playing games on your computer.

Instructions for changing computer wallpaper for Windows

Instructions for changing computer wallpaper for Windows

With the default wallpapers on Windows sometimes make us bored. So instead of using those default wallpapers, refresh and change them to bring newness to work and affirm your own personality through the wallpaper of this computer.

Microsoft allows users to use Office applications on Windows for free, but with some limitations.

Microsoft allows users to use Office applications on Windows for free, but with some limitations.

Microsoft recently raised the price of its Microsoft 365 subscription, justifying the change by adding more AI experiences to the service.

Solving Microsoft Edge Pagefile.sys High Usage Fix

Solving Microsoft Edge Pagefile.sys High Usage Fix

Tired of Microsoft Edge causing sky-high Pagefile.sys usage? Get step-by-step fixes to slash pagefile.sys high usage, optimize RAM, and reclaim your PC speed. Works on latest Windows versions!

How to Fix Microsoft Edge High Memory Usage in 2026

How to Fix Microsoft Edge High Memory Usage in 2026

Tired of Microsoft Edge high memory usage slowing you down? Get step-by-step fixes for 2026 including sleeping tabs, efficiency mode, and extensions tweaks to reclaim RAM and boost speed now.

How to Use Microsoft Edge Immersive Reader for Better Reading

How to Use Microsoft Edge Immersive Reader for Better Reading

Discover how to use Microsoft Edge Immersive Reader to eliminate distractions, customize text, and boost comprehension. Step-by-step guide for better reading on any device. Unlock focus today!

How to Fix Microsoft Edge Proxy Server Error and Connection Issues

How to Fix Microsoft Edge Proxy Server Error and Connection Issues

Tired of Microsoft Edge Proxy Server Error blocking your browsing? Get proven, step-by-step fixes for connection issues. Restore smooth surfing fast—no tech skills needed!

Solving Microsoft Edge DAW Latency in Web Apps (2026)

Solving Microsoft Edge DAW Latency in Web Apps (2026)

Tired of Microsoft Edge DAW latency ruining your web audio apps? Unlock lightning-fast fixes for 2026 with step-by-step solutions. Slash delays in Digital Audio Workstations and boost performance now!

How to Fix Microsoft Edge Safe Mode Networking Error

How to Fix Microsoft Edge Safe Mode Networking Error

Tired of the frustrating Microsoft Edge "Safe Mode Networking" Error blocking your browsing? Discover proven, step-by-step fixes to restore full networking in Edge safe mode. Works on latest Windows versions – get online fast!

How to Fix Microsoft Edge Video Playback Stuttering

How to Fix Microsoft Edge Video Playback Stuttering

Struggling with Microsoft Edge video playback stuttering? Discover step-by-step fixes to eliminate lag, buffering, and choppy videos. Get smooth streaming today with our expert guide.

Solving Microsoft Edge 0x80072efe Connection Aborted

Solving Microsoft Edge 0x80072efe Connection Aborted

Stuck with Microsoft Edge 0x80072efe Connection Aborted error? Get step-by-step fixes for this frustrating issue, including quick resets, proxy tweaks, and advanced troubleshooting to restore your browsing instantly. Solve it now!

Solving Microsoft Edge Search Paused Indexing Fix

Solving Microsoft Edge Search Paused Indexing Fix

Tired of Microsoft Edge "Search Paused" blocking your tab searches? Get proven, step-by-step indexing fixes to rebuild your index, speed up Edge, and eliminate the error for good. Works on latest versions!

Solving Microsoft Edge Motherboard Driver Compatibility

Solving Microsoft Edge Motherboard Driver Compatibility

Tired of Microsoft Edge crashes from motherboard driver incompatibility? Get step-by-step fixes for smooth browsing, updated drivers, and hardware tweaks. Solve "Motherboard Driver" compatibility in minutes!

How to Enable Hardware Acceleration in Microsoft Edge

How to Enable Hardware Acceleration in Microsoft Edge

Discover how to enable Hardware Acceleration in Microsoft Edge for smoother browsing, faster rendering, and better video playback. Step-by-step guide with tips to boost your Edge performance instantly. Perfect for gamers and power users!

Troubleshooting Microsoft Edge Firewall Blocking Connections

Troubleshooting Microsoft Edge Firewall Blocking Connections

Tired of Microsoft Edge "Firewall" blocking your connections? Follow this expert troubleshooting Microsoft Edge "Firewall" blocking connections guide for quick, reliable fixes. Restore smooth browsing instantly!

How to Fix Microsoft Edge DirectAccess Connectivity Error

How to Fix Microsoft Edge DirectAccess Connectivity Error

Tired of the frustrating Microsoft Edge "DirectAccess" connectivity error blocking your browsing? Discover proven, step-by-step solutions to fix Microsoft Edge DirectAccess error quickly and restore seamless connectivity. Works on latest Windows!

How to Use Microsoft Edge Read Aloud Feature for PDFs

How to Use Microsoft Edge Read Aloud Feature for PDFs

Master the Microsoft Edge Read Aloud feature for PDFs with this step-by-step guide. Enjoy customizable voices, speeds, and multitasking bliss for seamless reading. Perfect for students, professionals, and accessibility needs.

How to Fix Microsoft Edge Acrylic Effect Not Showing

How to Fix Microsoft Edge Acrylic Effect Not Showing

Discover how to fix Microsoft Edge Acrylic Effect not showing. Step-by-step guide with hardware acceleration tweaks, flags, and updates for that stunning blur effect back in seconds. Works on latest Edge versions!