1 Jul 2019

How to Delete Temporary Files and Unnecessary System Files in Windows 10 Automatically and Manually

How to Delete Temporary Files and Unnecessary System Files in Windows 10 Automatically and Manually

How to delete Temp Files and Unnecessary System Files in Windows 10 [Automatically & Manually]
Method #1 [Manually]
Delete temporary Files and Unnecessary System Files in Windows 10 using Disk Cleanup tool
  • Go to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative Tools
  • Launch Disk Cleanup tool
Simple Method:
  • Search Disk Cleanup in Windows Search box and Launch the app and Follow below instructions shown in below image.
Method #2
Delete temporary Files and Unnecessary System Files in Windows 10 from going into Start Menu Settings
  • Go to Settings---System---Storage---This PC---Temporary files---tickmark on Temporary files---Remove files.
Method #3 
Delete temporary Files and Unnecessary System Files in Windows 10 using Command Prompt
  • Go to C:\WINDOWS\system32  (or) Search cmd in Start menu
  • Right click on cmd  (Run as Administrator)
  • Type: del /f /s /q %temp%
Method #4
Delete temporary Files and Unnecessary System Files in Windows 10 Using %temp%
  • Go to Search menu and type %temp%
OR
  • C:\Users\username\AppData\Local\Temp
  • System Temporary Files 
  • Go to C:\Windows\Temp
  • Control+A  Delete 
Delete Temporary Files and Unnecessary System Files in Windows 10 Automatically
Method #1
Delete temporary Files and Unnecessary System Files in Windows 10 using Storage Sense
  • Go to Settings---System---Storage---Turn on Storage Sense 

Method #2
Delete temporary Files and Unnecessary System Files in Windows 10 using Script code
  • Go to C:\Users\username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
  • Create new Text Document and write 
rd %temp% /s /q
    md %temp%

    • Save as deletetempfiles.bat 
    • .bat file format
    • Every time your PC restarts batch file will clean your temp files
    Method #3
    Delete temporary Files and Unnecessary System Files in Windows 10 using Script Code + Group Policy
  • Create new Text Document and write
  • @ECHO off 
    DEL /F /S /Q %TEMP%
    • Save as cleanTemp.cmd file format in Desktop
    • Copy cleanTemp.cmd to C:\WINDOWS\System32\GroupPolicy\User\Scripts\Logon
    • Go to Edit Group Policy
    • Open Run Command ( Win+r )  type as gpedit.msc


    Go to User Config---Windows Settings---Scripts (Logon/Logoff)
    • Go to Logon Proprieties
    • Add Script Parameters
    schtasks /create /tn "Clean Temp Files" /tr c:\path\to\script\cleanTemp.cmd /sc onlogon
    • Browse Script Name file location as 
    • C:\WINDOWS\System32\GroupPolicy\User\Scripts\Logon
    • Every time your PC restarts batch file will clean your temp files

    Post a Comment

    Whatsapp Button works on Mobile Device only

    Start typing and press Enter to search