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

Adding Imaged Host to Domain and Renaming

Scheduled Pinned Locked Moved
FOG Problems
5
23
15.4k
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.
  • K
    Kamz87
    last edited by May 16, 2013, 9:34 AM

    Hi Guys,

    Just a bit of background. I have been given a project to roll out Win 7 to our XP machines in 2 offices without spending much money lol. So I came across Fog, and glad I did. Great bit of kit and very thankful for everyone that made it possible.

    Firstly I have built my Windows 7 Machine that I want to take the image from, taken the image and even deployed it on one other PC. All good except for a couple of things.

    1 - How do I get it to join domain? (yes I have done the FogCrypt majiggy and added it in etc still no luck when I image the PC)

    2 - How do I know Fogprep is working? Is there a log somewhere I can read etc. What alternative do I have if Fogprep isn’t working? I have tried sysprep with a custom unattend.xml but I have no idea what I am doing and it screwed up the last time I tried it. Kept telling me Windows hasn’t installed properly must restart and keeps looping.
    I have 2 images one is 32 bit and 1 64bit. I am currently testing the 32bit. Does anyone have a working unattend file?

    Kam

    P.S: only thing left is for my PCs to join domain and re-naming the PCs

    1 Reply Last reply Reply Quote 0
    • C
      ChrisG
      last edited by May 16, 2013, 1:25 PM

      1 - Have you tried adding netdom to the machine? That is what the FOG Service uses to join the machine to the domain and rename it.
      2 - I will attach my xml to this post. This is actually the one I use for 64 bit as we are all 64 bit. It can easily be adjusted. You will also need to change the extension to .xml from .txt. I couldn’t upload a xml. We do not use fogprep on windows 7 images at all.

      [url=“/_imported_xf_attachments/0/315_unattended.txt?:”]unattended.txt[/url]

      1 Reply Last reply Reply Quote 0
      • K
        Kamz87
        last edited by May 16, 2013, 1:27 PM

        Thank you soooo much for the response. Have been going crazy this whole week looking for a solution.

        Going to sound really stupid here…Netdom???

        1 Reply Last reply Reply Quote 0
        • C
          ChrisG
          last edited by May 16, 2013, 1:30 PM

          This is a simple windows file that is used via the command line to join the domain and change the name. I copy mine to c:, c:\windows, and c:\windows\system32 You also have the fog service installed right? If so, You will need to restart the service for it to try again.

          [url=“/_imported_xf_attachments/0/316_NetDom.zip?:”]NetDom.zip[/url]

          1 Reply Last reply Reply Quote 0
          • K
            Kamz87
            last edited by May 16, 2013, 1:57 PM

            Ok sorry just slightly confused. Where do I find this Netdom file?

            yes I have fog service installed.

            1 Reply Last reply Reply Quote 0
            • C
              ChrisG
              last edited by May 16, 2013, 1:58 PM

              I attached a zip file with it inside to my last post

              1 Reply Last reply Reply Quote 0
              • K
                Kamz87
                last edited by May 16, 2013, 1:59 PM

                So sorry I completely ignored that! Thank you sooo much for this. Will let you know how I get on.

                1 Reply Last reply Reply Quote 0
                • C
                  ChrisG
                  last edited by May 16, 2013, 2:00 PM

                  Any time man. I know how much work it is starting out and getting used to some of the quarks.

                  1 Reply Last reply Reply Quote 0
                  • C
                    chad-bisd Moderator
                    last edited by May 16, 2013, 11:05 PM

                    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.


                    If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                    1 Reply Last reply Reply Quote 0
                    • C
                      ChrisG
                      last edited by May 17, 2013, 1:23 PM

                      You must do something different chad. We cannot successfully join the domain without netdom. It gives a trust relationship everytime.

                      1 Reply Last reply Reply Quote 0
                      • R
                        Raff
                        last edited by May 17, 2013, 1:34 PM

                        No need for netdom, 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.

                        1 Reply Last reply Reply Quote 0
                        • C
                          ChrisG
                          last edited by May 17, 2013, 1:37 PM

                          That may be the issue. Our AD domain was setup before I arrived here. He may have removed those rights. I’ll look into it.

                          Thanks!

                          1 Reply Last reply Reply Quote 0
                          • C
                            chad-bisd Moderator
                            last edited by May 17, 2013, 2:10 PM

                            What is your forest and domain functional levels? We are at 2003 on both.


                            If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                            1 Reply Last reply Reply Quote 0
                            • C
                              ChrisG
                              last edited by May 17, 2013, 2:11 PM

                              2008 R2

                              1 Reply Last reply Reply Quote 0
                              • C
                                chad-bisd Moderator
                                last edited by May 17, 2013, 2:14 PM

                                I have not added netdom to windows 7 and the wiki documentation says this is not required as of FOG 0.28. I use the basic FOG client from 0.32 and Windows 7 professional and it joins our domain.


                                If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                                1 Reply Last reply Reply Quote 0
                                • R
                                  Raff
                                  last edited by May 17, 2013, 2:21 PM

                                  2008 R2 and FOG 0.29 here

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    Kamz87
                                    last edited by May 20, 2013, 10:39 AM

                                    So If I am using Win 7 and Fog 0.32 I don’t need to use FOGPrep? Just Sysprep and upload image?

                                    Interesting, because that was the first thing I tried but it didn’t work. Will double check everything and try again.

                                    1 Reply Last reply Reply Quote 0
                                    • K
                                      Kamz87
                                      last edited by May 20, 2013, 1:09 PM

                                      Just to clarify where is the AD join information in 0.32? I can see the Join domain after image option when I go to hosts, is there another AD option?

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        chad-bisd Moderator
                                        last edited by May 20, 2013, 1:31 PM

                                        I do not use FOGPrep in 0.32/Windows 7. I also do not strictly use sysprep unless I’m trying to solve a windows problem, as FOG can image fine without it if you are using similar hardware for all hosts sharing an image. However, I do not ever use the resizable image type. I always choose Multiple Partitions - Single Disk when I create images for my laptops and desktops that are running Windows 7 and only have 1 disk to image.

                                        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 would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          Kamz87
                                          last edited by May 22, 2013, 10:40 AM

                                          Hi Chad,

                                          I have tried the approach you suggested, no fogprep or sysprep. After imaging the PC it JOINED THE DOMAIN!

                                          Thank you so much for that the only problem I had is the Service didn’t start automatically if I have it as Logon as (the domain fog account).

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            15/23
                                            Last post

                                          159

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project