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

    Configuring adding to an active directory domain.

    Scheduled Pinned Locked Moved Unsolved
    Windows Problems
    2
    8
    610
    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.
    • A
      azm9s
      last edited by

      Have a good time, everyone.
      Can you tell me how to configure the connection of computers to the domain after installing the image?

      it seems that I did everything according to the instructions, but when adding a computer to fog, and selecting the pointer that you need to add a computer to the domain, absolutely nothing happens.
      you can specify what is wrong with the settings (screenshots are attached)
      and where to look at the logs, what is wrong with adding to the domain, I can figure it out myself.!

      1.png 2.png

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @azm9s
        last edited by

        @azm9s These post install actions are done by the fog agent (client) software that gets installed on the golden image before image capture. Once install and started after windows is done, the FOG agent will rename the computer and then connect it to the domain.

        Do you have the fog agent installed in the golden image before image capture?

        An alternative to using the fog agent/client is to let the unattend.xml file in windows rename the computer and then connect it to active directory. Either way should work.

        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!

        A 2 Replies Last reply Reply Quote 0
        • A
          azm9s @george1421
          last edited by

          @george1421
          no, I don’t have for client installed.
          it is available in the form of software that is installed from the distribution http://fogserver/fog/client/download.php?newclient
          if this is it, then yes, I did not install it.

          should it be installed before the capture task??

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @azm9s
            last edited by

            @azm9s Yes that needs to be installed before you capture the image, because its needed for post deployment actions (if you want FOG to manage those).

            https://docs.fogproject.org/en/latest/installation/client/install-fog-client/

            You will install the fog client before capture, but make sure you disable the service before you capture it then use the windows startupcomplete.cmd file that OOBE/WinSetup runs to reenable the service and start it. The issue is if you leave the service enabled, after deployment the fog client (if left running before image capture) will start doing its thing before windows OOBE completes giving you a botched deployment because the fog client program will change the system name and then reboot it, before oobe is ready for the reboot.

            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!

            A 1 Reply Last reply Reply Quote 0
            • A
              azm9s @george1421
              last edited by

              @george1421
              Good time.
              Can you tell me if the image was created correctly?

              1. installing windows
              2. I install all applications.
              3. I set it up as I need it.
                3.1. I do NOT add a computer to the AD domain
              4. installing Forge client
                4.1. I disable the fog service in the windows settings
              5. Do I need to create an capture creation task on the site in the host settings?

              did you specify the AD domain connection settings correctly? which ones are in the first picture?

              and already when deploying the image, just specify that you need to connect to the domain?

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @azm9s
                last edited by

                @azm9s said in Configuring adding to an active directory domain.:

                Do I need to create an capture creation task on the site in the host settings?

                Just to be clear on this task. Once you have your golden image the way you want it. Use sysprep command line switches to power off the computer, or user the shutdown -s -t 0 to power off the computer. This will properly close the files for cloning. Then schedule the task for image capture in FOG and then pxe boot the target computer.

                Prior to your step file, you need to create a batch script called setupcomplete.cmd in the proper location (google it), and in that batch file use the sc command to enable and start the fog client service (this should be explained in the fog client wiki page). The setupcomplete.cmd batch file (if it exists in the correct location) will be called by OOBE/WinSetup when its all done with its bits. At this point we want the fog client to be enabled and started so the fog client can do its stuff.

                Yes on the AD stuff. You will probably want the fog client to rename the computer too, or it will go into AD with a generic system name.

                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
                • A
                  azm9s @george1421
                  last edited by

                  @george1421 said in Configuring adding to an active directory domain.:

                  Do you have the fog agent installed in the golden image before image capture?

                  Good time.
                  I’m sorry for being silent for so long, it’s such a job…

                  Yes, I installed it from the link on one of the images.
                  http://fog/fog/management/index.php?node=client
                  The “MSI – Network Installer” application - as they said, disabled the for client service. after that, I removed the system image.
                  and I installed this image on several computers.
                  but there I forgot to add it to the domain when adding the computer. today I will try to install it on one machine, I will unsubscribe in a couple of days - it worked or not.

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    azm9s @azm9s
                    last edited by

                    @azm9s
                    In general, it didn’t work.
                    it doesn’t add it to the domain, that’s all.
                    Either I did something wrong.
                    or I have configured something wrong in the settings.

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

                    192

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project