How Do I Clear VPN Credentials in Windows 11?
If your VPN keeps signing in with an old username or password, clearing its saved credentials can help. Windows 11 may store VPN sign-in details in the VPN profile, Windows Credential Manager, or the VPN provider’s own app. That means removing a saved password in one place may not be enough if another copy remains.
To clear VPN credentials in Windows 11, first check the VPN connection’s settings, then remove any matching entry from Credential Manager. If you use a third-party VPN, clear the credentials in its app as well. The steps below explain how to find the relevant entries without deleting unrelated passwords.
Where Windows 11 Stores VPN Credentials
The location depends on how the VPN was set up. A connection created in Windows Settings can save a username and password as part of its sign-in information. Windows may also keep credentials in Credential Manager. Third-party VPN applications can store login details in their own settings or account vault.
These saved credentials are separate from your VPN profile’s connection details, such as its server address, VPN type, and authentication method. Removing a credential usually makes Windows ask you to sign in again; removing the whole profile deletes the connection settings too. If you are not sure which item is responsible, start with the least disruptive option: review the profile and delete only the matching credential.
Method 1: Check the VPN Connection in Settings
Start by checking whether the VPN profile has saved sign-in information. The wording and available controls can vary slightly depending on your Windows 11 version and how the connection was created.
- Open Start, select Settings, then choose Network & internet.
- Select VPN to view the connections on the device.
- Find the VPN you want to update and open its options. Select Edit if it is available.
- Review the username, password, and sign-in information. If the form lets you remove the saved password or turn off Remember my sign-in info, do so.
- Select Save if you changed the profile.
Some profiles do not let you clear a password directly, or the password field may not show what is currently saved. In that case, remove the matching entry from Credential Manager using Method 2. If you want to remove the entire Windows VPN profile, use the connection’s Remove option instead. Be aware that you may need the server address, VPN type, and other setup details to add it again.
Method 2: Remove the VPN Entry from Credential Manager
Credential Manager is the main Windows interface for reviewing saved credentials. Removing the entry associated with your VPN can stop Windows from automatically reusing an outdated password.
- Open Start and search for Credential Manager.
- Select Credential Manager in the results.
- Choose Windows Credentials. Also check Generic Credentials if you do not see the VPN entry under Windows Credentials.
- Look for an entry that clearly matches the VPN name, its server address, or the VPN provider.
- Expand the matching entry and check its details before selecting Remove.
- Confirm the removal when Windows asks.
Credential Manager can contain passwords for websites, shared folders, remote computers, and work accounts. Do not delete an entry just because its name looks unfamiliar. If you cannot confidently identify the VPN credential, leave it in place and check your VPN provider’s support instructions or ask your workplace IT team.
After removing the right entry, connect to the VPN again. Windows should prompt for a username and password if the connection needs them. Enter the current credentials, and choose whether to save them only if you want Windows to remember them on that device.
Method 3: Find and Remove a Credential with Command Prompt
If you are comfortable using a command line, the built-in cmdkey tool can list and remove saved credentials. This is useful when Credential Manager’s interface does not make the relevant entry easy to find. You usually do not need to run Command Prompt as an administrator to inspect your own saved credentials.
- Open Start, search for Command Prompt, and open it.
- Type
cmdkey /listand press Enter. - Review the listed targets and identify the one that clearly belongs to your VPN.
- To remove a confirmed target, type
cmdkey /delete:targetname, replacingtargetnamewith the exact target shown in the list. - Run
cmdkey /listagain to check whether the target is gone.
For example, if the listed target is LegacyGeneric:target=vpn.example.com, use that exact target after /delete:. Do not copy the example unless it matches an entry on your computer. Avoid commands that delete every saved credential: that could remove passwords used by other Windows features and apps.
Method 4: Clear Credentials in a Third-Party VPN App
If you connect through an app such as a commercial VPN client, Windows Settings may not control the login details. Open the VPN app and look for options such as Sign out, Log out, Forget account, or Clear saved password. The exact menu depends on the provider and app version.
After signing out, close and reopen the app, then sign in with the correct account details. If the app continues to use an old password, check Credential Manager for an entry associated with the provider. Consult the provider’s instructions before deleting application data or reinstalling the app, since those actions may remove profiles, settings, or other local information.
When Removing and Re-Adding the VPN Is Better
If a built-in Windows VPN continues to use an old sign-in after you have checked Settings and Credential Manager, removing and recreating the profile may help. This is a broader step because it deletes the connection configuration as well as the saved sign-in information.
Before removing the profile, make sure you can get the setup details again. You may need the server name or address, VPN type, sign-in method, and any required work or school configuration. If your organization supplied a setup file or instructions, keep them available. Then go to Settings > Network & internet > VPN, open the options for the connection, and select Remove. Add the connection again using the correct details.
For a work-managed device, do not remove a company VPN profile without checking with IT. The connection may be deployed by your employer, and its settings or authentication method could be managed centrally.
What to Do If Windows Still Does Not Prompt for a Password
Once you have removed the saved credential, disconnect and reconnect to the VPN. If it still signs in automatically, check whether the VPN app is signed in separately, whether another matching Credential Manager entry exists, or whether your organization’s VPN software is supplying authentication. Restarting Windows can also help refresh a connection after you make changes.
If Windows prompts you but rejects the new password, confirm that you are using the VPN password rather than assuming it is the same as your Windows sign-in password. Some organizations use a separate VPN password, a one-time code, a certificate, or a company single sign-on page. Check with the VPN provider or your IT department if you do not know which method applies.
Is It Safe to Delete VPN Credentials?
Deleting the correct saved VPN credential is generally safe, but it does not change or reset your actual VPN account password. It only removes the copy Windows or an app uses to sign in. You will need to enter valid credentials the next time you connect, and you could be unable to reconnect until you have them.
Take care to remove only entries you can identify as belonging to the VPN. Deleting unrelated credentials can affect access to network shares, work services, websites, or other applications. If the computer is shared, managed by an organization, or used for work, ask the relevant administrator before changing centrally managed VPN settings.
Conclusion
To clear VPN credentials in Windows 11, review the VPN profile in Settings > Network & internet > VPN, then check Credential Manager for a matching entry under Windows or Generic Credentials. For third-party VPNs, sign out or clear the saved login in the provider’s app too. Use cmdkey only when you can identify the exact target, and avoid deleting unrelated credentials. Once the old sign-in is removed, reconnect and enter the current VPN credentials.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.