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
-
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:
- Run FOGCrypt on a windows machine to encrypt your password.
- When you install the FOG client, make sure to enable the hostnamechanger portion
- Enable the hostname changer portion on the FOG settings of the server.
- 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
- 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.
-
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.
-
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
-
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 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 .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]
-
Hi,
i have a Problem with joining to the Domain.
Software:
FOG 1.2.0
Clients Win7pro x64
Win2008 ServerThe 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.- Run FOGCrypt on a windows machine to encrypt your password.
OK - When you install the FOG client, make sure to enable the hostnamechanger portion
OK - Enable the hostname changer portion on the FOG settings of the server.
OK - 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? - 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 - Run FOGCrypt on a windows machine to encrypt your password.
-
Could you upload c:\fog.log on a machine that isn’t joining the domain?
-
Change the username field to be Only Username, not Domain\Username
-
thanks i got it, change the FOG Service start from automatic to automatic delayed…
thats it…