Article ID: 271657 - Last Review: February 28, 2007 - Revision: 3.2 Scripted Home Directory Paths Require That Folders Exist
This article was previously published under Q271657 SUMMARY
You can script home folder and Terminal Services home directory paths in Microsoft Windows 2000. Home folder paths can be scripted by using Active Directory Services Interface (ADSI) to modify the HomeDrive and HomeDirectory properties of a user account. You can also modify Terminal Services home directory properties using a custom Component Object Model (COM) object that wraps the Windows Terminal Server (WTS) APIs (WTSUserConfigTerminalServerHomeDir and WTSUserConfigTerminalServerHomeDirDrive). Your scripting can make modifications to a user's account, but you need to manually create each user's folder and to assign the appropriate permissions, which by default, are Administrators - Full Control and User - Full Control. For example, if you set a user's HomeDrive to drive D and HomeDirectory to \\Server\Share\Username, you need to create a Username folder under Share and assign to it the appropriate permissions. MORE INFORMATION
When you assign these properties through Active Directory Users and Computers or Local Users and Groups, user extensions are in place that create these folders and assign the appropriate permissions. For additional information about using ADSI to create user shares, click the article number below to view the article in the Microsoft Knowledge Base: 234746
(http://support.microsoft.com/kb/234746/EN-US/
)
How to Create User Shares for All Users in a Domain with ADSI
For more information about ADSI Scripting in Windows 2000, see the following Microsoft Web site: http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/activedirectory/default.mspx
(http://www.microsoft.com/technet/prodtechnol/windows2000serv/technologies/activedirectory/default.mspx)
| Other Resources Other Support Sites
CommunityArticle Translations
|






Windows Live
Facebook
Twitter
Linkedin
Digg it
Yahoo
Delicious
StumbleUpon
Yammer
Reddit
Technorati
FriendFeed
Email
Back to the top