Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows 2008 Terminal Server home folder

Status
Not open for further replies.

temp990

IS-IT--Management
Dec 15, 2008
1
DK
I have installed an application on a Windows 2008 terminal server, every user that connects to the TS needs to have a special file in their user profile for the application to work. Every user in Active Directory has a home folder defined on the file server. Because of the special file that every user needs I want the users home folder to be located in C:\Users\%USERNAME% locally on the server but no matter what action I take the home folder on the file server is always chosen instead of creating a local one on the terminal server so when the user starts the remote application an error message is shown because the file can not be found, if I copy the file to the home folder on the file server everything works but this is not an option. If I do not define a home folder in the user accounts on Active Directory a folder on the Terminal Server is created but the users need to have a folder on the file server so this is not an option either. I have tried to define a Terminal Services Home Folder as C:\Users\%USERNAME% in the accounts but the folder on the file server is still chosen. What can I do so a home folder is always created locally on the Terminal Server?

The application is installed as a Remote App therefore I have the option to create a msi that I can distribute to all the clients on the domain. If the clients click on the Remote App icon they need to input user name and password, is it possible to disable this so the clients only have to logon to domain when the power on the computer and the automatically login when the click on the Remote App?
 
Add the following script to your server. Make sure it runs each time a user logons. I had to do this for a similar application as well.
Code:
Set HomeDrive=C:\Users\%USERNAME%

Hope that helps.

Dave Namou, MCSE CCEA
 
What do you need the actual file path to be? i.e. C:\Users\%username%\AppData\<appname>\<filename>
 
Sorry for the late response.
The file should be a batch file.
.cmd



Dave Namou, MCSE CCEA
 
Have you looked into using the Terminal Services profile tab in Active Directory? There is a place to specify a local Home folder. You can also redirect the profile if need be.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top