and here for Shared folders on a network drive
http://www.satelliteguys.u
here for shared folder (your problem)
http://www.experts-exchang
Main Topics
Browse All TopicsI have shared user folders and would like to set up a batch file for it.
So when users login they have their personal folder mapped automatically.
My scenario is the following:
\\SERVER
- USERS (not shared)
- \JOHN$ (shared)
So the way I map manually is \\server\john$ but would like to avoid the hassle.
Thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
and here for Shared folders on a network drive
http://www.satelliteguys.u
here for shared folder (your problem)
http://www.experts-exchang
Can you not just simply specify the home drive in the profile tab on users account on ad?
Under home folder just click in the "connect" radio button and specify the path such as \\server\users\%username%
t
The way your folders should be setup for home drives is thus.
1. Create a "parent" folder called "users" and share it as "users$"
2. Create a subfolder called "john"
3. in john profile specify \\servername\users$\john
th
Since john folder is also hidden, do I have to specify like this \\servername\users$\depart
I forgot to tell you that the folders had already been created. And I transferred them from one server to another. But I had to set up new permissions because the old ones allowed users to browse the network and see all the shares.
So I do not really need to create new user shared folders unless there are new users coming in.
I would like to create a script. Because users belong to different groups and I would like to assign different shares (map different folders) to different groups. So in the logon script I would like to add the script name for the users of a particular group.
It doesn't matter if folder is hidden or not. Shares can be hidden from net browsing by naming the shares with trailing $, but that is for shares and not folders. UNC-path is \\server\share\path independent of it's hidden or not.
If folder is shared as john$, UNC-path is \\server\john$
If parent folder department is shared as department$, the UNC-path is \\server\department$\john
If top/root folder users is shared as users$ and contains sub folder named department above john folder, the path is \\server\users$\department
For automating the mapping when users log on, set the "connect" H: to map the home folder path (\\server\john$, \\server\users$\john or what the UNC-path ends up to be...). If using that method, you don't nead to map it in logon script.
If folder is named to be the same as the username, an alternate solution is to use logon script with the following line
net use H: \\server\%username%$
Business Accounts
Answer for Membership
by: jamerslongPosted on 2009-03-27 at 18:50:57ID: 24006843
http://msmvps.com/blogs/kw support/ar chive/2004 /11/03/ 178 30.aspx
heres a how to