{"id":6018,"date":"2017-12-11T11:44:43","date_gmt":"2017-12-11T06:14:43","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=6018"},"modified":"2023-07-31T17:57:01","modified_gmt":"2023-07-31T12:27:01","slug":"delete-unused-files-older-than-x-days-windows","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/delete-unused-files-older-than-x-days-windows\/","title":{"rendered":"How to Delete Files Older than N Days Automatically in Windows"},"content":{"rendered":"<p>Windows 10 has built-in features to free up space by deleting old files in the <code>%temp%<\/code> directory and <code>Downloads<\/code> folder. Windows 10 Settings has an option (&#8220;Storage&#8221;) which automatically <a href=\"https:\/\/www.winhelponline.com\/blog\/automatically-clear-temp-files-every-login-using-disk-cleanup-batch-file\/\">clears temporary files<\/a> your apps are not using, files in the Downloads that haven&#8217;t been modified in the last x days, or files lying in the Recycle Bin for x days.<!--more--><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-10325\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/storage-settings-cleanup-options.png\" alt=\"windows 10 storage settings cleanup options\" width=\"698\" height=\"821\" \/><\/p>\n<p>Also, the Disk Cleanup tool clears up files in the <code>%temp%<\/code> directory that haven&#8217;t been accessed in the <a href=\"https:\/\/www.winhelponline.com\/blog\/disk-cleanup-wipe-out-temp-folder-contents-completely-lastaccess\/\">last 7 days<\/a>.<\/p>\n<h4>However, Disk Cleanup and <a href=\"https:\/\/www.winhelponline.com\/blog\/automatically-clear-temp-files-every-login-using-disk-cleanup-batch-file\/\">Storage settings<\/a> target only the <code>%temp%<\/code> and <code>Downloads<\/code> folders. To delete files that are older than a certain number of days in a &#8220;custom&#8221; folder location such as your <code>Documents<\/code> folder, you need to use one of these three methods:<\/h4>\n<h2>How to Auto Delete Files Older than N Days in Windows<\/h2>\n<p>Some of the methods below let you use either the &#8220;date created&#8221; or &#8220;date modified&#8221; property of files as a baseline to determine &#8220;older&#8221; files, as per your necessity.<\/p>\n<h3>Method 1. Delete Files that are Older than &#8216;N&#8217; days Using File Explorer<\/h3>\n<p>Using Windows Search, you can easily get the list of files based on a selected date range, or files older than a certain date.<\/p>\n<ol>\n<li>Open the folder in which you want to delete older files.<\/li>\n<li>Click on the search box or press <kbd>F3<\/kbd> button on the keyboard.<\/li>\n<li>Click on the Date modified button, and choose one of the drop-down options, say &#8220;Last week&#8221;.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6022\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/forfiles-delete-files-older-x-days-ribbon.png\" alt=\"delete files older than x days in windows\" width=\"700\" height=\"342\" \/><\/li>\n<li>Windows Search will filter the results instantly. Select the files you want to delete, and press the <kbd>Delete<\/kbd> key on your keyboard.<\/li>\n<\/ol>\n<p><em><strong>Important:<\/strong> By default, Windows search looks for files in the current folder AND all subfolders. To limit searches to the <strong>current folder only<\/strong>, click &#8220;Current folder&#8221; button on the Search toolbar\/ribbon.<\/em><\/p>\n<h4>Advanced Search Query: &#8220;Date&#8221; Operators<\/h4>\n<p>If the pre-set date range options don&#8217;t suit you, you can type in a custom search query. In the search box, type the following to filter down files from a custom date range:<\/p>\n<pre>datemodified:1\/1\/2017 .. 12\/31\/2017<\/pre>\n<p>This finds files that have been modified during the said date range. You can also use <code>datecreated:<\/code> <code>dateaccessed:<\/code> or <code>date:<\/code> (especially for camera images) operators. Note that <code>date:<\/code> operator uses the date metadata (EXIF) recorded by the camera.<\/p>\n<p><strong><em>RELATED: <\/em><\/strong><a href=\"https:\/\/www.winhelponline.com\/blog\/search-files-created-between-date-range\/\"><em>How to Search for Files Created Between Two Dates in Windows<\/em><\/a><\/p>\n<p>To find files that haven&#8217;t been modified after November 1, 2017 use the less-than (<code>&lt;<\/code>) symbol with the <code>datemodifed:<\/code> operator, as below:<\/p>\n<pre>datemodified:\u200e&lt;11\/1\/\u200e2017<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6019\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/windows-search-delete-files-older-x-days.png\" alt=\"delete files older than x days in windows\" width=\"702\" height=\"620\" \/><\/p>\n<p>Select the files from the list and delete them.<\/p>\n<p><strong>Tip:<\/strong> Instead of typing the date range manually, type <code>datemodified:<\/code> or <code>datecreated:<\/code> or <code>dateaccessed:<\/code> or <code>date:<\/code> operator in the search box and let File Explorer show the date picker for you. You can then pick a date or date range from the pop-up. To specify a date range, select the first date and drag the cursor to the appropriate field.<\/p>\n<p>If you wish to delete older files automatically rather than doing a search query every time, you need to create a batch file or PowerShell.<\/p>\n<hr \/>\n<h3>Method 2: Delete Files Older Than &#8216;N&#8217; Days Using Command Prompt<\/h3>\n<p>The <code>ForFiles<\/code> console tool (in Windows 7, Windows 8, Windows 8.1 and Windows 10) selects a file or a set of files and executes a command on that file or set of files.<\/p>\n<pre>Forfiles Help -- Command-line switches\r\n\r\n\/P - Indicates the path to start searching. The default folder is the current working directory (.).\r\n\/S - Instructs forfiles to recurse into subdirectories. Like \"DIR \/S\".\r\n\/D - Select files with a last modified date. For example,-365 means over a year ago, -30 means a month ago.\r\n\/C \"command\" - Indicates the command to execute for each file. Command strings should be wrapped in double quotes.\r\n\r\nThe default command is \"cmd \/c echo @file\".\r\n\r\nThe following variables can be used in the command string:\r\n @file - returns the name of the file.\r\n @fname - returns the file name without extension.\r\n @ext - returns only the extension of the file.\r\n @path - returns the full path of the file.\r\n @relpath - returns the relative path of the file.\r\n @isdir - returns \"TRUE\" if a file type is\r\n a directory, and \"FALSE\" for files.\r\n @fsize - returns the size of the file in bytes.\r\n @fdate - returns the last modified date of the file.\r\n @ftime - returns the last modified time of the file.<\/pre>\n<p><em>To view the entire list of command-line arguments supported by this tool, type\u00a0<code>FORFILES \/?<\/code> in Command Prompt.<\/em><\/p>\n<p>To find and delete files older than certain number of days using ForFiles, open a Command Prompt window, and type one of the following commands:<\/p>\n<pre>ForFiles \/p \"D:\\My Scripts\" \/s \/d -30 \/c \"cmd \/c del @path\"<\/pre>\n<p>-or-<\/p>\n<pre>ForFiles \/p \"D:\\My Scripts\" \/s \/d -30 \/c \"cmd \/c del @file\"<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6023\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/forfiles-delete-files-older-x-days.png\" alt=\"delete files older than x days in windows forfiles.exe forfiles command\" width=\"700\" height=\"127\" \/><\/p>\n<p>The above assumes that the folder path is <code>D:\\My Scripts<\/code> and you want to delete files older than 30 days. Customize the folder path and number of days according to your needs.<\/p>\n<p>You&#8217;ll see no output message if the command is successful. If no files match the specified criteria, you&#8217;ll see the message\u00a0<em><strong>ERROR: No files found with the specified search criteria<\/strong><\/em>.<\/p>\n<div class=\"qt\">\n<p><strong>Additional tip:<\/strong> To conduct a dry run before attempting to delete files, to check which files are affected for the specified criteria, replace the command <code>del<\/code> with <code>echo<\/code>, as below:<\/p>\n<pre>ForFiles \/p \"D:\\My Scripts\" \/s \/d -30 \/c \"cmd \/c echo @path\"<\/pre>\n<p>-or-<\/p>\n<pre>ForFiles \/p \"D:\\My Scripts\" \/s \/d -30 \/c \"cmd \/c echo @file\"<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6025\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/forfiles-echo-files-older-x-days.png\" alt=\"forfiles delete older files x days echo\" width=\"700\" height=\"74\" \/><\/p>\n<\/div>\n<p>Optionally, you can create a batch file with the above command. Or to automatically run the command at specified intervals using Task Scheduler.<\/p>\n<h4>Run the command automatically Using Task Scheduler<\/h4>\n<ol>\n<li>Launch Task Scheduler.<\/li>\n<li>In Task Scheduler, click &#8220;Task Scheduler Library&#8221;<\/li>\n<li>Click &#8220;Create task&#8221; link on the right pane.<\/li>\n<li>In the &#8220;Create Task&#8221; dialog, select the &#8220;General&#8221; tab.<\/li>\n<li>Mention the name of the task, say &#8220;Delete older files in My Documents&#8221;<\/li>\n<li>Click on the Triggers tab, and click New.<\/li>\n<li>Select &#8220;On a schedule&#8221; in the drop-down list under &#8220;Begin the task&#8221; dropdown list box.<\/li>\n<li>You may choose to run the task daily, weekly or monthly. If you choose weekly, select the day(s) of the week when you want the task to trigger.<\/li>\n<li>Once done, click the OK button.<\/li>\n<li>Click the &#8220;Actions&#8221; tab, and click the &#8220;New&#8230;&#8221; button.<\/li>\n<li>In the &#8220;New Action&#8221; window, fill in the following:\n<pre>Action: Start a program\r\nProgram\/script: C:\\Windows\\System32\\ForFiles.exe\r\nAdd arguments (optional): \/p \"%userprofile%\\Documents\" \/s \/d -30 \/c \"cmd \/c del @file\"<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-6021\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/12\/forfiles-delete-files-older-x-days-scheduler.png\" alt=\"delete files older than x days in windows task scheduler\" width=\"454\" height=\"500\" \/><\/li>\n<li>Click OK.<\/li>\n<\/ol>\n<p>A new task is created which when run, deletes files in your <code>Documents<\/code> folder that haven&#8217;t been modified in the last 30 days.<\/p>\n<hr \/>\n<h3>Method 3: Delete files older than N days using Script<\/h3>\n<p>The Spiceworks forum users have VBScripts that can delete files older than N number of days on a specified folder path recursively. Here is a simple script:<\/p>\n<pre>On Error Resume Next\r\n\r\nSet oFileSys = WScript.CreateObject(\"Scripting.FileSystemObject\")\r\nsRoot = \"C:\\Path To Old Files\"\t\t\t'Path root to look for files\r\ntoday = Date\r\nnMaxFileAge = 3\t\t\t\t\t'Files older than this (in days) will be deleted\r\n\r\nDeleteFiles(sRoot)\r\n\r\nFunction DeleteFiles(ByVal sFolder)\r\n\r\n\tSet oFolder = oFileSys.GetFolder(sFolder)\r\n\tSet aFiles = oFolder.Files\r\n\tSet aSubFolders = oFolder.SubFolders\r\n\r\n\tFor Each file in aFiles\r\n\t\tdFileCreated = FormatDateTime(file.DateCreated, \"2\")\r\n\t\tIf DateDiff(\"d\", dFileCreated, today) &gt; nMaxFileAge Then\r\n\t\t\tfile.Delete(True)\r\n\t\tEnd If\r\n\tNext\r\n\r\n\tFor Each folder in aSubFolders\r\n\t\tDeleteFiles(folder.Path)\r\n\tNext\r\n\r\nEnd Function\r\n<\/pre>\n<p><em>Source: <a href=\"https:\/\/community.spiceworks.com\/scripts\/show\/1866-delete-old-files-and-empty-subfolders\" target=\"_blank\" rel=\"noopener noreferrer\">Delete Old Files and Empty Subfolders &#8211; Script Center &#8211; Spiceworks<\/a><\/em><\/p>\n<div class=\"qt\">\n<p><strong>IMPORTANT!<\/strong>The above script takes into consideration the &#8220;Date Created&#8221; property of items instead of &#8220;Date Last Modified&#8221;. If you want to delete files that haven&#8217;t been <strong>modified<\/strong> in the last N days, change the following line in the script:<\/p>\n<pre>dFileCreated = FormatDateTime(file.DateCreated, \"2\")<\/pre>\n<p>to<\/p>\n<pre>dFileCreated = FormatDateTime(file.DateLastModified, \"2\")<\/pre>\n<\/div>\n<p>It clears files older than 3 days. All you need to do is modify the folder path &amp; max file age parameters as required in the script, save it with a <code>.vbs<\/code> extension and run it. Note that the script works on the specified folder and sub-folders recursively.<\/p>\n<p>Here is another script that deletes files older than N days, and automatically clears empty sub-folders recursively. See <a href=\"https:\/\/community.spiceworks.com\/scripts\/show\/719-delete-files-older-than-max-age-in-days\" target=\"_blank\" rel=\"noopener nofollow noreferrer\">Delete files older than max age (in days) &#8211; Script Center &#8211; Spiceworks<\/a><\/p>\n<p><em><strong>RELATED:<\/strong> <a href=\"https:\/\/www.winhelponline.com\/blog\/find-and-delete-empty-folders-windows\/\">How to Find and Delete Empty Folders Quickly in Windows<\/a><\/em><\/p>\n<hr \/>\n<h3>Method 4: Delete files older than &#8216;n&#8217; days Using PowerShell<\/h3>\n<p>The third option is to use PowerShell, which has a useful cmdlet to find and delete old files.<\/p>\n<p>Start PowerShell (<code>powershell.exe)<\/code>, and type the following command:<\/p>\n<pre>Get-ChildItem -Path [folder_path] -File -Recurse -Force | Where-Object {($_.LastWriteTime -lt (Get-Date).AddDays(-30))}| Remove-Item  -Force<\/pre>\n<p>Example:<\/p>\n<pre>Get-ChildItem -Path \"D:\\Reports\" -File -Recurse -Force | Where-Object {($_.LastWriteTime -lt (Get-Date).AddDays(-30))}| Remove-Item  -Force<\/pre>\n<p>To use paths containing environment variable like <code>%userprofile%\\documents<\/code>, use the syntax below:<\/p>\n<pre>Get-ChildItem -Path \"$env:userprofile\\documents\" -File -Recurse -Force | Where-Object {($_.LastWriteTime -lt (Get-Date).AddDays(-30))}| Remove-Item -Force<\/pre>\n<p><em><strong>(Note:<\/strong> The folder name in the example is your user profile&#8217;s\u00a0<code>Documents<\/code> folder. Change the folder name and path accordingly as per your needs.)<\/em><\/p>\n<p><em>Since we used the <code>-File<\/code> parameter, it works only for files. So, sub-folders which haven&#8217;t been written in the last n days are prevented from being deleted.<\/em><\/p>\n<p>The above command has three parts:<\/p>\n<ol>\n<li>The <code>Get-ChildItem<\/code> cmdlet gets the list of files in your Documents folder.<\/li>\n<li>Then the output is piped to <code>Where-Object<\/code> cmdlet so that filtration is done, selecting only files that haven&#8217;t been modified in the last <code>x<\/code> number of days (in this example, <code>30 days<\/code>).<\/li>\n<li>Finally, we&#8217;re piping the output to the <code>Remove-Item<\/code> cmdlet, which in turn deletes those older files returned by the previous two cmdlets.<\/li>\n<\/ol>\n<div class=\"qt\">\n<h4>Tip 1: List matching files, don&#8217;t delete them?<\/h4>\n<p>To list the matching files and folders without deleting them, drop the <code>| Remove-Item<\/code> switch.<\/p>\n<pre>Get-ChildItem -Path [folder_path] -File -Recurse -Force | Where-Object {($_.LastWriteTime -lt (Get-Date).AddDays(-30))}<\/pre>\n<h4>Tip 2: Suppress errors when deleting items<\/h4>\n<p>To suppress error messages (when accessing or deleting items) from displaying in the console, add the <code>-ErrorAction SilentlyContinue<\/code> parameter.<\/p>\n<pre>Get-ChildItem -Path [folder_path] -File -Recurse -Force | Where-Object {($_.LastWriteTime -lt (Get-Date).AddDays(-30))} | Remove-Item -ErrorAction SilentlyContinue -Force<\/pre>\n<\/div>\n<h4>Delete old files as well as <strong>folders<\/strong><\/h4>\n<p>Note that the above commands delete only the old files but not the sub-folders that haven&#8217;t been written in the last <code>x<\/code> days. To remove old folders, drop the <code>-File<\/code> argument in the from the previously explained commands.<\/p>\n<p><strong>Example:<\/strong><\/p>\n<pre>Get-ChildItem -Path \"$env:userprofile\\documents\" -Recurse -Force | Where-Object {($_.LastWriteTime -lt (Get-Date).AddDays(-30))}| Remove-Item -Force<\/pre>\n<p><em>(Refer: <\/em><a href=\"https:\/\/docs.microsoft.com\/en-us\/powershell\/module\/microsoft.powershell.management\/get-childitem?view=powershell-6\" target=\"_blank\" rel=\"noopener noreferrer\"><em>Get-ChildItem cmdlet documentation at Microsoft site)<\/em><\/a><\/p>\n<p><strong>Important:<\/strong> The <code>-Recurse<\/code> parameter directs PowerShell to get files recursively (in sub-directories). To prevent searching for files in subfolders, remove the <code>-Recurse<\/code> option so that only the current folder is processed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Windows 10 has built-in features to free up space by deleting old files in the %temp% directory and Downloads folder. Windows 10 Settings has an option (&#8220;Storage&#8221;) which automatically clears temporary files your apps are not using, files in the Downloads that haven&#8217;t been modified in the last x days, or files lying in the &#8230; <a title=\"How to Delete Files Older than N Days Automatically in Windows\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/delete-unused-files-older-than-x-days-windows\/\" aria-label=\"Read more about How to Delete Files Older than N Days Automatically in Windows\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[7],"tags":[396,480],"class_list":["post-6018","post","type-post","status-publish","format-standard","hentry","category-windows","tag-powershell","tag-scripts"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":4640,"url":"https:\/\/www.winhelponline.com\/blog\/automatically-clear-temp-files-every-login-using-disk-cleanup-batch-file\/","url_meta":{"origin":6018,"position":0},"title":"Automatically Clear Temp Files Using Disk Cleanup, Storage Sense or Batch file","author":"Ramesh","date":"November 22, 2016","format":false,"excerpt":"The TEMP directory (%temp%) gets bloated over time as applications store data over there and don't always remove the files and folders they created. And, software installers extract the contents of the setup packages to the %temp% folder and fail to do the cleanup act when the installation is complete.\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"windows 10 storage settings cleanup options","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/storage-settings-cleanup-options.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/storage-settings-cleanup-options.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/storage-settings-cleanup-options.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":4491,"url":"https:\/\/www.winhelponline.com\/blog\/disk-cleanup-wipe-out-temp-folder-contents-completely-lastaccess\/","url_meta":{"origin":6018,"position":1},"title":"Why doesn&#8217;t Disk Cleanup Clear the Temp Folder Contents Completely","author":"Ramesh","date":"November 1, 2016","format":false,"excerpt":"Disk Cleanup (Cleanmgr.exe) is a built-in tool in Windows that offers some useful cleanup options not available in other 3rd party cleanup tools. It can remove superseded device drivers, Temporary Files, Internet Explorer cache, obsolete Windows Updates, Previous Windows Installation (Windows.old) folder, and much more. But you may be wondering\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"dism servicing files in temp folder","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/dism-servicing-files-in-temp.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/dism-servicing-files-in-temp.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2016\/11\/dism-servicing-files-in-temp.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":10740,"url":"https:\/\/www.winhelponline.com\/blog\/free-up-hard-disk-space-windows\/","url_meta":{"origin":6018,"position":2},"title":"How to Free Up Gigabytes of Disk Space in Windows","author":"Ramesh","date":"August 18, 2019","format":false,"excerpt":"Windows 10 updates, especially the feature updates, consume enormous disk space as Windows stores the older copies in case you want to roll back to the previous version. Hard disk drives have become cheaper and affordable nowadays. A 1 TB SATA HDD costs less than $50. But, if you're using\u2026","rel":"","context":"In &quot;Utilities&quot;","block_context":{"text":"Utilities","link":"https:\/\/www.winhelponline.com\/blog\/category\/utilities\/"},"img":{"alt_text":"chrome cache localstorage service worker cache","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/08\/chrome-storage-dev-tools.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":8555,"url":"https:\/\/www.winhelponline.com\/blog\/prevent-disk-cleanup-storage-sense-from-deleting-downloads\/","url_meta":{"origin":6018,"position":3},"title":"Stop Disk Cleanup and Storage Sense from Emptying your Downloads folder","author":"Ramesh","date":"April 8, 2019","format":false,"excerpt":"If you use Disk Cleanup, you will want to be aware of a change to its options since the October 2018 feature update (v1809). Disk Cleanup, now also has the option to delete the contents of your Downloads folder. However, many users like to use the Downloads folder as permanent\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"disk cleanup remove downloads option","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2019\/04\/disk-cleanup-downloads-folder-2.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":5865,"url":"https:\/\/www.winhelponline.com\/blog\/thumbnail-cache-automatically-deleted-windows-maintenance\/","url_meta":{"origin":6018,"position":4},"title":"[Fix] Thumbnail Cache Auto Deletion Problem in Windows 10","author":"Ramesh","date":"November 3, 2017","format":false,"excerpt":"When you browse a folder containing media files, Windows generates thumbnail images of your image and video files if the folder view is set to thumbnail view (medium, large or extra large icons.)\u00a0The generated thumbnail is cached and written to database so that the system need not regenerate the miniature\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"thumbnail cache folder","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/thumbnail-cache-location.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/thumbnail-cache-location.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2017\/11\/thumbnail-cache-location.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":1479,"url":"https:\/\/www.winhelponline.com\/blog\/storage-app-find-files-taking-disk-space-w10\/","url_meta":{"origin":6018,"position":5},"title":"Using Storage Settings to Find Files Consuming More Disk Space in Windows 10","author":"Ramesh","date":"January 23, 2016","format":false,"excerpt":"Is your hard drive showing up full, and wondering how to find the biggest consumers of disk space? It\u2019s probably the Disk Cleanup tool that comes to mind at this situation. While Disk Cleanup is an excellent utility, it lists items only from fixed locations, although fully serving the purpose\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-storage-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-storage-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/w10\/w10-storage-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/6018","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=6018"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/6018\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=6018"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=6018"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=6018"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}