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 Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Login Script Windows Server 2003

Status
Not open for further replies.
Joined
May 9, 2006
Messages
232
Location
US
Can anybody please tell me how I can set up home directory mapping in Group policy in win 2003 server.

I have shared directory on the server named "personal storage" with full rights to all domain users, this is where I want users folders to be created automatically using their user name for the folder name the first time they login to the network (once the folders gets created automatically they should be the owner of the folder with full rights and nobody else should have access to it, unless admin takes ownership) I want users to see their user name directory mapped to a drive letter when they log on(i.e P:\personal storage\%username%.

I know how to do it in user profile, but I want to be able to do it GP. So far a i have the vbs script below

Set objNetwork = CreateObject("WScript.Network")
objNetwork.MapNetworkDrive "O:" , "\\myserver\docs

I want to add lines to this script to map user personal storage directories, the "O" drive should still remain and contiue to be mapped automatically. Any help would be great, Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top