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

Join domain and rename PC

Scheduled Pinned Locked Moved Unsolved
Windows Problems
3
8
1.6k
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
    caw001
    last edited by Dec 6, 2017, 7:39 PM

    Is there any way to rename the PC and join the domain during the imaging process?

    W 1 Reply Last reply Dec 6, 2017, 8:40 PM Reply Quote 0
    • W
      Wayne Workman @caw001
      last edited by Dec 6, 2017, 8:40 PM

      @caw001 FOG by default already renames deployed Windows images during the imaging process. Renaming and joining after the imaging process is performed by the FOG Client.

      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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • C
        caw001
        last edited by Dec 6, 2017, 8:48 PM

        Correct. I understand it gives it a name, but it does not follow our naming convention. So let me rephrase the question, is there any way “customize” the name during the domain join?

        G W 2 Replies Last reply Dec 6, 2017, 8:54 PM Reply Quote 0
        • G
          george1421 Moderator @caw001
          last edited by george1421 Dec 6, 2017, 2:55 PM Dec 6, 2017, 8:54 PM

          @caw001 You would customize the name during registration by using the full registration and keying in the proper system name there.

          The other way to go about it is to not have FOG name the system, but do it in the unattend.xml file. I have a post install script calculate the system name based on several factors, then update the unattend.xml file with the proper system name. Then when the system boots it already knows its name during OOBE. I also have the unattend.xml file connect the computer to AD in the proper OU (because that has to be calculated too). The point being is there is several different ways to go about doing what you need.
          Maybe if you could provide the naming convention you use we could think of some options for you.

          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
          • W
            Wayne Workman @caw001
            last edited by Dec 7, 2017, 12:12 AM

            @caw001 said in Join domain and rename PC:

            I understand it gives it a name, but it does not follow our naming convention.

            FOG only names a computer with what you specify. You can change the name of a host in the web gui, under Host Management.

            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!
            Daily Clean Installation Results:
            https://fogtesting.fogproject.us/
            FOG Reporting:
            https://fog-external-reporting-results.fogproject.us/

            C 1 Reply Last reply Dec 7, 2017, 12:15 AM Reply Quote 0
            • C
              caw001 @Wayne Workman
              last edited by Dec 7, 2017, 12:15 AM

              @wayne-workman Ok thanks. I think we are going to find a way to do this through Powershell. We name our workstations with a combination of their asset tag #. So there is no logical way for Fog to figure that out and we really don’t want to have to go in and modify the host in between every image.
              Thank you for the suggestions.

              G 1 Reply Last reply Dec 7, 2017, 1:40 AM Reply Quote 0
              • G
                george1421 Moderator @caw001
                last edited by george1421 Dec 6, 2017, 7:41 PM Dec 7, 2017, 1:40 AM

                @caw001 said in Join domain and rename PC:

                We name our workstations with a combination of their asset tag #.

                Bull cookies (sorry its been a long day), there IS an automated way to do this as I explained.

                Our machine names are comprised of the following.
                <location==OU><device_type><dell asset tag>
                <location> is based on where the image is deployed at
                <device_type> is a composite based on the hardware type (D,L,T)
                <dell_asset_tag> is the 7 digit code read from the hardware during deployment.
                All of that is concatenated and pumped into the unattend.xml file.

                ref: https://forums.fogproject.org/topic/7740/the-magical-mystical-fog-post-download-script/7

                If you wanted you can even call the FOG api and rename the host in FOG during image deployment (I say in theory since I have not done it, but it should be possible). Wayne may know a way how to call the API to rename a host.

                The other solution is the manual approach.
                During system full registration you key in the prefix, for example if your system will be in New York and its a Desktop we would key in USNYD and then take a USB bar code reader and ‘zap’ the asset number barcode on all Dell computers.

                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 0
                • W
                  Wayne Workman
                  last edited by Dec 7, 2017, 2:03 AM

                  you could use powershell & the api to rename everything, but it’d probably be easier to just import all the correct host data as a CSV file.

                  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!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

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

                  154

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project