Looking for a solution to find and delete old files on Windows 11?
If you're running low on storage space on your PC, it makes sense to get rid of old, unwanted files. Windows 11 offers several ways to find and delete these memory-intensive items.
Easy ways to find and delete old files on Windows 11!
Storage Sense
is a built-in Windows 11 feature that helps you clean up old files automatically. You can configure various options to determine which files to delete based on the specified criteria. This feature can be run manually or set to run automatically at set times.
To configure Storage Sense:
1. Open Settings:
Press "Windows" + "i" to launch the Settings app.
2. Navigate to System: In the left sidebar, select System and then select Storage in the right pane
3. Enable Storage Sense:
In theStorage Management section, turn on the switch next to Storage Sense and click Configure Storage Sense or run it now .
4. Configure options:
In the Temporary file cleanup section, enable automatic deletion of temporary files.
In the Automatic user content cleanup section, you can configure options as follows:
- Run Storage Optimization: Choose when the feature will run automatically (e.g. daily, weekly, monthly, or when storage space is low).
- Delete files in the recycle bin: Specify after how many days files in the recycle bin are deleted (eg never, 1 day, 14 days, 30 days or 60 days).
- Delete files in the Downloads folder: Specify when files in the Downloads folder should be deleted if they have not been opened for a longer period.
5. Manual execution:
Click Run Storage Sense now to start the function immediately and remove the selected files.
Microsoft PC Manager is a built-in app in Windows 11 that helps you analyze your storage space and remove downloaded, large, and duplicate files. This app offers a variety of filters to quickly find the files you want to delete.
How to use PC Manager:
1. Open the app: Search forPC Manager in Windows Search and open the app.
2. Navigate to Storage: Select Storage from the left sidebar , and then select File Cleanup from the right pane .
3. Delete downloaded files: Click Downloaded files to see files you downloaded using web browsers. You can sort these files by type and select which ones you want to delete.
4. Remove large files: Click Large files to find large files. Select the desired file size from the drop-down menu and delete the corresponding files.
5. Remove duplicate files: Use the Duplicate files option to find and delete duplicates.
The Command Prompt
can be used to delete files older than a certain number of days using the ForFiles command. This is especially useful if you prefer an automated solution.
To use the ForFiles command:
1. Open the Command Prompt:
Search for Command Prompt
in Windows Search and select Run as administrator
2. Run the ForFiles command:
Enter the following command and customize it to your needs:
ForFiles / p "FolderPath" / s / d - 60 / c "cmd / c del / q @file"
Replace "FolderPath" with the full path to the folder and "60" with the number of days a file must be present on your storage before it is deleted.
3. Parameters in detail:
- /p:
Searches for files in the specified directory.
- /s:
Also searches subdirectories.
- /d:
Filters files that are older than the specified number of days.
- /c:
Executes the specified command.
4. Create a batch script:
To use the command more often, you can convert it into a batch script. Open Notepad, copy the ForFiles command and save it as a ".bat" file. Then run the script as administrator.
5. Automate with Task Manager:
Integrate the script into the Task Manager to run it automatically at set times.
- Use Storage Sense:
Go to Settings > System > Storage > Storage Sense
to automatically declutter your storage. You can specify criteria for deleting files and configure Storage Sense to suit your needs.
- Use Microsoft PC Manager:
This built-in app helps you quickly find and remove downloaded, large, and duplicate files.
- Use Command Prompt: The"ForFiles"
command lets you automatically delete files older than a certain number of days.
These methods will help you quickly and efficiently find and delete old files on your Windows 11 PC to free up valuable storage space and improve your system's performance. Enjoy a tidy computer!
(Image-1) Find and delete large files in Windows 11!
It is true that over time Microsoft has relaxed some of the restrictions on installing Windows 11. Info: Notably, users can now install the operating system
PowerShell is a powerful tool for managing and automating tasks in Windows 10 and Windows 11. Here are some handy PowerShell commands that can help you in
The first version of Windows 11 is version 21H2, which was released on October 5, 2021. This version had the build number 22000. The operating system brought
Windows-11 can be downloaded and tested the official Win 11 version is available You can test it, it is the first official version in English, . Language
This website does not store personal data. However, third-party providers are used to display ads, which are managed by Google and comply with the IAB Transparency and Consent Framework (IAB-TCF). The CMP ID is 300 and can be individually customized at the bottom of the page. more Infos & Privacy Policy ....