Forum Discussion

nlmartz1914's avatar
nlmartz1914
Copper Contributor
Jul 16, 2025

Sql Server Credential Manager

I am trying to add a new domain login to Credential Manager in Windows 11.

I have no problem adding a Sql Server credential such as myserver.internal.company.com

But if I try adding a named server such as myserver\instancename.internal.company.com I cannot add it. I have also tried 192.168.0.1\instancename, still cannot add.

 

How do I add a named instance int Credential Manager?  I cannot seem to find any help on this via a web search.

 

I can use runas netonly, no problem, but I would like to use Credential Manager.

 

Thank you for any help.

1 Reply

  • Hi nlmartz1914​ 

    Windows Credential Manager doesn’t support backslashes, so you can’t add SQL Server named instances like server\instance. A workaround is to create a SQL alias (like myalias) for the instance using SQL Server Configuration Manager, then add that alias to Credential Manager. Or just keep using runas netonly still works fine.

    https://support.microsoft.com/en-us/windows/credential-manager-in-windows-1b5c916a-6a16-889f-8581-fc16e8165ac0 

    Thank you, 

Resources