CleanMgr clarification
Opened this issue · 0 comments
ericgl commented
In your script, you run /sageRun:1, but you forgot to mention that the profile '1' first needs to be created (only once) by running the command with CMD:
cleanmgr.exe /d C sageSET:1
or with Powershell: Start-Process -FilePath CleanMgr.exe -ArgumentList '/sageSET:1'
...and then checking all the boxes in the window that opens > OK.
This action creates reg keys located under: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches