How to Save a Username and Password for a Network Location in Windows 10

How to Save a Username and Password for a Network Location in Windows 10

Windows 10 can remember the credentials for a network share. Select Remember my credentials when the sign-in prompt appears, or save the account in Credential Manager before connecting. The stored sign-in belongs to the Windows user profile on this PC; it does not create an account on the server or grant access you have not been given.

This guide covers shared folders and mapped network drives, such as \\server\share. If you know the address, you can open it directly in File Explorer. Network Discovery is needed to browse for devices under Network, not to save credentials for a known path.

Support note: Windows 10 Home and Pro reached end of support on October 14, 2025. Microsoft no longer provides standard security updates for those editions after that date. See the Windows 10 lifecycle details.

Before you save the login

Get the exact network path and an account that is authorized for it. A UNC path has this format: \\server\share. For example, \\fileserver\Shared points to the Shared folder on a computer named fileserver.

At the prompt, enter the account for the remote computer or organization. Depending on how the network is set up, the username may look like SERVER\username, DOMAIN\username, or user@domain. Use the account password; a Windows Hello PIN for your PC is not the remote account password. If you are unsure which account to use, ask the network administrator.

Save credentials when you open the share

  1. Press Windows key + E to open File Explorer.
  2. Select the address bar, type the full share path, such as \\fileserver\Shared, and press Enter. You can use this path even if Network Discovery is off.
Windows 10 File Explorer with the network path \\fileserver\Shared entered in its address bar
Enter the UNC path in File Explorer to open a known network share directly.
  1. When Windows asks for network credentials, enter the authorized username and password. Select Remember my credentials, then choose OK.
Windows Security network credentials dialog with a username, masked password, and Remember my credentials selected
Select Remember my credentials in the sign-in prompt to store the network login.
  1. Wait for the shared folder to open. Close it and open the same path again to confirm Windows reuses the saved sign-in.

If the prompt has no remember option or you want to add the login first, use Credential Manager instead.

Add the network login in Credential Manager

  1. Type Credential Manager in the taskbar search box and open the Control Panel result.
  2. Select Windows Credentials, then choose Add a Windows credential.
Credential Manager in Control Panel with the Windows Credentials section selected
Open Windows Credentials in Credential Manager to add or manage network logins.
  1. In Internet or network address, enter the server name used in the UNC path. For \\fileserver\Shared, enter fileserver. Use the same spelling or IP address that you use when connecting.
  2. Enter the authorized username and password, then select Save.
  3. Return to File Explorer and open the share path. Windows should use the saved entry for that server.
Add a Windows Credential form filled with the server address fileserver and a network username
Enter the server address and the account credentials authorized for the share.

Microsoft’s Credential Manager guide explains how to open the Windows Credentials list and manage saved entries.

Map the share so it reconnects at sign-in

A mapped drive gives the share a drive letter; it is optional and separate from saving the password. In File Explorer, select This PC, open the Computer tab, and choose Map network drive. Select an available letter and enter the UNC path in the Folder box.

Map Network Drive dialog with \\fileserver\Shared and Reconnect at sign-in selected
Reconnect at sign-in restores the mapped drive after you sign in to Windows.

Select Reconnect at sign-in if you want the drive restored each time you sign in. If the share needs another account, select Connect using different credentials. Choose Finish, then enter the authorized login if Windows prompts you and save it. Microsoft’s network sharing guide also covers mapping a drive and reconnecting it at sign-in.

Turn on Network Discovery only if you need to browse

If the device does not appear under File Explorer’s Network section, Network Discovery may be off. On a trusted home or work network, set the network profile to Private, then open Control Panel > Network and Internet > Network and Sharing Center > Change advanced sharing settings. Expand Private, turn on Network discovery, and save the change.

Windows 10 Network and Sharing Center showing the Change advanced sharing settings link
Change advanced sharing settings from the Network and Sharing Center when you need to browse for devices.
Advanced sharing settings in Windows 10 with Network discovery enabled for a Private network
Enable Network Discovery under the Private network profile if you want devices listed under Network.

Do not mark a public Wi-Fi network as Private just to find a share. You also do not need to turn off password-protected sharing to save credentials; keep the share protected and use the account its owner provided. Microsoft’s file-sharing instructions describe the current discovery settings.

Update or remove a saved network password

To check an entry, search for Credential Manager, open Windows Credentials, and expand the entry for the server. To clear an old password, select Remove and confirm. Then reopen the share and enter the updated credentials. This is useful after a password change or when Windows keeps trying an old account.

Windows Credential Manager with a saved fileserver credential expanded and the Remove action visible
Expand the saved server entry to remove credentials that are no longer valid.

If Windows still asks for credentials

  • Check that the server is online, the share name is correct, and the account has permission. Saving a password cannot fix a missing share or insufficient access.
  • Use the same server name or IP address in Credential Manager and in the UNC path. Remove an outdated entry if it points to the wrong account.
  • If Windows reports that multiple connections to the same server with different usernames are not allowed, disconnect the existing mapped drive or network session, then reconnect with one account. See Microsoft’s network-share credentials troubleshooting guidance.
  • Only save credentials on a PC you control. Anyone who can use your Windows account may be able to access shares available to it.

Once the correct account is saved, Windows can reuse it for that network location until the credential changes or you remove it from Credential Manager.

Leave a Comment

How to Play Minecraft Offline on Windows 10: Java and Bedrock

How to Play Minecraft Offline on Windows 10: Java and Bedrock

Prepare Java or Bedrock on Windows 10 for offline single-player, enable the right Xbox setting, and back up your local Minecraft worlds.

How to Change a File Type Icon in Windows 10

How to Change a File Type Icon in Windows 10

Change a file type icon in Windows 10 while keeping its current default app. Follow the FileTypesMan steps, handle icon picker issues, and restore the original setting.

How to Set PhysX Configuration in NVIDIA Control Panel on Windows 10

How to Set PhysX Configuration in NVIDIA Control Panel on Windows 10

Set PhysX in NVIDIA Control Panel on Windows 10, understand Auto-select vs. CPU or GPU, and learn when to use Windows Graphics settings instead.

Best Free Office Software: 6 Alternatives to Word, Excel, and PowerPoint

Best Free Office Software: 6 Alternatives to Word, Excel, and PowerPoint

Compare six free office suites for documents, spreadsheets, and presentations, including browser-based collaboration and offline desktop options.

How to Get Line Numbers in Notepad on Windows 10

How to Get Line Numbers in Notepad on Windows 10

Turn on Notepad’s Status Bar to see the current line and column in Windows 10, troubleshoot a disabled option, and learn when you need a line-number gutter.

How to Show a Message Box on Windows 10 (PowerShell and Batch)

How to Show a Message Box on Windows 10 (PowerShell and Batch)

Display a custom Windows dialog with a short PowerShell command, Command Prompt, or a reusable .bat or .ps1 file, including a title, icon, and buttons.

How to Fix Windows 10 Update Error 0x80071160

How to Fix Windows 10 Update Error 0x80071160

Fix Windows 10 update error 0x80071160 with Microsoft’s troubleshooter, a safe update-cache reset, DISM and SFC repairs, and a careful manual-install check.

How to Install Windows 10 From a UEFI Bootable USB

How to Install Windows 10 From a UEFI Bootable USB

Create a Windows 10 UEFI installer with Microsoft’s Media Creation Tool or Rufus, then boot and install safely without wiping the wrong drive.

How to Hide Microsoft Edge Tabs from Alt+Tab in Windows 10

How to Hide Microsoft Edge Tabs from Alt+Tab in Windows 10

Stop individual Edge tabs from crowding the Windows 10 Alt+Tab switcher. Change one Multitasking setting, limit recent tabs, and check why the option may be missing.

How to Fix PDF Thumbnails Not Showing in Windows 10

How to Fix PDF Thumbnails Not Showing in Windows 10

Enable Adobe’s PDF thumbnail handler, correct File Explorer’s icon settings, rebuild the thumbnail cache, and check OneDrive files that are not stored locally.