WindowsKit/Windows10Debloater/Individual Scripts/Clear Last Used Files and F...

2 lines
180 B
PowerShell

Write-Host "Clear last used files and folders"
Remove-Item %APPDATA%\Microsoft\Windows\Recent\AutomaticDestinations\*.automaticDestinations-ms -FORCE -ErrorAction SilentlyContinue