Can't delete files automatically using windows 10 Settings

Hello,

Any ideas if we can run a script or bat file to clear automatically the files after a time in the download folder.

We did this settings in the local computer but it doesn't work.
We are using Windows 10 OS

Pc Auto File Delete Settings
wcgplcAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

McKnifeCommented:
I wonder why that setting wouldn't work. Well, take delage32 http://www.horstmuc.de/wbat32.htm it is easy.
If you prefer something built-in, take forfiles.exe and learn the syntax.
1
JohnBusiness Consultant (Owner)Commented:
Is it possibly working and you have not waited the 30 days?  New temporary files are created daily, so check the dates on some files to see.

Also, click on Cleanup Now and allow it to complete, then restart the computer and check in due course if files are remaining when they should not.
0
Bill PrewIT / Software Engineering ConsultantCommented:
but it doesn't work
Can you expand on this a bit?  How did you "test" it?  What files did you create, etc?  And was this test of the automatic deletions, or does it also not work when you use the "clean now" button?


»bp
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

wcgplcAuthor Commented:
The clean now deletes everything apart from what is in the downloads folder

it has only been activated today so not 30 days yet.
0
JohnBusiness Consultant (Owner)Commented:
I use Disk Cleanup instead.  

Try running Disk Cleanup, and set all the options for removal. Run it, restart, go back and check. Did the options stick. They do not always and that would explain what you see.

Run Disk Cleanup again, and this time, click on Clean up System files. Select all options and allow to run. Now restart and check. All Cleanup option should be selected.

Now see if the Settings options work properly.

It is just an anomaly in how Disk Cleanup works.
0
wcgplcAuthor Commented:
can I set the Disk Cleanup to run automatically every month because that is what we are looking for?
0
JohnBusiness Consultant (Owner)Commented:
You can run it via Task Scheduler and set it monthly.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
McKnifeCommented:
delage would be the simplest solution, but if you prefer cleanmgr.exe, look at http://www.thewindowsclub.com/automate-disk-cleanup-utility-windows for a tutorial.
0
JohnBusiness Consultant (Owner)Commented:
Thank you and I was happy to assist.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 10

From novice to tech pro — start learning today.