Quantcast
Channel: Spiceworks Community - Latest topics
Viewing all articles
Browse latest Browse all 183592

Mapping temp folder to drive letter

$
0
0

INFO: The majority of our users access a terminal server to access a program. This program requires per-user temp folder to be mapped to the T: drive and another folder to be mapped to a local folder. The following is the current script that is run upon logon:

Batchfile
md c:\temp\%username%\temp net use t: \\%computername%\temp\%username%rem delete old share if still present net use s: /d/y subst s: c:/suncoast

Already in my research I have come to the conclusion that running subst command on the %TMP% variable is likely a much better option than creating a new folder for each user. Why create extra folders when windows already has a place for this. The S: drive requires using subst while the T drive appears to be more flexible with how we map it.

PROBLEM: When a user connects to the server, they immediately click on the program...


Viewing all articles
Browse latest Browse all 183592

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>