The Broadband Guide
SG
search advanced
 search
FAQs Categories:

Windows is asking to "Enter Network Credentials" to access network ?

In newer MS Windows versions, it is sometimes impossible to access shared resources on the network without entering a valid username and password, and that can cause problems by itself with blank passwords, different user permissions on the target/client PCs, etc. To make matters worse, this "password protected sharing" is enabled by default on recent Windows versions. In such cases, your client PC shows the following "Windows Security" dialog:

Enter network credentials
Enter your credentials to connect to: servername


Possible solutions to this common Windows network sharing issue are outlined below.

1. Turn off password protected sharing
Navigate to: Control Panel > Network and Internet > Network and Sharing Center > Advanced Sharing Setting > choose "Turn off password protected sharing" for all networks.

Note: "Password protected sharing" must be disabled on the target/server PC, as this is looked at even before checking network share permissions.

2. Let Windows manage the HomeGroup
Navigate to: Control Panel > Network and Internet > Network and Sharing Center > Advanced Sharing Setting > HomeGroup Connections > select "Allow Windows to manage homegroup connections (recommended)."
You will be instructed to sign out, when you sign back in you should be able to access network shares/devices without being asked for credentials.

Note: If still having an issue, you can try leaving the Homegroup, then joining it again.

3. Enter valid user credentials
If you'd like to keep password protected sharing turned on, or for some reason turning it off does not help, you can use actual username/password to connect. Note that you have to use an username/password from the target machine, you may have to enter it in the following format:

User name: servername\username (where "servername" is the name of the target PC, and username is a valid account on the target PC)

Notes:
The full path of the username could also work as: "\\servername\username" , or even just "\username", depending on your environment.
If all the above fails, as a last resort for some older versions of Windows, you may have better luck creating the same username on both the server and client PCs. Also make sure the password on the server PC is not blank.


4. Add the target PC's network credentials to Credentials Manager
In newer Windows variants, navigate to: Control Panel > User Accounts > Credential Manager > select "Windows Credentials" > Add a Windows Credential

In that menu, add the computer name you want to access, user name and the associated password. After adding all the information, you should be able to access it without further issues.


  User Reviews/Comments:
    rate:
   avg:
by joshrodgers - 2018-03-06 13:21
We're having a track event, and at the track itself there is no Internet access, but we needed a way to share files between devices for our finish line software. I connected the devices to a switch so they could all communicate and then created a share on one of those devices. Once I created the shortcuts the devices were prompting me to login, just like the requestor mentioned in the initial post...but I didn't want the users to need to work about that. I wanted them to be able to login and then open the share (without having to worry about their credentials - that would get annoying fast!) So, I followed the last set of instructions, that showed how to manually add a Windows credential for the original machine (that I created the Share on) and it's working perfectly. All the devices are talking to each other and the coach just has to login to make it work. Simple. Thanks for sharing!
by anonymous - 2020-11-09 13:26
This works for me:

1. Turn off password protected sharing
Navigate to: Control Panel > Network and Internet > Network and Sharing Center > Advanced Sharing Setting > choose "Turn off password protected sharing" for all networks.

Note: "Password protected sharing" must be disabled on the target/server PC, as this is looked at even before checking network share permissions.
News Glossary of Terms FAQs Polls Cool Links SpeedGuide Teams SG Premium Services SG Gear Store
Registry Tweaks Broadband Tools Downloads/Patches Broadband Hardware SG Ports Database Security Default Passwords User Stories
Broadband Routers Wireless Firewalls / VPNs Software Hardware User Reviews
Broadband Security Editorials General User Articles Quick Reference
Broadband Forums General Discussions
Advertising Awards Link to us Server Statistics Helping SG About