Join Domain after re-image



  • We had an engineer setup our FOG server with his domain credentials to add hosts to the domain after re-image. He no longer is working with us. Is there a way, other than re-registering each machine on campus, to update the credentials used to add a host to the domain? Or do we have to re-register each host?

    Thanks for the help!

    Justin



  • thanks i got it, change the FOG Service start from automatic to automatic delayed…
    thats it…


  • Senior Developer

    Change the username field to be Only Username, not Domain\Username


  • Senior Developer

    Could you upload c:\fog.log on a machine that isn’t joining the domain?



  • Hi,
    i have a Problem with joining to the Domain.
    Software:
    FOG 1.2.0
    Clients Win7pro x64
    Win2008 Server

    The first Time i deployed the hosts, hostname changer changes the names and put it into the Domain.

    Now i did an Software Update, took it out of the Domain and syspreped one host and uploaded it.
    After deploying, FOG changes the Names but no join to the Domain.

    1. Run FOGCrypt on a windows machine to encrypt your password.
      OK
    2. When you install the FOG client, make sure to enable the hostnamechanger portion
      OK
    3. Enable the hostname changer portion on the FOG settings of the server.
      OK
    4. Input the AD join information in the FOG settings. I use domain\username for the username. Password is the encrypted password from step 1. Domain is the FQDN of the domain, like my.domain.com
      No i put the information in the Group to put it in the hosts screen, not in the FOG settings.
      And only the username without domain becouse of FOG 1.2.0
      (I tested both, nothing worked)
      Why not the Domain Admin? Only for security reasons or is there another thing?
    5. Make sure the hosts are setup to join AD in the Active Directory menu item on the hosts screen.
      OK

    If i do it in Systemsettings it works.
    How can i check what went wrong?
    When does FOG changes the name, only after deploying or whenever the name is changed?
    can i tell FOG to change the Name and to join into the Domain, or make a task?

    Thanks
    Sven



  • Hello guys!

    I woul like to say thank you! All of you help me.:) I finished my project. That’s why I’m sharing my answer file in attached file. It ask only the name of the computer. It create a user named fog, but i forgot the password :confused:.You must change this.
    I advice you to use the
    [SIZE=4][B][FONT=arial][COLOR=#222222][SIZE=4][URL=‘http://technet.microsoft.com/en-us/windows/how-do-i-create-unattended-answer-files-using-windows-system-image-manager.aspx’][COLOR=#1122cc][COLOR=#1122cc] [/COLOR][B][COLOR=#1122cc]Windows System Image[/COLOR][/B][/COLOR][/URL] to control if the file is ok.[/SIZE][/COLOR][/FONT][/B][/SIZE]

    Thanks for everything!

    [url="/_imported_xf_attachments/0/336_unattend.txt?:"]unattend.txt[/url]



  • unattended.xml should not be required for the FOG system (I think).

    If you want to join the domain during the sysprep process, then yes, you will need to set up an unattended.xml file and use sysprep (not necessary for Windows 7, but can still be beneficial).



  • Hello chad,

    Nice to meet you.

    I did 5 step then you told us. Do i have to put a unattended.xml into c:\windows\system32\sysprep\unattended.xml

    Something doesn’t work, i don’t know what.

    I will try tomorrow again and i come back

    Bye


  • Moderator

    If you need to change the user account used to join computers to the domain just run the new user account through FOGCrypt and update the username and password values in the FOG settings. The client does not keep the information about what account was used to join the computer to the domain.


  • Developer

    Fog will register the Host with the AD if you enable the ability.

    Windows 7 joins to the domain without requiring netdom.

    I image windows 7 pro 32 and 64 bit using sysprep. I do not use Fogprep, as it’s not required with Windows 7 and FOG 0.32.

    These are the steps I used to get it working:

    1. Run FOGCrypt on a windows machine to encrypt your password.
    2. When you install the FOG client, make sure to enable the hostnamechanger portion
    3. Enable the hostname changer portion on the FOG settings of the server.
    4. Input the AD join information in the FOG settings. I use domain\username for the username. Password is the encrypted password from step 1. Domain is the FQDN of the domain, like my.domain.com
    5. Make sure the hosts are setup to join AD in the Active Directory menu item on the hosts screen.

    After you do this, image a client. It should boot to windows, rename, reboot, join domain, and reboot. I do not use FOG to put client into a specific OU, just the default Computers (which you can redirect I hear, but have no experience). After computers join the domain, I put the computers into specific OU’s and groups for policy and management.

    from chad on

    [url]http://fogproject.org/forum/threads/adding-imaged-host-to-domain-and-renaming.4313/[/url]

    Make sure the user that you use has delegated control to join/delete computers on the domain. Hopefully your not using the Domain Admin account. We use Domain\user for the username too or else there is an error.

    There are AD settings in the Other Information -> Fog Settings page. There is a setting on the same page to globally enable the host name changer service globally, but it is a duplicate of the FOG Configuration -> Host Name Changer option. In the FOGClient config on the host, you can also enable/disable the host name changer service.


Log in to reply
 

473
Online

39183
Users

10831
Topics

103117
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.