Link to home
Start Free TrialLog in
Avatar of pickcpa
pickcpa

asked on

Sharing and mapping a volume -Windowws Small Business Server

I was advised to prepare a login script with the net use commands. I am not sure whether it goes in the default login script or somewhere else. I want to map volumes (which are not shared yet) to a group. The command net use x: \\server\Share1-Do I need to use the word share? I have a network volume called data, which does not have a drive letter associated with it yet. Please help!
Avatar of mhambridge
mhambridge

Hi,

Place it in the NETLOGON share on the domain controller. The default location of the NETLOGON share is C:\WINNT\SYSVOL\sysvol\<Domain Name>\scripts.

You then need to add the logon.bat script to each users account so when they logon they access the script you have prepared.

You do not need to assign a drive letter on the server physically all you need do there is create the share name and then set the share/ntfs permissions you desire to the group/s of acounts that need access to the shared resource.

Hope this helps, best of luck.
Hi,

How to setup shares on a domain;

http://support.microsoft.com/?kbid=301198
ASKER CERTIFIED SOLUTION
Avatar of mhambridge
mhambridge

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Small Business Server is a bit different.

Go to the SBS Personal Console.  On the left, click on Shared Folders.  On the bottom left of the right pane, click on add folder &#61664; next and then browse to the folder path so you can CREATE a new folder or share a current one.  If making a new folder, click on the appropriate volume first, and then the New Folder button.  The folder name is for your eyes.  After you create it, hit ok, and then you’ll be able to enter the Shared Folder Name (for the user’s eyes).

To make life easier, choose to publish the folder in active directory.

Once you’re done, the path to the folder will be \\servername\sharename.

If the servername were Server1, and the name for the share (for the user’s eyes) you created was Marketing, it would look like this: \\Server1\Marketing.

Then, on the Small Business Server, go to C:\WINNT\SYSVOL\sysvol\domainname\scripts.
Right click on SBS_LOGIN_SCRIPT.bat and edit that to match what you want:
NET USE M: /D
NET USE M: \\SERVER1\MARKETING

If you have different shares for different users, you may wish to change the login script so that you have one for each group.  

Just ensure that the users have the appropriate script in the Login Script box with in the Profile tab of the user’s properties.
Avatar of pickcpa

ASKER

I do not understand what the D stands for. Also I have SBS 2003. Where's the console?
Hello.  The /D deletes the mapping.  It's a good practice to do so before mapping in case local maps exist or in case a persistent map is out there.
The console should appear right off of the start menu, all the way at the top; don't go to programs.  If not, go to Start --> Run --> MySBSConsole.msc