No one knows the secret: How to Create a share

Source: Internet
Author: User

File Sharing is a common task for LAN users. Although it is easy to say, it is not easy to do. This article provides detailed solutions from the aspects of creating sharing methods, managing sharing and file sharing stealth methods.

I. How to Create a share:

Windows XP supports two File Sharing methods: Simple File Sharing and Professional File Sharing ).

1. Simple file sharing

It is easy to create a file sharing by using simple file sharing. You only need to right-click the folder and select "share and security ..." Click "share" tab item (Figure 1), and then select "share this folder on the network, the shared file directory name is displayed in the "Share Name" column. If you are allowed to modify your shared file on the network, you can also select "allow network users to change my files.

Tip: by default, Windows XP enables simple file sharing.


Figure 1

If you are not satisfied with the shared folder, you can also share the disk drive. Right-click the drive disk and select "share and security ..." Click the "share" tab item (figure 2). A security prompt is displayed, prompting you to pay attention to the risk of drive sharing. If you want to continue sharing, click the "share drive root" link. The following operations are the same as those for folder sharing.


Figure 2


Figure 3

The premise that shared folders and drives can be accessed is that the shared machine has enabled the GUEST account. Generally, the GUEST account is disabled by default in the XP system. If network users are allowed to access the computer, you must open a GUEST account. Expand the "Control Panel> Management Tools> Computer Management> local users and groups> Users" option, right-click the GUEST account on the right, and select the "properties" menu item, remove the "Account Disabled" option (figure 4. If the access is not available, most of them are local security policies that limit user access. When a GUEST user or a local account is enabled, expand "Control Panel> Computer Management> Local Security Policy> User Rights Assignment" in sequence, in the "Deny access to this computer from the network" User List (figure 5), if you see GUEST or the corresponding account, you can directly delete it and all users on the network can access it, in this way, users do not need any password for access sharing, and the access is simpler and clearer.


Figure 4


Figure 5

2. Advanced file sharing

In the XP system, advanced file sharing is performed by setting different accounts and granting different permissions, that is, by setting the Access Control List (ACL) to plan the sharing of folders and hard disk partitions to limit user access.

1. Prohibit sharing of simple files

Open a folder, click "Tools> Folder Options" in the menu bar, select the "View" tab, and remove "use simple file sharing (recommended)" in advanced settings) "option (figure 6 ).


Figure 6

TIPS: only this step does not enable advanced file sharing. This only disables simple file sharing. You also need to start an account and Set permissions to restrict access.

2. Set an account

Opening a GUEST account alone does not allow multiple users to have different permissions. In advanced file sharing, Windows XP does not allow network users to access the system without a password account by default. Therefore, we must set different accounts for users with different permissions. Enter the user account on the control panel. There are computer accounts and guest accounts.

Generally, the access permissions of network users are the same. In this case, you only need to set one user. In a user account, to create a new user, you must consider network security. The account must have minimum permissions and services, and the type must be set to "Restricted Users ". Click "Control Panel> User Account", click the "Create a new account" link, enter the account name "JJ", and click "restricted" in figure 7, finally, click "create account.

There is also a simple way to add a new account: Expand "Control Panel> Management Tools> Computer Management> System Tools> local users and groups> Users", in the right window, right-click and select the "new user" menu item, as shown in figure 8.


Figure 7


TIPS: by default, the new account does not have a password. Therefore, you must add a password to the newly added account. In Figure 8, select the account name, right-click to set the password. If you want network users to access the system through this account instead of entering the password, you can change the security policy of the XP system:

Open "Control Panel> Administrative Tools> Local Security Policies> Local Policies> Security Options", and double-click "account: the local account with a blank password can only log on to the console "option (figure 9), click" disabled ", and click" OK.


Figure 9

3. Set sharing

After completing the above work, you can set up sharing. Click the left mouse button on a folder and select the "share and security" item (Figure 10). No, different from figure 3, there is a button with permissions.


Figure 10

Click the permission button. The default permission is EVERYONE, that is, each user on the network has full control permissions. This setting is insecure, so you need to delete the EVERYONE permission, add the "JJ" permission, and press "add" to find the account name "JJ ", after confirmation, the group and user will be available. Here, jczx-cdjj indicates the jj user in the computer jczx-cd. To set Jj to read-only, you only need to tick the "read" item (figure 11.

TIPS: Permission description:

Read Permission: allows users to browse or execute files in folders.

Change permission: allows users to change or delete files.

Full control permissions: allow users to access Shared Folders completely.


Figure 11

Note: When advanced sharing is enabled, all partitions of the system are shared by default and must be changed back.

If you need to set different permissions for different accounts, repeat the preceding steps.

3. Use the shrpubw.exe command to create multiple shared folders. Sometimes we may encounter such a situation where multiple folders on the local hard disk need to be shared to other users in the LAN at a time. Follow the "simple file sharing" method above to select only one folder at a time, right-click, select "share and security", select "share this folder on the network", and then confirm. However, it is too cumbersome to share Multiple folders.

In fact, Windows XP already has a small program named mongoshrpubw.exe, which is much easier to set up. The method is as follows:

1. input the Upload Command in the Operation window at the startup of the dialog box, input "mongoshrpubw.exe" in the displayed dialog box, and press the Enter key.

2. Now you enter the create shared folder dialog box (figure 12 ). Click "Browse" to select the folder to be shared, set the shared name and description of the shared folder, and click "Next" to set the permission.

3. Set the share permission for shared folders. Of course, you can also customize the share permission. You can set it as needed.


Figure 13

4. After creating a shared folder, the system will ask you if you want to create another shared folder. Select "yes" and return to the creation page in step 2 to select a new shared folder. Select "no" to exit the creation of the shared folder.

Use the shrpubw.exe command to set multiple shared folders.

Ii. Management and sharing

1. view the created shared folder

Expand "Control Panel> Management Tools> Computer Management> shared folder> share" (Figure 14) to see which shares are available on the local machine.

What if you want to view what is shared on the LAN and view the shared files on multiple computers through "Network neighbors? Use the "LanDiscovery" software, with a head of only 96 kb. The most important thing is the free software. The current version is 1.0, which is applicable to win9x/NT/2000/XP.[Click here to download].

LanDiscovery software is easy to use. After the software is installed, double-click the "LanDiscovery" icon on the desktop to run the software. When the software is running, it starts to automatically scan the computers in the LAN and gradually display them on the left side of the software window. You only need to select the computer name of any of the computers (figure 15 ), on the right side of the software window, the shared file directory of the computer is displayed immediately. Click the shared file directory to open the Directory and use the shared file directory.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.