1. Click Start
Click start and then type in PowerShell and then launch it as administrator.
2. Type in Command
Enter in the following command to clear the temp directory: Get-ChildItem -Path "C:\Windows\Temp" *.* -Recurse | Remove-Item -Force -Recurse