Windows 11 guides
  • Windows

Fix the Network Credentials Error in Windows File Sharing

Source-checked About 10 minutes1 official source

Quick fix

Confirm both PCs use the same private network, share the intended folder with an authorized account, and enter that computer's current username and password.

Identify the host PC and share

Identify the host PC and share, confirm a trusted private network, record the authorized host account, and test access by UNC path.

Sign in with the host's account

Share with the minimum named-user permission and enter the host computer's current username and password; do not enable insecure guest access or SMB 1.0.

Check the network profile

Connect both PCs to the trusted network and set the connection to Private only when you trust it.

Enable sharing

Turn on Network discovery and File and printer sharing for private networks.

Share with a specific account

In the folder's sharing settings, grant only the required account and permission level.

Enter the host credentials

Use an account and current password from the PC hosting the folder. Remove stale saved credentials only when you know the replacement.

Verify the result

The authorized user reconnects after sign-out and can perform only the intended read or write action.

Video walkthrough

If it still does not work

  • If credentials are organization-managed, the host cannot be reached, permissions exceed the intended scope, or access works only with insecure guest settings, undo your last change and contact official support with the exact error message and the step that failed.

Sources and verification

Checked against official documentation on . Scope: Windows. Follow the linked official guidance if labels differ after an update.