Domain Logon Script - Mapping Sub-Directories

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: \\\files" where '' 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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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?


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.

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.
tags266Author Commented:
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.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.