Question Regular windows clean up software/script?

terryvalencia

Commendable
Jun 1, 2020
53
1
1,545
0
I want to clean windows regularly. i.e delete prefetch, temp etc types of files regularly. Is there a script that can automate that for me?
 
Windows has a tool that takes care of most of this:
  • Open up Explorer
  • Go to "This PC" if it isn't there already
  • Right click on C:\
  • Click on "Properties"
  • In the "General" tab, click on "Disk Cleanup"
  • Select the categories of files you want to remove (Windows selects a bunch for you by default)
  • Press OK
If you want it to clean up Windows update files or other system files that are no longer needed, click on the "Clean up system files" button.

There's also no reason to delete or remove certain files like prefetch. In fact, deleting prefetch regularly can be harmful to system performance. But if you don't want it to prefetch, disable the Superfetch service.

Cleaning up certain other things like the registry also aren't very useful. You can do it if you really want, but it doesn't do much to clean up space or improve performance.
 

terryvalencia

Commendable
Jun 1, 2020
53
1
1,545
0
Windows has a tool that takes care of most of this:
  • Open up Explorer
  • Go to "This PC" if it isn't there already
  • Right click on C:\
  • Click on "Properties"
  • In the "General" tab, click on "Disk Cleanup"
  • Select the categories of files you want to remove (Windows selects a bunch for you by default)
  • Press OK
If you want it to clean up Windows update files or other system files that are no longer needed, click on the "Clean up system files" button.

There's also no reason to delete or remove certain files like prefetch. In fact, deleting prefetch regularly can be harmful to system performance. But if you don't want it to prefetch, disable the Superfetch service.

Cleaning up certain other things like the registry also aren't very useful. You can do it if you really want, but it doesn't do much to clean up space or improve performance.
how should I clean windows then? My goal is to make the performance of windows great always.
 

USAFRet

Titan
Moderator
Mar 16, 2013
159,395
12,686
176,090
24,405
Be very very careful about random 'scripts' you find.

If you personally can't read and understand what each and every line in the script is doing, don't run it.

And if you CAN understand what each line is doing, you don't need a random script, and can just do it yourself.
 

Colif

Win 11 Master
Moderator
Jun 12, 2015
60,254
5,051
166,290
10,413

ASK THE COMMUNITY

TRENDING THREADS