Logon failure win7 Access shared file: Disabling Current user error

Source: Internet
Author: User
Tags anonymous password protection

Solution:

Method 1: The easiest way to do this is to create a new account so that you can access the shared server through the new account instead of the admin account with the same name. "Logon failure: Disabled current Account" will be prompted for the password directly.
Method 2: Modify the server-side access mode so that everyone can access and the client is logged in as guest.
Method 3: Using Windows cmd, enter the net use \ip shared folder/user: User name and enter password after return.

followed by another very long article


Win7 set up network share attention items

Win7 the way to set up a network share is similar to XP, the difference is that Win7 introduces a network location, different network locations, and different permissions:

There are four network locations:

Home Networking: Select Home networking for Home networking or when you know and trust individuals and devices on your network. Computers in a home network can belong to a homegroup. For a home network, network discovery is enabled, allowing you to view other computers and devices on your network and allow other network users to view your computer.

Working network: For small office networks or other workspace networks, select Work Network. By default, network discovery is enabled, allowing you to view other computers and devices on your network and allow other network users to view your computer, but you cannot create or join a homegroup.

Public network: Select public network for a network in a public place (for example, a coffee shop or an airport). This location is designed to make your computer invisible to the surrounding computers and to help protect your computer from any malicious software from the Internet. HomeGroup is not available on the public network and network discovery is disabled. You should also select this option if you are not using a router to connect directly to the Internet, or if you have a mobile broadband connection.

Domain: The domain network location is used for domain networks, such as the network in the Enterprise workspace. This type of network location is controlled by the network administrator and cannot be selected or changed.

Most of us will set up the network location as a working network, the following is a detailed set of work network:

Control Panel Network and Internet Network and Sharing Center view the active network to see if the current network location is a working network, if it is a home network or a public network, click Set to set up a work network.

In the network and Sharing Center, change the advanced sharing settings and set up the home and work network (recommended configuration is as follows):

A. Turn off network discovery, turn off network Discovery also can realize network share, just can't find it in My Network Neighborhood (by adding $ to the net share name, you can also make the shared file unavailable to your network Neighborhood), which also improves security, which can be accessed by host name (\TSKYCC) or IP address. Then create a shortcut to the desktop or map to a local disk.

B. Open File and Printer sharing options, to set up sharing, this is definitely open.

C. Password protection sharing, Qin Dynasty SEO recommended to turn off password protection sharing, because the password problem will cause some problems.

D. Control Panel – Firewall – Exception – File and Printer sharing. Hook up or deactivate a firewall

E. Other defaults can be.

WIN7 network share Local Security policy settings
Run –secpol.msc– Local Policy – Security options:

Network access: Sharing and security model for local accounts "classic – Local users authenticate as themselves"

Network access: Do not allow anonymous enumeration of SAM accounts to deactivate

Network access: Do not allow anonymous enumeration of SAM accounts and shares to deactivate

A local account with a blank password allows only console logons. Deactivate.

Deny access to this computer from the network all delete (default is guest)

Access this computer from the network to add a user or group to be accessed (such as administrators)

Logon failure: Disabling current user resolution
As set above, the other machines can add network share printers and shared documents as normal, but one access shared server prompts: No permissions, Logon failed: Disable current user.

The following analysis, why other computers can be normal access to the network share, and it is equipped with Win7 can not?

After analysis, do the printer server computer, with the Win7 operating system, the default disabled administrator and Guest account. Create a new administrator Tsky with a password of 123456. The local security policy setting is also set in the previous method. When password-protected sharing is enabled.

Again, you can't access the shared one, with the default administrator and no password set. If the access user is also Tsky and the password is 123456, it is accessible. Generally set up network access: The local account sharing and security model for "Classic – Local users authenticate themselves," then the access will be prompted to enter the printer server username and password, but the computer is not prompted, and then there is a logon failure: Disable the current user.

Workaround: Set the win7 network share note –c. password-protected sharing, to be shut off. This method is not perfect, if you can solve the problem that cannot eject username and password, then can solve this problem completely

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.