Should the TEMP and TMP point to the same folder?

dudebob2491

Distinguished
Jul 17, 2014
29
0
18,530
So I had a problem with my W7 where every .exe file needed admin permission to run. After searching online, I corrected this issue by changing TMP variable from the user/AppData/Local/Temp to just C:/Temp.

I am wondering if I should relocate the TEMP variable to C:\Temp as well. I don't know what these variables do (it would be nice if someone offered a simple explanation!), so I am a bit wary about changing any of this.

Finally, I am running a SSD on C and HDD for D drive. Should these files be stored on my SSD or HDD?

Thanks a bunch!!
 
Solution
I agree UAC us there for a reason but how many times do you have to allow opening the same executable?. Once should be enough. With Windows XP you could just remove the check mark to stop the security prompts when opening commonly used execuxtables, but the check box is not present in Windows 7 or 8 so you may want to use third party software to disable UAC on commonly used programs. There must also be the way to do it manually with a registry edition but you can do the same from the Group Policy Editor. You can disble for specific functions, for disabling UAC on commonly used programs and executables, with third party software may be the only and easy way...
That's the User Account control (security) which controlls the execution of .exe files.. It's normal and by default but you can reduce the incidence or disable it in the box that appears when executing a .exe... click on the link "Change when these notifications appear" and slide the control to your level of preference.

Moving the Temp folders from within your user profile folder to C: may even make the "problem" worse because you need permissions to save files to the C: and do not need additional permissions to save temps within your user folder... But you can change this behaviour by modifying the folder security permissions, giving Full Control to your user account... you can do this to the Temp folder wherever location you want to move it to, that includes any HDD or SSD.

Change location of TEMP files folder to another drive
http://answers.microsoft.com/en-us/windows/forum/windows_7-files/change-location-of-temp-files-folder-to-another/19f13330-dde1-404c-aa27-a76c0b450818
 

dudebob2491

Distinguished
Jul 17, 2014
29
0
18,530
Thanks Chicano, but I don't really want to disable or reduce UAC since it's there for a reason (from what I had read on other sites).

Currently, the move of TMP to just C:\Temp has fixed my problems with running .exe files. I am just wondering whether I need to move the TEMP from userprofile to the same location as TMP since they were originally pointing to the same folder.
 
I agree UAC us there for a reason but how many times do you have to allow opening the same executable?. Once should be enough. With Windows XP you could just remove the check mark to stop the security prompts when opening commonly used execuxtables, but the check box is not present in Windows 7 or 8 so you may want to use third party software to disable UAC on commonly used programs. There must also be the way to do it manually with a registry edition but you can do the same from the Group Policy Editor. You can disble for specific functions, for disabling UAC on commonly used programs and executables, with third party software may be the only and easy way.

http://testdrive.mapinfo.com/TechSupp/MIProd.nsf/2dcd2e03799251b185257125006b1089/57b881cce9518053852577450048dee1?OpenDocument

4 Ways to Disable User Account Control (UAC) for Specific Software in Windows
https://www.raymond.cc/blog/task-scheduler-bypass-uac-prompt/

A third party program you might want to take a look at is UAC Trust Shortcut 1.0
http://www.itknowledge24.com/
 
Solution