How to automatically clean junk on Windows 10 computers

Instructions on 3 ways to automatically clean junk on Windows 10 computers. Automatically clean junk by batch files, automatically clean junk when starting the computer, automatically clean junk by Storage Sense.

Your computer  , when used for a while, will have a number of junk folders stored, causing your computer to run slowly. You have tried to remove trash on your device but with no success. The following article will guide you on how to automatically clean up junk on your Windows 10 computer simply and quickly so that your computer can perform at its best.

Benefits of cleaning junk on Windows 10 computers

  1. Helps you clean junk files that you don't use.
  2. Make your machine run faster by freeing up space in Ram.
  3. Automatic garbage collection will not harm your computer.

1. How to automatically clean garbage by batch file

Step 1 : Open the Notepad file   on your computer.

Picture 1 of How to automatically clean junk on Windows 10 computers

Step 2Enter the following codes in turn  into the Notepad interface:

rd %temp% /s /q
md %temp%

Picture 2 of How to automatically clean junk on Windows 10 computers

Step 3 : Save the file with the name 

%appdata%microsoftwindowsstart menuprogramsstartupcleantemp.bat.

Picture 3 of How to automatically clean junk on Windows 10 computers

When the 3 steps have been completed, reboot your computer.

2. How to automatically clean the garbage when starting the computer

Step 1 : Use the Windows + R keyboard shortcut   to open the  RUN dialog box .

Picture 4 of How to automatically clean junk on Windows 10 computers

Step 2 : When the dialog box displays, enter the command  Shell: startup  => Then click  OK .

Picture 5 of How to automatically clean junk on Windows 10 computers

Step 3 : Then right-click on an empty space and select  Create shortcut .

Picture 6 of How to automatically clean junk on Windows 10 computers

Step 4 : Next, enter  cmd.exe / c 'echo Y | PowerShell.exe-NoProfile-Command Clear-Recycle Bin' .

Picture 7 of How to automatically clean junk on Windows 10 computers

Step 5 : Click on  Next.

Picture 8 of How to automatically clean junk on Windows 10 computers

Name the  Empty Recycle  bin .

Picture 9 of How to automatically clean junk on Windows 10 computers

Step 6 : Click  Finish  when completing the above steps.

Picture 10 of How to automatically clean junk on Windows 10 computers

With these setup steps, after each boot, the machine will automatically delete the junk files remaining in the  Recycle Bin .

3. How to automatically remove trash using Storage Sense

Step 1Go to Settings  > Select  System .

Picture 11 of How to automatically clean junk on Windows 10 computers
​​

Step 2 : Click  Storage  > Select  Configure Storage Sense or run it now .

Picture 12 of How to automatically clean junk on Windows 10 computers

Step 3 : Tick on the  Delete temporary files that my apps aren't using .

Picture 13 of How to automatically clean junk on Windows 10 computers

Hope the above article will help your computer operate smoothly and quickly. Thanks for watching!

Update 16 February 2021
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile