Share via

How do I execute "Test-ComputerSecureChannel"

David 0 Reputation points
2024-09-12T12:57:59.9466667+00:00

Device: Surface - Windows 8 Pro

OS: Windows 11

Note: I am not logged into the computer (that is kind of the problem). I am running command prompt from the Windows recovery environment which only gives me access to x:\

I believe i am trying to run a Powershell command from Command Prompt.

Question: What syntax do use to run a the Powershell command "Test-ComputerSecureChannel" from X:\Windows\System32?

Do I need to execute from X:\Windows\System32\WindowsPowerShell>?

This is all in effort to solve the "trust-relationship-between-this-workstation-and-primary-domain-failed" message.

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-09-13T08:24:18.9666667+00:00

    Hello David,

    Thank you for posting in Q&A forum.

    Please try the steps below.

    1. Once you are in WinRE, navigate to the "Troubleshoot" option, then select "Advanced Options," and finally choose "Command Prompt." This will open a Command Prompt window.
    2. the Command Prompt window, type powershell and press Enter. This will launch a PowerShell session within the recovery environment.
    3. Now, you can run the Test-ComputerSecureChannel command.

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Was this answer helpful?


  2. Anonymous
    2024-09-13T07:46:35.8533333+00:00

    Hello David,

    Thank you for posting in Q&A forum.

    1. Once you are in WinRE, navigate to the "Troubleshoot" option, then select "Advanced Options," and finally choose "Command Prompt." This will open a Command Prompt window.
    2. the Command Prompt window, type powershell and press Enter. This will launch a PowerShell session within the recovery environment.
    3. Now, you can run the Test-ComputerSecureChannel command.

    I hope the information above is helpful.

    If you have any questions or concerns, please feel free to let us know.

    Best Regards,

    Daisy Zhou

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.