ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Windows 10 Workstation Cannot Be Accessed via RDP with Other User Error

    IT Discussion
    windows windows 10 active directory rdp windows server 2019
    4
    8
    757
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      Local logins work (maybe cache?), and remote logins to the console work (e.g. MeshCentral), but if we attempt to connect via RDP to this Windows 10 workstation we get the error "Other User The Security Database on the server does not have a computer account for this workstation trust relationship."

      Screenshot 2023-01-30 at 5.47.45 PM.png

      The AD server is Windows Server 2019 Standard. Both systems are fully patched.

      The user being tested in this case is the domain admin, the same one logged in on the domain controller.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        In PowerShell...

        PS C:\Users\administrator> Test-ComputerSecureChannel -Credential (Get-Credential) -Verbose
        
        VERBOSE: Performing the operation "Test-ComputerSecureChannel" on target "MrRebarVM1".
        False
        VERBOSE: The secure channel between the local computer and the domain ad.redacted.com is broken.
        
        PS C:\Users\administrator> Test-ComputerSecureChannel -Credential (Get-Credential) -Verbose -Repair
        
        VERBOSE: Performing the operation "Test-ComputerSecureChannel" on target "MrRebarVM1".
        Test-ComputerSecureChannel : Cannot find the computer account for the local computer in the domain
        ad.redacted.com.
        At line:1 char:1
        + Test-ComputerSecureChannel -Credential (Get-Credential) -Verbose -Rep ...
        + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
            + CategoryInfo          : OperationStopped: (MrRebarVM1:String) [Test-ComputerSecureChannel], InvalidOperationExce
           ption
            + FullyQualifiedErrorId : CannotFindMachineAccount,Microsoft.PowerShell.Commands.TestComputerSecureChannelCommand
        
        1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller
          last edited by

          Okay, discovered that the computer does not have an account on the domain controller, at all. Yet the computer thinks that it is a member of the domain. Pretty fishy.

          gjacobseG 1 Reply Last reply Reply Quote 1
          • FredtxF
            Fredtx
            last edited by

            I would unjoin and rejoin to the domain. Be sure to reset the the password for local administrator before unjoining. I would also make sure the NIC is only looking at an internal DNS server for DNS. Not sure what happened with the computer account, but possibly it was deleted at some point.

            scottalanmillerS 1 Reply Last reply Reply Quote 2
            • scottalanmillerS
              scottalanmiller @Fredtx
              last edited by

              @Fredtx said in Windows 10 Workstation Cannot Be Accessed via RDP with Other User Error:

              I would unjoin and rejoin to the domain. Be sure to reset the the password for local administrator before unjoining. I would also make sure the NIC is only looking at an internal DNS server for DNS. Not sure what happened with the computer account, but possibly it was deleted at some point.

              Yup, just did and it worked. We never had the local admin, but with our tools we can make a new one which we did, no issues 🙂

              gjacobseG 1 Reply Last reply Reply Quote 3
              • gjacobseG
                gjacobse @scottalanmiller
                last edited by

                @scottalanmiller said in Windows 10 Workstation Cannot Be Accessed via RDP with Other User Error:

                Okay, discovered that the computer does not have an account on the domain controller, at all. Yet the computer thinks that it is a member of the domain. Pretty fishy.

                We would see this at the clinic where a computer (laptop) was taken home, or forgotten in a drawer and left unused for months. Policies, scripts or attrition, the computer would fall off the domain.

                While it COULD be rejoined, I’d image it as a precaution…. And ‘lesson’ to the end user.

                1 Reply Last reply Reply Quote 0
                • gjacobseG
                  gjacobse @scottalanmiller
                  last edited by

                  @scottalanmiller said in Windows 10 Workstation Cannot Be Accessed via RDP with Other User Error:

                  @Fredtx said in Windows 10 Workstation Cannot Be Accessed via RDP with Other User Error:

                  I would unjoin and rejoin to the domain. Be sure to reset the the password for local administrator before unjoining. I would also make sure the NIC is only looking at an internal DNS server for DNS. Not sure what happened with the computer account, but possibly it was deleted at some point.

                  Yup, just did and it worked. We never had the local admin, but with our tools we can make a new one which we did, no issues 🙂

                  Yup,.. fun ability. Did that with a pc or three,… kept the same CMD syntax for several computers… of course the remote agent has to work, be connected AND allow for CMD..

                  1 Reply Last reply Reply Quote 0
                  • J
                    JasGot
                    last edited by

                    We find that if we rename the PC, then allow more than a day to go by before restarting, this can happen.

                    Also, if we rename a PC, then the user allows the PC to go into Lock mode (screen saver timeout with login required to return) they will encounter this upon wake up/re-logon.

                    In the above two cases a reboot usually resolves it, when it doesn't, we go in as local admin and disjoin then rejoin the domain to resolve it.

                    Also, in the above two cases, we did not lose the computer in active directory, so after the disjoin/rejoin you'd want to remove the orphan computer from AD.

                    There's an article online somewhere about why you should NOT disjoin and rejoin the domain in this case, but we have always done it this way and have never experienced ill effects.

                    1 Reply Last reply Reply Quote 1
                    • 1 / 1
                    • First post
                      Last post