When you access a network share on Windows 11, the system may prompt you for a username and password on every connection attempt. This happens even when you check the “Remember my credentials” box. The root cause is typically a misconfigured Credential Manager entry, a Group Policy setting that forces password prompts, or a mismatch in network profile types between devices. This article explains why Windows 11 forgets saved credentials for network shares and provides three specific fixes to stop the recurring password prompt.
Key Takeaways: Stop Windows 11 Asking for Password on Network Shares
- Control Panel > Credential Manager > Windows Credentials > Remove or Edit entries: Clears stale or incorrect saved credentials that cause repeated authentication prompts.
- Settings > Network & internet > Advanced network settings > Advanced sharing settings: Ensures network discovery and file and printer sharing are enabled for the correct network profile (Private).
- Local Group Policy Editor > Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options > Network access: Do not allow storage of passwords and credentials for network authentication: Must be set to Disabled to allow credential caching.
Why Windows 11 Prompts for Password on Every Network Share Access
Windows 11 uses the Credential Manager service to store authentication data for network resources. When you access a network share and enter credentials, Windows saves them in the Windows Credentials vault. On subsequent connections, the operating system retrieves the stored credentials automatically, bypassing the login prompt.
The password prompt appears repeatedly when one of three conditions exists. First, the stored credential entry is corrupted or points to an incorrect resource address. Second, a Group Policy setting explicitly prevents Windows from caching network credentials. Third, the network profile on the Windows 11 device is set to Public, which blocks credential sharing for network discovery.
Additionally, if the target computer uses a Microsoft account instead of a local account, the credential format must include the full email address. A mismatch in the credential target name, such as using an IP address instead of the computer name, also triggers a new authentication request each time.
Steps to Fix Recurring Network Share Password Prompts on Windows 11
- Open Credential Manager
Press Win + R, typecontrol, and press Enter. In Control Panel, set View by to Large icons. Click Credential Manager. Select Windows Credentials. - Remove or Edit Stale Credentials
Look for entries under Generic Credentials or Windows Credentials that list the network share path, such as\SERVER\Share. Click the arrow to expand the entry. Click Remove and confirm. Alternatively, click Edit and correct the User name field to the correct format. For a Microsoft account, useuser@domain.com. For a local account, useComputerName\Username. - Add a Fresh Credential Entry
In Credential Manager under Windows Credentials, click Add a Windows credential. In the Internet or network address field, type the full network share path, for example\192.168.1.100\SharedFolder. Enter the correct username and password. Click OK. - Verify Network Profile Is Set to Private
Open Settings > Network & internet. Select Wi-Fi or Ethernet. Click your active network. Under Network profile type, select Private. This enables network discovery and credential sharing. - Enable Advanced Sharing Settings
In Settings > Network & internet > Advanced network settings > Advanced sharing settings. Expand the Private networks section. Turn on Network discovery and Turn on file and printer sharing. - Check Group Policy for Credential Storage Restriction
Press Win + R, typegpedit.msc, and press Enter. Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options. Find the policy named Network access: Do not allow storage of passwords and credentials for network authentication. Double-click it and select Disabled. Click OK. - Restart the Workstation Service
Press Win + R, typeservices.msc, and press Enter. Locate the Workstation service. Right-click it and select Restart. This refreshes network credential caching without a full system reboot. - Test the Connection
Open File Explorer, type the network share path in the address bar, and press Enter. You should not be prompted for a password. If prompted, enter credentials and ensure the Remember my credentials box is checked.
When the Network Share Still Prompts for a Password After the Main Fix
“The mapped network drive disconnects after a reboot and asks for password again”
This occurs when the drive mapping was created with the /PERSISTENT:NO flag or when the target share uses a dynamic IP address. Open a Command Prompt as administrator and run net use Z: \\SERVER\Share /PERSISTENT:YES, replacing Z: with your drive letter and the path with your share. This forces Windows to reconnect the drive on sign-in and reuse stored credentials.
“Windows 11 asks for password even after saving credentials in Credential Manager”
The credential target name must match exactly how you access the share. If you access the share using its IP address, the credential must list that IP address. If you use the computer name, the credential must list the computer name. Delete the existing entry and create a new one using the exact path format you type in File Explorer.
“Network share works from other PCs but not from this Windows 11 device”
This indicates a local credential cache corruption. Open an elevated Command Prompt and run cmdkey /list to view all stored credentials. Note the target names. Then run cmdkey /delete:TargetName for each network share entry. Reboot and map the drive again. This clears the entire credential cache for network resources.
Credential Manager vs Group Policy: Persistent Authentication Methods
| Item | Credential Manager (Windows Credentials) | Group Policy (Security Option) |
|---|---|---|
| Purpose | Stores usernames and passwords for network resources | Controls whether credential storage is permitted system-wide |
| Configuration location | Control Panel > Credential Manager > Windows Credentials | gpedit.msc > Security Options > Network access: Do not allow storage of passwords |
| Effect when enabled | Saves credentials for automatic reuse | Blocks all credential caching regardless of user preference |
| Effect when disabled or not configured | No credentials are stored, prompts appear each time | Allows credential caching to function normally |
| Scope of change | Per-user credential storage | Applies to all users on the device |
| Fix for repeated password prompts | Remove and re-add the specific share credential | Set policy to Disabled and restart the Workstation service |
You can now stop Windows 11 from asking for a password every time you access a network share. Start by clearing and re-adding the credential in Credential Manager. If the prompt continues, verify the network profile is set to Private and check the Group Policy restriction. For persistent drive mappings, use the net use command with the /PERSISTENT:YES flag. As an advanced step, use the cmdkey /list command in an elevated Command Prompt to audit all stored network credentials on the device.