• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

PC domain join gets trust relationship

Scheduled Pinned Locked Moved Solved
FOG Problems
2
4
611
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.
  • V
    vince.villarreal
    last edited by Jul 2, 2018, 7:10 PM

    I created a UEFI image for a dell 5490. To create the image, i had to temporarily join the system to the domain to get some install files. When I was done, I deleted the computer from SCCM and AD, an unjoined the PC from the domain. (yes 100% sure unjoined from domain)

    After I did that I logged into the local account, downloaded fog service from my server, and did a CMD shutdown -s -t 0 -f.

    Then captured the PC.

    It seems like I was able to get a few computers to join a domain in the beginning, but now each one under “This PC” properties, it will show as if it is connected to my domain. When I look in AD, the PC is not there. Obviously if I log into the PC with a domain user, I get a trust relationship error.

    I also tried adding a snapin that is a powershell script to join a PC to our domain. That also throws out a trust relationship problem.

    What do you think could be the culprit? some computers did work during the beginning and now it is failing.

    When I image and select NO to join domain, it will image just fine and skip the domain join process. Then from there I can join the domain, restart, and be done.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jul 2, 2018, 7:15 PM

      It almost sounds as if the fog client joined the machine back to the domain before you were able to do the full shutdown. So, while you may have done the work initially to “… unjoined from the domain”, when you installed the client it likely ran and connected the machine again. Just thinking this is the case. It’s also what seems like the easiest answer as to why this occurred in the first place.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      V 1 Reply Last reply Jul 2, 2018, 7:36 PM Reply Quote 0
      • V
        vince.villarreal @Tom Elliott
        last edited by Jul 2, 2018, 7:36 PM

        @tom-elliott So recapture the image? Does this sound like it will work (listing steps below)?

        1. image a 5490 without join domain.
        2. go INTO fog and delete the host first while computer is still on.
        3. open cmd, do a shutdown -s -t 0 -f
        4. Full host registration
        5. capture

        You think those steps above should work?

        T 1 Reply Last reply Jul 2, 2018, 7:41 PM Reply Quote 0
        • T
          Tom Elliott @vince.villarreal
          last edited by Jul 2, 2018, 7:41 PM

          @vince-villarreal If your image contains the FOG Client, which is sounds like it does, simply disable the service, disjoin the domain, capture the image. In terms of SYSPREP, you would have your setupcomplete.cmd set to enable the fog service as the last thing it does. Then you can start the service or restart the machine.

          So basic steps:

          1. Create your layout of software/OS, etc…
          2. If machine is to be constant master image maker machine, don’t allow it to join the domain (can be setup in the GUI under Hosts->Edit->Active directory->Join Domain)
          3. Install FOG Client.
            # If sysprepping
          4. Disable fog client service.
          5. Sysprep Machine.
          6. Fully shutdown machine.
            # End sysprep steps
          7. Capture image.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

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

          224

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project