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

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 334
  • Last Modified:

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!
0
pickcpa
Asked:
pickcpa
  • 3
  • 2
1 Solution
 
mhambridgeCommented:
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.
0
 
mhambridgeCommented:
Hi,

How to setup shares on a domain;

http://support.microsoft.com/?kbid=301198
0
 
mhambridgeCommented:
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
gpriceeeCommented:
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.
0
 
pickcpaAuthor Commented:
I do not understand what the D stands for. Also I have SBS 2003. Where's the console?
0
 
gpriceeeCommented:
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
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now