Solutions for Windows shared folders that cannot be accessed

Source: Internet
Author: User
Tags requires

1. Enable the Guest account.

Control Panel-user account-enable Guest account

2. Install NetBEUI protocol.

View the Network Places property--View the local Area Connection Property--click "Install"--View "protocol"--see if the NetBEUI protocol exists, install the protocol if it exists, and if not, indicate that the protocol has been installed. The protocol is already installed when the WinXP system defaults.

3. See if the local Security policy setting disables the Guest account.

Control Panel--Administrative Tools--local Security policy--User Rights Assignment--view the properties of the "Deny access to this computer from the network" item-see if there is a guest account in it, and delete it if you have it.

4. Set up shared folders.

If you do not set the shared folder, the other machines in the network will not be able to access your machine. There are three ways to set up folder sharing, the first of which is: Tools-Folder Options-View-use simple folder sharing. After this setting, other users can only access your shared files or folders as guest users. The second method is: "Control Panel-management tools-Computer Management," in the "Computer Management" dialog box, click "Folder Sharing-sharing," and then select "New Share" in the right key. The third method is the simplest, right click on the folder you want to share, and the share and security option to set up the share.

5. Establishment of a working group.

Right-click My Computer on the Windows desktop, select Properties, and then click the Computer Name tab to see if your LAN workgroup name, such as "Workgroup", appears on this tab. Then click the Network ID button to start the Network Identification Wizard: Click Next, select "This computer is part of a commercial network, connect to other working computers", click Next, select "Company uses a network with no domains", click Next, and then enter your workgroup name for your local area network , here I suggest you use "Broadview", click Next again, and finally click Finish to complete the setup.

After you restart your computer, the computers on your local area network can exchange visits.

6. See if Computer Management enables the Guest account.

Control Panel-Computer Management-Local Users and groups-user-enables the Guest account. The machine will be ready after reboot.

If you want to improve the speed of access to other people's machines, you can also do some related operations: Control surface version-management tools-Service--task scheduler--Properties-The starting mode instead of manual, so it can be.

7. User Rights Assignment.

Control Panel--Administrative Tools--local security policy in the Local Security Policy dialog box, select Local Policy-User rights assignment, and then in the options on the right, set the option to "Access this computer from the network" and "Deny access to this computer from the network" in turn.

The "Access this computer from the network" option requires the guest user and everyone to be added; Denying access to this computer from the network "requires that all rejected users be removed and guest is denied access by default."

All of the steps in the above method do not have to be set up on the LAN, because some of the steps are already set by default. However, as long as your LAN appears to have no access to the phenomenon, through the above settings will certainly ensure the smooth network.

I'm a split line ***************************************.

First, how to create a share:

There are two ways to file sharing for Windows XP systems: Simple File sharing (easy files sharing) and advanced file sharing (Professional files sharing).

1. Simple File sharing

Creating a file share using simple file sharing is easy, just right-click on the folder, select the Sharing and security ... menu item, click the Share tab item, and then check the "Share this folder on the network" item, which displays the name of the file directory you want to share in the share Name column. If you allow users on your network to modify your shared files, you can also check the "Allow network users to change my Files" item. Small hint: XP system by default is to open Simple File sharing feature.

You can also share a disk drive if your shared folders are not enjoyable. Just click on the drive disk with the right mouse button, select the "Sharing and security ..." menu item, point to the "Share" tab entry, and a security prompt prompts you to note the risk of drive sharing. If you continue to share, click on the "Shared drive Root" link and the following actions are the same as folder sharing operations.

Shared folders and drives can be accessed on the assumption that the shared computer has the Guest account open, and the default guest account for the XP system is not turned on, and the guest account must be opened if network users are allowed to access the computer. Expand the "Control Panel → management tools → Computer Management → Local Users and groups → users" option, right-click on the Guest account on the right, select the "Properties" menu item, and remove the "Account deactivated" option (Figure 4). If it is not yet accessible, most of the local security policy restricts user access. In the case where the guest user or the local corresponding account is enabled, expand the "Control Panel → Computer Management → local Security policy → user Rights Assignment" item, in the "Deny access to this computer from the network" list of users, if you see the guest or the corresponding account, delete directly, Users on the network are accessible, so that users can access the share without any password, and access is simpler and clearer.

2. Advanced file Sharing

Advanced file sharing for XP systems is designed to restrict user access by setting up different accounts and assigning different permissions, that is, to plan the sharing of folders and hard disk partitions by setting access Control List ACLs (access controls lists).

①, prohibit simple file sharing

First open a folder, click on the menu bar "tools → Folder Options", select the "View" tab item, in the advanced settings, remove the "Use Simple File Sharing (recommended)" option.

Tip: This step alone does not enable advanced file sharing, which simply disables simple file sharing and requires that you start the account and set permissions so that you can restrict access.

②, setting up accounts

Opening the Guest account alone does not achieve the purpose of multiple users with different permissions. In advanced file sharing, Windows XP system by default does not allow network users to access the system without a password account. So, we have to set up different accounts for users with different permissions. Enter the user account for the control Panel, with the computer's account and guest account.

Generally, the access rights of the network users is the same, at this time we only need to set a user on it. In a user account, create a new user, you must consider network security, the account set must be minimal and minimal, and the type set to restricted users. Click the "control Panel → user account" Item, click "Create a new Account" link, enter the account name "JJ", in Figure 7, select the "Restricted" item, and finally click the "Create Account" button to complete.

There is also a simple way to add a new account: Expand the control panel → admin tools → computer management → system tools → local Users and groups → users item, and right-click the new User menu item in the right window.

Tip: By default, a new account has no password, so we have to add a password to the new account we just added, in the window, select the account name, and click the right mouse button to set the password. If you want network users to access the system through this account without entering a password, you can change the security policy for the XP system:

Open the control panel → admin tools → local security policy → local policy → security options, double-click account: local account with blank password only allow console login option, click Deactivated, and Finalize.

③, setting up shares

After the completion of the above can be set to share, in a folder, click the left mouse button, select the "Sharing and security" item, found no, with just the figure 3 different now, the following also has a permission button.

Click the Permission button, the default permissions are everyone, that is, each user on the network has full control of the permissions. This setting is not safe, so to remove Everyone permissions, add "JJ" permission, press "Add", look for the account name "JJ", determined after the group and the user has. Where JCZX-CDJJ represents the JJ user in the computer JCZX-CD, set JJ only read-only permission, only need to tick on the "read" item.

Tip: Permission Description:

Read permissions: Allows users to browse or execute files in a folder.

Change permissions: Allows users to change the contents of a file or delete a file.

Full Control permissions: Allows users to fully access shared folders.

Note: When advanced sharing is turned on, 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 these steps to achieve this.

3. Create multiple shared folders quickly

Create multiple shared folders with the Shrpubw.exe command sometimes we may experience situations where you need to share multiple folders on your local hard disk with other users on your LAN. Follow the simple file sharing method above to select only one folder at a time, right-click, choose Sharing and security, and then check "Share this folder on the network" and confirm. But this for multiple folder sharing, the operation is too cumbersome.

In fact, Windows XP has come with a small program called "Shrpubw.exe", using it to set up a lot easier. The method is as follows:

①, enter the "cmd" command in the start → run window, enter "Shrpubw.exe" in the Pop-up Run dialog box, and press ENTER.

②, now you're in the dialog box that creates the shared folder. Click the "Browse" button to select the folder you want to share, and then set the share name and share description of the shared folder, and then click "Next" button to set the permissions.

③, set share permissions for shared folders, and of course, you can customize share permissions, and users can set them according to their own circumstances.

④, when you are finished creating a shared folder above, you will be asked if you want to create a shared folder again. Select "Yes" to go back to step 2nd to create the interface to select a new shared folder, or "No" to exit the creation of the shared folder.

Set up multiple shared folders, using the Shrpubw.exe command is the quickest.

Second, management sharing

1. View shared folders that have been created

Expand the control panel → admin tools → computer Management → shared Folders → shares item to see which shares are open on this computer.

If you want to see what is on the local area network share, through the "Network Neighborhood" to view the shared files of multiple computers is obviously powerless, how to do? With the "Landiscovery" software, the software is only 152KB, the most important it is free software, the current version is 1.0, suitable for win9x/nt/2000 /XP, click Download.

Landiscovery software is very simple to use, software installation, double-click on the desktop "Landiscovery" icon to run the software. When the software runs, it automatically scans the computers in the local area network. And gradually displayed on the left side of the software window, simply select the computer name of any computer, the Software window on the right side immediately show the computer's shared file directory, click on the shared file directory, you can open the directory to use the shared files.

You can also use the "cmd" command in the start → run window to enter the "net share" command in the pop-up Run dialog box to view shared resources.

2, see who is connected to this machine?

Expand the control panel → admin tools → computer Management → shared folders → sessions item to see the users connected on this computer. Right-click the user name and select the close session item to disconnect the user.

In addition to the above methods, view the users on the local area network to access your shared documents, you can use the small software Sharewatch, as its name "See Sharing." Software is only 77KB, suitable for win9x/nt/2000/xp/2003, click to download.

After the software is run, you can see the native shared directory that is displayed, and you can see the LAN user wjj-er that accessed the directory.

Right-click on the shared directory, where properties displays the local name, shared directory name, number of user connections, permission to access, and so on. Refresh refreshes the native shared directory, or you can press "F5" to refresh it immediately. "Stop sharing" (unshared) cancels the user's connection by canceling the permissions of the current directory share.

3. Delete Share

To delete a shared file simply click the right mouse button on the folder. Select the "Sharing and security ..." menu item, click the "Share" tab item, and then remove the "Share this folder on the network" item before the small tick, click the "OK" button, the file directory can not be shared on the LAN.

You can also use Notepad to create a new batch file with a suffix named bat, in which you enter the command in the following format:

NET share admin$/del

NET share ipc$/del

NET share C $/del

NET share d$/del

If there are other disk characters or folder shares, you can add them in turn.

Add the batch file that you just created to the system's scheduled tasks and select "Computer startup" in the option to perform the task. This allows the system to automatically run the batch file after each boot and turn off the specified default shared services. If you don't want to use scheduled tasks, you can also drag a shortcut from that batch file to the Start menu, and you can do the same.

Third, file sharing stealth Dafa

The real threat to your own information security in a local area network is not a secret hacker, but a "person" around you. Because of the wide application of shared files in the local area network, in order to better protect themselves, it is necessary to use stealth Dafa to prevent the internal malicious attacks in the shared files.

1. Hide Shared Folders

Do not think that the password for the shared folder can guarantee security, Windows system vulnerabilities are too many, you know which patch is not in time to fill it? It's too dangerous. It would be much safer to let someone else see your shared files from a network Neighborhood.

Implementation: Right-click the shared folder you want to hide, click the Share tab item, fill in the name of the shared folder in the share name, and then add the dollar character "$", such as "Shared file $", and then fill in the password. If someone else wants to access your shared files and cannot see them in the Network Neighborhood, you must enter the "Computer name (or IP address) shared file $" in the address bar, and then enter the password confirmation to access your folder.

2, no share logo sharing

If one day he finds that there is a shared file on your computer, that is, the shared folder has a special flag to share, and there is a small hand holding it, which is the obvious difference from the General folder! How to remove the small hand flags for shared folders, so that shared folders are the same as normal folders, Outsiders can no longer see which directories are shared and which directories are not shared, so security is more secure. The following is the way to implement the share E disk without shared flags: first, use the "Hide Shared Folders" method to set the E disk to a hidden share, then open Registry Editor, and then open the Hkey_local_ machinesoftwaremicrosoftwindowscurrentversionnetworklanmane$ ", change the key value of the DWORD value" Flags "from" 192 "to" 302 "and restart the Windows system for it to take effect. If you need access, just type "computer name e$" in the address bar to see the shared content of e disk. At the same time, you will find that in the local resource browser can not see that e disk is shared, is not very magical? No one knows the secret except yourself.

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.