I think this may be a better solution for you then changing the default location of the temporary internet files. Just EXCLUDE specific profile directories from the users profile. Just remember to use the semi-colon to seperate the list of directores that are not to be copied up to your server.Note: The directories will still exist on each workstaion, they just will not get copied up to the server when the users log out. So you will want to delete the same directories off of your server or else they will keep being downloaded each time the users logon.
Here is the code that I use.
code:
; ----------------------------------------------------------------------- ;
; Prevent Certain Folders from Uploading to Central Profile. ;
; ----------------------------------------------------------------------- ;WRITEVALUE ("Software\Microsoft\Windows NT\CurrentVersion\Winlogon", "ExcludeProfileDirs", "Temporary Internet Files;Desktop;History;Local Settings\Temporary Internet Files;Local Settings\Temp;Personal;Start Menu", "REG_SZ")
; ----------------------------------------------------------------------- ;
; Delete Certain Folders from the Central Profile. ;
; ----------------------------------------------------------------------- ;
SHELL "%ComSpec% /C RMDIR /S /Q \\YourServer\Profiles\" + @USERID + "\Temporary Internet Files"
SHELL "%ComSpec% /C RMDIR /S /Q \\YourServer\Profiles\" + @USERID + "\Desktop"
SHELL "%ComSpec% /C RMDIR /S /Q \\YourServer\Profiles\" + @USERID + "\History"
SHELL "%ComSpec% /C RMDIR /S /Q \\YourServer\Profiles\" + @USERID + "\Local Settings\Temporary Internet Files"
SHELL "%ComSpec% /C RMDIR /S /Q \\YourServer\Profiles\" + @USERID + "\Local Settings\Temp"
SHELL "%ComSpec% /C RMDIR /S /Q \\YourServer\Profiles\" + @USERID + "\Personal"
SHELL "%ComSpec% /C RMDIR /S /Q \\YourServer\Profiles\" + @USERID + "\Start Menu"
Rick
[This message has been edited by rick_coughlin (edited 22 December 2000).]
[This message has been edited by rick_coughlin (edited 22 December 2000).]