Setup All Users Temp Folder - SQL-FineBuild/Common GitHub Wiki
Setup System Temp Folder | Manual Install | Setup Folder Permissions Next |
---|
FineBuild can set the location of the Windows \Temp folder for all users, so that that temporary files are more accessible when needed for troubleshooting.
The folder location used in Setup System Temp Folder is applied to all user accounts. This can only be done by updating the registry using Regedit.
FineBuild All Users Temp Folder Processing
Processing of All Users Temp Folder relates to Process Id 1GF in the FineBuild1Preparation script.
This processing is controlled by the following parameter:
SQL Version | Parameter | FULL Build | WORKSTATION Build | CLIENT Build |
---|---|---|---|---|
SQL2019 | /SetupTempWin: | Yes | Yes | Yes |
SQL2017 | /SetupTempWin: | Yes | Yes | Yes |
SQL2016 | /SetupTempWin: | Yes | Yes | Yes |
SQL2014 | /SetupTempWin: | Yes | Yes | Yes |
SQL2012 | /SetupTempWin: | Yes | Yes | Yes |
SQL2008R2 | /SetupTempWin: | Yes | Yes | Yes |
SQL2008 | /SetupTempWin: | Yes | Yes | Yes |
SQL2005 | /SetupTempWin: | Yes | Yes | Yes |
FineBuild uses the following parameter to help setup the System Temp folder:
Parameter | Default Value | Description |
---|---|---|
/DrvTempWin: | C | Drive location for System Temp folder |
Manual Setup All Users Temp Folder Processing
The following steps show what you would have to do to setup All Users Temp Folder manually. FineBuild does all of this work for you automatically.
The settings for system \Temp folder location are applied to user accounts.
-
Open the Registry Editor by Start -> Run and type regedit
-
Navigate to {"HKEY_USERS"}. You will see a display similar to that below:
-
For every entry under {"HKEY_USERS"} that does not end with the string _{"Classes"}, perform the following processing:
Navigate to the Environment subkey, and set the value of TEMP and TMP to the system \Temp folder (eg T:\Temp).
Copyright FineBuild Team © 2014 - 2019. License and Acknowledgements
Previous Setup System Temp Folder | Top | Setup Folder Permissions Next |
---|