Credentials Not Work

Last updated: 2020-03-06 12:20:05

    Issue Description

    The following error message appears when trying to log in to a Windows CVM remotely via RDP protocol, such as using MSTSC.
    Your credentials did not work. The credentials that were used to connect to XXX.XXX.XXX.XXX did not work. Please enter new credentials.

    Instructions

    These instructions use Windows Server 2012 as an example. Different versions of Windows might have slightly different instructions.
    Follow these instructions carefully and try to connect to your Windows CVM after each step. If one did not work, proceed to the next.

    Step 1: Modify Network Access Policy

    1. Log in to the Windows instance using VNC.
    2. Once logged in, click to open a Windows PowerShell window.
    3. In the Windows PowerShell window, enter gpedit.msc and press Enter to open the Local Group Policy Editor.
    4. Use the navigation pane on the left to navigate to Computer Configuration > Windows Settings > Computer Settings > Security Options.
    5. Locate and open Network access: Sharing and security model for local accounts under Security Options, as shown in the following image:
    6. Select Classic - local users authenticate as themselves and click OK, as shown in the following image:
    7. Check whether you can connect to your Windows CVM now.
      • Yes. Problem solved.
      • No. Proceed to Step 2 Modify Credentials Delegation

    Step 2: Modify Credentials Delegation

    1. Open Local Group Policy Editor. In the left navigation pane, navigate to Computer Configuration > Administrative Templates > System > Credentials Delegation.
    2. Locate and open Allow delegating saved credentials with NTLM-only server authentication under Credentials Delegation, as shown in the following image:
    3. Select Enable. Click Show… under Options and enter TERMSRV/*. Click OK, as shown in the following image:
    4. Click OK.
    5. Click to open a Windows PowerShell window.
    6. In the Windows Powershell window, enter gpupdate /force and press Enter to update group policy, as shown in the following image:
    7. Check whether you can connect to your Windows CVM now.
      • Yes. Problem solved.
      • No. Proceed to Step 3 Configure Local Credentials

    Step 3: Configure Local Credentials

    1. Click and navigate to Control panel > Users and accounts. Select Manage Windows credentials under Credential manager. The Windows credential window then appears, as shown in the following image:
    2. Check to see if there is an entry for the credentials you used to log in to Windows CVM.
      • No. Follow the next step to add it.
      • Yes. Proceed to Step 4 Turn Off Password Protected Sharing
    3. Click Add Windows credentials. The Add Windows credentials window then appears, as shown in the following image:
    4. Input the IP of the CVM, the username you use to log in to the Windows CVM and the corresponding password. Click OK.
    5. Check whether you can connect to your Windows CVM now.
      • Yes. Problem solved.
      • No. Proceed to Step 4 Turn Off Password Protected Sharing

    Step 4: Turn off password protected sharing

    1. From Desktop, click and navigate to Control panel > Network and sharing center > Change advanced sharing settings. The Change advanced sharing settings page then appears, as shown in the following image:
    2. Expand All networks and select Turn off password protected sharing under Password protected sharing. Click Save changes.
    3. Check whether you can connect to your Windows CVM now.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help