Domain Logon Script - Mapping Sub-Directories

Posted on 2005-03-07
Medium Priority
Last Modified: 2010-03-18
Ok, I know this is probably pretty basic but I can't seem to figure it out.  We have one logon script (n.bat) for the whole company here which maps a shared drive on the sever's domain.

The logon script is "net use n: \\rc.law\files" where 'rc.law' is the domain name and 'files' is the main share.  The company is growing and we are beginning to departmentalize.  I want to create different logon scripts for different groups using the GPO tool.

In the 'files' directory there are sub-directories for accounting, processing, billing etc.  If I use that logon script to map a subdirectory under the main 'files' share it still only maps the root of 'files'.  I am deleting the main logon script altogether.  I know the GPO logon script is working because I can change the share letter of the script to "W" for example, and that changes when I logon as a test user in that group.  However, I can't seem to map down to the sub-directories below the main share e.g. accounting, so that the accounting dept only sees those files and not all the other folders.

I also tried having the logon script use the server name in the script but that doesn't work at all.  Where am I wrong here?
Question by:tags266
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 67

Accepted Solution

sirbounty earned 1000 total points
ID: 13476458
Are you okay with them using files folder, you just want them mapped deeper?
What client OS is being used?  Some don't support this.
Are you deleting the existing share first?


Expert Comment

ID: 13476630
Hi tags266,
Create a share on the folder you want to connect to. Then use the mapping example sirbounty demonstrated. It sounds like you aren't connecting since that particular folder isn't shared out. Yes, technically you can connect to the larger share and navigate to that folder, but you are wanting to drive map for users, so they need to connect directly for a share.


Expert Comment

ID: 13477298
I would agree with Sirbounty.  If you're using the same drive letter, you need to delete the old mapping and have the script re-map like in his example.

Author Comment

ID: 13477485
Ok, the sub-directories are shared and read permissions are enabled for everyone, security is set too.

My new script is NET USE T: \\RC.LAW\FILES\BILLING

After I logon with the user the T drive gets mapped but in my computer it says:

'Disconnected Network Drive'
T:\ refers to a location tha is unavailable.  It could be on a hard drive on this computer or on a network.  Check to make sure that the disk is properly inserted, or that you are connected to the internet, or your network, and then try again.  If it still cannot be located, the information might have moved to a different location.

To verify, I am connected to the network as my user's home folder is mapped and working.  To give you more info my user's homefolder is mapped to P drive and the directory is TESTUSER ON RC.LAW\FILES\USER FILES.  this is all working fine.


Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Resolve DNS query failed errors for Exchange
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question