IT: Troubleshooting Trust Relation| PC Fell Off Domain (Using Powershell)

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

ความคิดเห็น • 56

  • @YTCZJ
    @YTCZJ 3 ปีที่แล้ว +14

    Thanks for the video.
    I would recommend a different approach without removing the computer from the domain and then rejoin.
    1. Log into the computer with local account with local administrator privileges (use the dot syntax to avoid same name as in domain .\LocalAdminAcc)
    2. Open Powershell (I think it must be 3.0 or higher, not sure) with local admin privileges.
    3. Type: "Test-ComputerSecureChannel -Repair -Credential Domain\user". You must enter the domain account with relevant rights.
    4. When result of the command above is True, restart the computer and try to log in as normally. When it is False, try to run the command again and restart.

    • @KevtechITSupport
      @KevtechITSupport  3 ปีที่แล้ว +6

      cool, thanks for sharing. I always welcome different methods. I try to make it as simple as possible for someone brand new starting out.

    • @fredleetee
      @fredleetee 3 ปีที่แล้ว +2

      Nice method! I believe you will use the '-repair' option if your result is false.

    • @DiptoTech365
      @DiptoTech365 ปีที่แล้ว

      I have facing this problem on multiple client computer. I have tested secure channel between my dc and client and result is true. So how to solve it?

    • @TitoMPG
      @TitoMPG ปีที่แล้ว

      hey when ive "Test-ComputerSecureChannel -Repair -Credential Domain\user", it doesnt fix it, any idea where to go further ideas into repairing? group policy? ive turned off group policy and wiped all group policy from the machines and DC to see.

    • @YTCZJ
      @YTCZJ ปีที่แล้ว

      @@TitoMPG Try to delete the Computer object in AD and create it manually. (Backup important data like BitLocker keys etc.)

  • @TechEverything888
    @TechEverything888 2 ปีที่แล้ว +1

    Love it as usual, Short videos like these are so simple but so beneficial keep it up Kev!

  • @pabloverano5602
    @pabloverano5602 3 ปีที่แล้ว +1

    You looking real good using PowerShell - keep up the good work!

  • @professorsteeze9300
    @professorsteeze9300 11 หลายเดือนก่อน +1

    Extremely helpful video! Thank you so much for going slow and making sure you were clear with everything!

  • @fredleetee
    @fredleetee 3 ปีที่แล้ว +1

    Thanks for the great information! Glad to have learned another PowerShell skill

  • @jaystechstuff5720
    @jaystechstuff5720 3 ปีที่แล้ว +1

    Nice Video Kev, quick question does this have any affect on a PC that is running Bitlocker?
    Does the bitlocker passcode change in AD or does it stay the same once it has rejoined the domain?

  • @xdptwin1
    @xdptwin1 3 ปีที่แล้ว +4

    Nice video! Rejoining workstations in our enviroment is tricky because our computers are Hybrid joined with AAD. If we remove the computer from AD it also gets stuck in SCCM :/

    • @KevtechITSupport
      @KevtechITSupport  3 ปีที่แล้ว +2

      Thank you. Yea, it depends on the job environment. Sometimes you may have a sync issue with the domain controller. Hybrid can be both good and bad.

    • @xdptwin1
      @xdptwin1 3 ปีที่แล้ว +2

      @@KevtechITSupport it gives me so much troubles… I hate having to bug the admins about a PC stuck in AAD or SCCM but they won’t give us permissions to remove it from AAD or SCCM

    • @KevtechITSupport
      @KevtechITSupport  3 ปีที่แล้ว

      Yeah, it's like that with some companies unfortunately.

  • @gedionkalwisha9244
    @gedionkalwisha9244 ปีที่แล้ว

    Hi Kev, love your staff,please let me know if you have done any videos on Radius installation and troubleshooting

  • @MrSuperProoo
    @MrSuperProoo 3 ปีที่แล้ว +1

    could all of this also be done directly from AD? Removing the PC there and rejoining him?

    • @KevtechITSupport
      @KevtechITSupport  3 ปีที่แล้ว

      Sometimes that works but not all the time. That's why I said in the video reset pc. If the pc listed there, you can reset it and that let's them login sometimes.

    • @MrSuperProoo
      @MrSuperProoo 3 ปีที่แล้ว +3

      @@KevtechITSupport thanks a lot, your videos are a goldmine for beginners in Helpdesk.

    • @johnathanabaya7574
      @johnathanabaya7574 ปีที่แล้ว

      YOu could probably check to see if the computer is enabled in your ADUC and if its disabled re-enable.

  • @arthurbello3795
    @arthurbello3795 3 ปีที่แล้ว +1

    Great Job!!! Thx

  • @LukatheDoodle
    @LukatheDoodle 3 ปีที่แล้ว

    Can someone please help me with this question!thank you 😩
    Your platform says I have to close my SSH port, but we use it for doing maintenance on our site. How can I get rid of the risk?

    • @KevtechITSupport
      @KevtechITSupport  3 ปีที่แล้ว

      Are you asking me or is this a question in your job? You need to talk to your manager and team.

    • @LukatheDoodle
      @LukatheDoodle 3 ปีที่แล้ว

      @@KevtechITSupport no it’s for an interview assessment :/ I already have some answers just don’t want to submit it and I miss something

  • @DiptoTech365
    @DiptoTech365 ปีที่แล้ว

    I have facing this problem on multiple client computer. How to solve it?

    • @KevtechITSupport
      @KevtechITSupport  ปีที่แล้ว

      you should come to discord if you need help.

    • @johnathanabaya7574
      @johnathanabaya7574 ปีที่แล้ว +1

      deploy a PS script with what deployment software your company uses.

  • @SonicBoomC98
    @SonicBoomC98 2 ปีที่แล้ว +1

    What if the "smart" people who run the company you work for have decided they want to use a system that regularly changes the local admin password?

    • @KevtechITSupport
      @KevtechITSupport  2 ปีที่แล้ว

      You can do that. Every company has their own way of doing things.

  • @zzzzzz...9902
    @zzzzzz...9902 2 ปีที่แล้ว

    What if you don't have the local admin password and you use hybrid set up in your company?

    • @KevtechITSupport
      @KevtechITSupport  2 ปีที่แล้ว +1

      You need to know the local admin password. Otherwise your pretty much stuck on rebuilding the pc.

    • @zzzzzz...9902
      @zzzzzz...9902 2 ปีที่แล้ว

      @@KevtechITSupport What about the issue of security database on the server does not have a computer account for this workstation trust relationship?

    • @KevtechITSupport
      @KevtechITSupport  2 ปีที่แล้ว +1

      @@zzzzzz...9902 you can't do much like I said. You can only reset domain pc on active directory, reset pc, or create another local account on the pc using windows hiren boot cd if the company allows it.

    • @zzzzzz...9902
      @zzzzzz...9902 2 ปีที่แล้ว

      @@KevtechITSupport Oh there the same error essentially but different in wording, got it.

    • @zzzzzz...9902
      @zzzzzz...9902 2 ปีที่แล้ว

      @@KevtechITSupport Thanks for the responses

  • @olonzo2505
    @olonzo2505 2 ปีที่แล้ว +2

    👐👐👐

  • @jaylordjl6337
    @jaylordjl6337 3 ปีที่แล้ว +1

    Thanks boss

  • @avelinoGonzales
    @avelinoGonzales 3 ปีที่แล้ว +1

    Another way is just type 'pc name' in the search box. Click view pc name, and on the right click rename this PC (advanced). Less steps, a little faster.

    • @KevtechITSupport
      @KevtechITSupport  3 ปีที่แล้ว +1

      I done that before in other videos. I'm trying to show folks new stuff. Thanks for sharing though. Since people are asking for powershell.

  • @akademijaway7617
    @akademijaway7617 3 ปีที่แล้ว +1

    Thanks

  • @aryub5851
    @aryub5851 3 ปีที่แล้ว +1

    I usually solve this issue just by connecting the laptop to the ethernet cable and boom. Because i have physical access to user devices at my work.

    • @KevtechITSupport
      @KevtechITSupport  3 ปีที่แล้ว +1

      This scenario is more for a laptop working remotely or a workstation in the office

  • @brentondion5706
    @brentondion5706 3 ปีที่แล้ว +1

    I see this issue at least a couple times a month.

  • @ysidrovasquez4591
    @ysidrovasquez4591 ปีที่แล้ว

    that ways is easy to do, what about if you do not have the administrator of the PC😂

    • @KevtechITSupport
      @KevtechITSupport  ปีที่แล้ว

      You use hiren to change the password or get access to admin account.