Ho to fix VD to not asking for password when debuging

Gherca,Marius 0 Reputation points

Hi there,
I'm asked everytime when I start debuging or publishing to enter my Windows password, it's very enoying.

Can you help, I tried already this:

  • modified this file applicationhost.config:
  • <section name="windowsAuthentication" overrideModeDefault="Allow" />.
  • <security><authentication><windowsAuthentication> put in this order NTLM, Negotiate.
  • save applicationhost.config.
  • restart VS
    Same problem after restarting VS.

Thx for your help.

Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
875 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 20,011 Reputation points Microsoft Vendor

    Hi @Gherca,Marius, 

    Welcome to Microsoft Q&A! 

    Please go to Control Panel > User Accounts > Credential Manager > Windows Credentials > remove the relevant credentials.

    Then, restart VS and check it again. 

    Besides, you can go to Visual Studio's Options dialog (Tools > Options…) > EnvironmentAccounts tab > select System web browser from the Add and reauthenticate accounts using: dropdown. 



    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.