Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


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
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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
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…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

581 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