Delete Temporary Files on Windows 11 [How to]
You can do that right from the Settings app
3 min. read
Updated on
Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more
Temporary files can slow down your PC, therefore it’s crucial to know how to delete temporary files on Windows 11, and this guide will show you the right way to do that.
How can I delete temporary files in Windows 11?
1. Use the Settings menu
- Hit the Windows key, then open the Settings menu.
- Select the System section, then navigate to Storage.
- Click on the Temporary files section.
- Checkmark all the files you want to delete, then click on the Remove files button.
To delete temp files, you must have administrator access or else, you’ll get the folder access denied message.
2. Try Disk Cleanup
1. Press the Windows key on your keyboard.
2. Typeย Disk Cleanup in the search box that opens, and click on the result to open the app.
3. Checkmark the files you want to delete, then click onย OK.
4. After, click on the Clean up system files button.
5. Select the files you want to delete, then click onย OK.
6. To confirm the changes, click on theย Delete Filesย button.
Disk Cleanup is a free disk cleaner that’s built into Windows 11, but if you want something more advanced, you can also try using automatic repair and optimization software.
3. Delete files from Temp Folder
3.1 With File Explorer
- Use the following keyboard shortcut: Windows + R.
- In the Run dialog box, type %temp%, then click OK.
- Select the files you need to delete, then click on the Delete icon, marked as a trash.
3.2 With Command Prompt
- Press on the Windows key, type cmd, then choose to Run as administrator.
- Copy and paste the following command, then hit the Enter key:
del /q/f/s %TEMP%\*
- Now all the temporary files that don’t require additional permissions will be deleted.
This is one of the fastest ways to perform a junk files cleanup, so don’t hesitate to try it.
4. Automatically clear Temporary Files with Storage Sense
- Navigate to the Storage page, from the Windows Settings menu.
- Look at the Storage Sense section, then make sure the toggle button is set on On.
- Now click on the Storage Sense section to customize various options.
- In the opened window, under Configure cleanup schedules, select the drop-down menus for each section, then select the desired options.
After enabling Storage Sense in Windows 11 and configuration, your temporary files will be automatically cleaned on your system as per the set schedule.
Is it safe to delete temp files in Windows 11?
Yes, it’s perfectly safe to delete temp files in Windows 11. These files are usually used during setup or as cache, so removing them won’t cause any issues on your PC.
If you encounter any problems, we have a guide on what to do if temporary files aren’t deleting, so be sure to check it out.
For any additional questions or thoughts, do not hesitate to leave a comment in the section below.
User forum
1 messages