Microsoft KB Archive/301281

= How To Share Files and Folders Over a Network for Workgroups in Windows 2000 =

Article ID: 301281

Article Last Modified on 11/1/2006

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q301281



IN THIS TASK
SUMMARY Setting Security on a Folder Before You Share It Sharing a Folder Connecting to a Shared Folder
 * To Connect to a Shared Folder by Using My Network Places
 * To Connect to a Shared Folder by Using Universal Naming Convention (UNC) Format
 * To Connect to a Shared Folder by Using a Mapped Drive
 * Notes

Troubleshooting
 * Users Cannot Access Files and Folders That They Should Be Able to When Logged On Locally
 * Users Can Access Files and Folders with Incorrect Permissions When Logged on Locally
 * Users Cannot Access Files and Folders That They Should Be Able to Access Over the Network
 * There Is No Security Tab in the Folder Properties Dialog Box



SUMMARY
This step-by-step guide describes the process of sharing folders on a computer that is part of a workgroup, configuring security for the shared folders and the subfolders and files they contain, and connecting over the network to shared folders on other computers that are members of the workgroup.

For example, assume that you have been asked to set up file sharing on a Windows-based computer that is part of a workgroup. You need to create a share contains Accounts Receivable files that are to be used by the Accounting and Sales staff at the company you work for, and to configure security to ensure that only appropriate users get access to the data stored in the share. You need the Accounting staff to be able to read, edit, delete, and create files in the share, while the Sales staff should only be able to read files in the share. The manager of the accounting department (Jane Smith) should be the only user who can change permissions on the contents of the share.

The computer you are working with has a drives C and D, and you have decided to create the folder that will contain the data on drive D. back to the top

Setting Security on a Folder Before You Share It

 * 1) Log on to your computer as a user who is a member of the Power Users group or the Administrators group. Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
 * 2) Click the drive or folder in which you want to create a new folder.
 * 3) On the File menu, point to New, and then click Folder. Type a name for the new folder (for example, Accounts Receivable), and then press ENTER.
 * 4) Right-click the new folder, and then click Properties. Click the Security tab.
 * 5) Click to clear the Allow inheritable permissions from parent to propagate to this object check box. In the Security dialog box, click Copy.

NOTE: The inherited permissions are copied directly to this folder.
 * 1) To add a set of permissions, in the Properties dialog box, on the Security tab, click Add. In the Select Users, Computers, or Groups dialog box, double-click the appropriate user accounts or groups (for example, Accounting, Sales, and Jane Smith). When you have selected all the users and groups you want to assign permissions to, click OK.

The groups and users you added, along with the Everyone group, are displayed in the top half of the Security tab. Follow the next steps to complete the process:
 * 1) In the Name list, click each user or group one at a time, and then apply the correct permissions in the Permissions list. For example, for the Accountants group, for the Modify permission, click Allow. For the Sales group, for the Read & Execute permission, click Allow. For the user Jane Smith, for the Full Control permission, click Allow.
 * 2) After you have set the appropriate permissions, click the Everyone group, and then click Remove.

back to the top

Sharing a Folder

 * 1) Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
 * 2) Right-click the appropriate folder (for example, Accounts Receivable), and then click Sharing.
 * 3) In the folder's properties, click Share this folder. Use the default name for the share. Click Permissions.
 * 4) In the Permissions for dialog box, click Add.
 * 5) In the Select Users, Computers, or Groups dialog box, double-click the Authenticated Users group, and then click OK.
 * 6) In the Permissions for dialog box, click the Authenticated Users group.
 * 7) In the Permissions list, for the Full Control permission, click Allow. After you have set the appropriate permissions, click the Everyone group, and then click Remove.

back to the top

Connecting to a Shared Folder
When you share a folder, users from other computers can connect to the folder over the network. When users connect to a shared folder, they can open files; save files; delete files; create, modify, and delete folders; and perform other tasks, depending on the level of permission you grant them. There are several ways of opening shares on another computer:
 * My Network Places
 * Universal Naming Convention (UNC)
 * Mapped network drive

back to the top

To Connect to a Shared Folder by Using My Network Places

 * 1) On the desktop, double-click My Network Places.
 * 2) Double-click Computers Near Me.
 * 3) Double-click the appropriate computer in your workgroup. If you are prompted to do so, type the user name and password that is required to gain access to the computer to which you are connecting. After you type the appropriate credentials, a window opens that displays all of the shared folders and printers on the computer to which you are connecting.
 * 4) Double-click the shared folder to which you want to gain access. You then see all of the subfolders and files in that shared folder. What you can do with those subfolders and files depends on the level of permission you have been granted.

back to the top

To Connect to a Shared Folder by Using Universal Naming Convention (UNC) Format
 Click Start, click Run, and then type the name using UNC format, where  is the name of the computer to which you are attempting to connect and   is the name of the shared folder on that computer:

\\ \

For example, if you want to connect to a share that is named Data on a computer that is named Fileserver, type \\Fileserver\Data . If you are to do so, type the user name and password that is required to gain access to the computer. After you type the appropriate credentials, a window opens that displays the contents of the share.

back to the top

To Connect to a Shared Folder by Using a Mapped Drive
 Click Start, point to Programs, point to Accessories, and then click Windows Explorer. On the Tools menu, click Map Network Drive. In the Drive box, click the drive letter that you want to use for this mapped drive. You cannot use any of the drive letters that are currently used by your computer. In the Folder box, type the name of the share to which you want to connect by using Universal Naming Convention (UNC) format:

\\ \

You can also map drives to subfolders of the shared folder. Therefore, you can map the drive to a subfolder by including that information. For example:

\\ \ \

Or, you can click Browse and then locate the computer to which you want to connect, the share on that computer, and optionally the subfolder in that share.</li></ol>

back to the top

Users Cannot Access Files and Folders That They Should Be Able to When Logged On Locally
Access permissions are combined from any permissions that are assigned directly to the user and those that are assigned to any groups of which the user is a member.

The exception to this rule is if there is an explicit Deny permission on the folder or file. This occurs because Deny permissions are enumerated first when Windows is determining whether or not a particular user can perform a particular task. Therefore, you should avoid using explicit Deny permissions (that is, avoid clicking to select a check box in the Deny column) unless there is no other way to achieve the permissions mix that you need.

back to the top

Users Can Access Files and Folders with Incorrect Permissions When Logged on Locally
For example, users can write instead of just read when they are logged on locally. Permissions, by default, are inherited from the folder that contains the object. If you are experiencing inappropriate permission levels, check for both inherited permissions that are incorrect for this object and for group memberships that may grant different levels of permissions than you want to have.

back to the top

Users Cannot Access Files and Folders That They Should Be Able to Access Over the Network
When you access data over the network, both share permissions and file and folder permissions apply. Share access permissions are combined from any permissions that are assigned directly to the user and those assigned to any groups of which the user is a member. The exception to this is if there is an explicit Deny permission on the folder or file. This occurs because Deny permissions are enumerated first when Windows is determining whether or not a particular user can perform a particular task. Therefore, if Frank, for example, is a member of a group that has the Deny check box selected for Read in the Deny column, he is unable to read the file or folder, even if other permissions should allow him to do so.

You should avoid using explicit Deny permissions (that is, avoid clicking to select a check box in the Deny column) unless there is no other way to achieve the permissions mix that you need. Check both the share permissions and the file and folder permissions for the user and any groups of which he or she is a member.

back to the top

There Is No Security Tab in the Folder Properties Dialog Box
If you do not see the Security tab in the folder properties, it is likely that you are using the FAT or FAT32 file system. Windows includes a utility that can safely convert your drive to from the FAT or FAT32 file system to the NTFS file system.

WARNING: Do not convert your drive if you are running both Windows and another operating system on the computer (that is, if it is a dual-boot computer) and the other operating system cannot read NTFS drives.

To convert a partition to NTFS:  Click Start, point to Programs, point to Accessories, and then click Command Prompt.</li> Type convert : /FS:NTFS, where   is the drive that you want to convert.

For example, to convert drive D to NTFS, type the following line:

convert D: /FS:NTFS

</li> If you attempt to convert a drive while it is being accessed by Windows, Windows displays a message that prompts you to convert the drive when the computer is restarted. Click Yes, quit any running programs, and then restart your computer.</li></ol>

back to the top

Keywords: kbhowto kbhowtomaster KB301281

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.