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

Auto join domain after deployment, without fogclient?

Scheduled Pinned Locked Moved
Windows Problems
3
4
418
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.
  • C
    chenguy
    last edited by chenguy May 12, 2020, 11:25 AM May 12, 2020, 5:21 PM

    Hi all, I have computers being auto renamed based on the host name from doing the full registration step, but was wondering if I could have it auto join a domain as well without having the fogclient installed on the image?

    If i went to the host management edit and filed in the info under Active Directory, would that actually work?

    Otherwise, since I am not using unattend file, is my other option creating a powershell script do join domain on boot?

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by May 12, 2020, 5:45 PM

      @chenguy The rename feature that works without the fog-client does some “magic” on the registry files after deploying the image to the target disk. Name change is possible this way. But for domain join you really need the OS to boot and talk to the domain controller. There is no way to do this as a post-task after imaging. So yes, you might be able to come up with a powershell script that runs on first boot and then deletes itself (or checks if it’s joined already on subsequent boot ups).

      I am moving this to windows problems as this is nothing FOG can help you with if you don’t want to use the fog-client software.

      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
      • C
        chenguy
        last edited by May 12, 2020, 8:48 PM

        ok thank you, was wondering how fog handled the computer name

        will look into powershell script to handle the domain join

        G 1 Reply Last reply May 12, 2020, 9:49 PM Reply Quote 0
        • G
          george1421 Moderator @chenguy
          last edited by george1421 May 12, 2020, 3:50 PM May 12, 2020, 9:49 PM

          @chenguy I guess I would have to ask why are you not using an unattend.xml file?

          At my company we don’t use the FOG client to manage the computers post imaging so that means FOG is not renaming the computer, connecting it to AD, or placing it in the correct OU. My environment is a bit complex so the hostname and AD OU location is calculated during imaging with the results updated in the unattend.xml file before FOG releases the computer and the target computer is rebooted. This is done before OOBE/WinSetup starts for the first time. Using this approach you can use the load and go method of image deployment where you don’t register the computer with FOG and FOG will forget about the computer once imaged. Understand using this method without the FOG client there is no post imaging management included including snapin deployment. We have other tools for that.

          Using the unattend.xml file alone we can select the desired keyboard layout, computer name, connect to AD, etc.

          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!

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

          218

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project