First "Temp" folder which is found in "C:\Windows\" directory is a system folder and is used by Windows to store temporary files. Second "Temp" folder is stored in "%USERPROFILE%\AppData\Local\" directory in Windows Vista, 7 and 8 and in "%USERPROFILE%\Local Settings\" directory in Windows XP and previous versions.