How to Fix Windows 10 temp Folder Permission Issue

Headache Lah

Hello, I am back. After so many years of not writing anything. I know, nobody is reading either 🙂

Once in a while I get permission error in Windows 10 temp folder, and it will lead to problem like I cannot zip the file “Send to zip” and creating temporary files when running some other software. I am not sure quiet why the problem kept coming back to hunt me, but I need to fix the permission issue if want the other software work as usual.

Here is how to fix the permission issue in temp folder in Windows 10

  1. Run cmd with administrator right. Quick launch would be
    Win +r, cmd, Ctrl +Shift + Enter
  2. Enable administrator access with takeown command below
    TAKEOWN /F C:\Users\AAA\AppData\Local\Temp /R /D Y
  3. Fix the permission with icacls
    ICACLS “C:\Users\AAA\AppData\Local\Temp” /reset /T

If you happen to know the “real” reason why the tmp folder was reset to no permission issue, do share with me.