Deleting a share

How to delete a share

To delete shares, do either of the following:

Using Server Manager to delete a share

To delete a share from Server Manager, follow these steps.

Step Action
1 Open Server Manager by choosing it from the Start menu.
2 From the Server Manager Computer menu, choose Select Domain.
Result
The Select Domain window opens.
3 In the Select Domain window, select the filer you want by typing its UNC name, for example, \\FILERNAME, in the Domain field, then clicking OK.
Result:
A Server Manager window for the filer appears.
4 In the Server Manager window for the filer, choose Computer > Shared Directories, then click the Properties button.
Result
The Share Properties window appears, as shown below.

5 Click Stop Sharing, then click OK.
Result
The folder is no longer shared.

Using the cifs shares command to delete shares

To delete a share, use the cifs shares -delete command.

Command syntax

The cifs shares -delete command has the following syntax:

cifs shares -delete sharename

where sharename is the specific name of the share that you want to delete.

Example

The following command deletes the share created by the cifs shares -add command described in "Creating a share with the cifs shares command."

cifs shares -delete library 

Copyright © 1999, Network Appliance, Inc. All rights reserved.

Part No. 210-02334
File: cifs11.htm
Last updated: 04/26/99 08:11:33