Windows 10 Network Shares: Fixing a Connection Failure

Network shares or a NAS stop working when you sign in to Windows 11 or 10 with a PIN. Why it happens and how to fix it with saved credentials and SMB checks.

Windows 10 Network Shares: Fixing a Connection Failure

You sign in to Windows with a PIN, open File Explorer, type \\server\share or the name of your NAS, and get an error instead of your files: “Windows cannot access”, “The specified network password is not correct”, or a credentials box that never accepts anything. Network printers can fail the same way. It worked last week, nothing on the server changed, and the only difference seems to be the PIN or a Windows update. This guide explains why it happens on Windows 11 and Windows 10, and how to fix it properly in 2026.

Why a PIN can break network share access

A Windows Hello PIN only unlocks your PC. It is tied to that device and is never sent over the network. When you open a share, Windows tries to authenticate with the account you are signed in with:

  • On a domain-joined PC, that is your domain account, and Kerberos handles it without any password prompts.
  • On a home or small office PC signed in with a Microsoft account, Windows offers your Microsoft account details. A NAS, a Linux Samba server or another PC in a workgroup has no idea who that is, so the connection is refused.

When you used a password to sign in, Windows sometimes got away with it because the local username and password happened to match an account on the other machine. With a PIN, that match no longer lines up, and the share stops working.

Fix 1: save the right credentials in Credential Manager

The reliable fix is to tell Windows exactly which account to use for that server.

  1. Open the Start menu, type Credential Manager and open it.
  2. Select Windows Credentials, then Add a Windows credential.
  3. In Internet or network address, type the server name exactly as you use it, for example nas01 or 192.168.1.20. If you use both, add an entry for each.
  4. Enter the username in the form SERVERNAME\username (for a NAS or workgroup PC) or DOMAIN\username, plus the password for that account on the server.
  5. Click OK, then try the share again.

You can do the same from a command prompt with cmdkey, which is handy for scripting:

cmdkey /add:nas01 /user:nas01\andy /pass
net use Z: \\nas01\documents /persistent:yes

Running cmdkey /add with /pass and no value prompts for the password, so it is not left in your command history. If an old, wrong entry is already saved for the server, remove it first with cmdkey /delete:nas01 or from Credential Manager, then sign out and back in.

Fix 2: check for the newer Windows 11 security defaults

If the share still fails, the PIN may be a coincidence. Recent Windows 11 releases tightened SMB security, and these changes catch out a lot of home and small office setups:

  • Insecure guest logons are blocked. Shares that allow access without a username (guest or “everyone” access on older NAS boxes) are refused with an error saying your organisation’s security policies block unauthenticated guest access. The right fix is to create a real user on the NAS and connect with it. Our guide to the unauthenticated guest access error covers the details.
  • SMB signing is required by default. Windows 11 24H2 and later require signing on outgoing SMB connections. Most current NAS firmware supports it, but older devices may not, so update the NAS firmware before weakening anything on the PC.
  • SMBv1 is not installed. Very old NAS units and printers that only speak SMBv1 will not connect at all. Turning SMBv1 back on is a security risk; if you really have to for a legacy device, see enabling SMBv1 with PowerShell and plan to replace the device.

Fix 3: confirm the PIN is really the cause

To rule it in or out, go to Settings > Accounts > Sign-in options, sign out, and sign back in with your account password instead of the PIN (choose Sign-in options on the lock screen). If the share works with a password but not a PIN, saved credentials as in Fix 1 are the answer. If it fails either way, look at the server side, DNS or the SMB settings above.

On a Microsoft account you may need to turn off For improved security, only allow Windows Hello sign-in for Microsoft accounts on this device to see the password option.

Quick checks before you go further

  • Can you ping the server by name and by IP address? If the IP works but the name does not, it is a name resolution problem, not credentials.
  • Is your network set to Private in Settings > Network & internet? A Public profile blocks file sharing discovery.
  • Does net use \\server\share /user:server\username give a clearer error message than File Explorer? It usually does.
  • On a domain, check the clock. A time difference of more than five minutes breaks Kerberos and looks just like a password problem.

FAQ

Do I have to stop using a PIN?

No. Keep the PIN for signing in to the PC and save the server credentials once. Windows uses the saved entry for the share and the PIN for the device.

Does this still apply now Windows 10 is out of support?

Yes. The behaviour is the same on Windows 11, and the extra SMB defaults on Windows 11 make it more common, not less. If you are still on Windows 10, plan the move to Windows 11 or an Extended Security Updates option.

My mapped drive reconnects with a red cross after a restart. Why?

The drive was mapped without saved credentials, or Windows tried to reconnect before the network was up. Saving the credential and mapping with /persistent:yes usually sorts it.

🛠️

Gear We Recommend

Firewall rules are only half the story. Here’s the networking hardware we recommend for a properly segmented setup.

Browse our Networking Equipment picks on Amazon

As an Amazon Associate, TechyGeeksHome earns from qualifying purchases.


Discover more from TechyGeeksHome

Subscribe to get the latest posts sent to your email.

Andrew Armstrong

Andrew Armstrong is a UK-based IT professional with 26+ years of hands-on experience in Windows, Windows Server, SCCM/ConfigMgr, Intune, Active Directory, PowerShell and enterprise infrastructure.

He founded TechyGeeksHome in 2010 and has published 770+ practical guides to real-world IT problems. He also builds free Windows utilities, including Ultimate Settings Panel, which has been downloaded over 850,000 times.

One thought on “Windows 10 Network Shares: Fixing a Connection Failure”

  1. It is a great piece of information. Basically, Windows 10 could not connect to network shares or printers when they are going through connectivity and hardware issue.

Comments are closed.

Part of The Geek Network