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

Joining Domain Problems with windows 7

Scheduled Pinned Locked Moved
FOG Problems
6
23
14.0k
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
    Arsenal101
    last edited by Jan 11, 2013, 1:13 PM

    I’m not really sure if this should go here or under windows problems

    We have been working on making a universal windows 7 image with fog and then deploying it across several model computers, everything has been going great, it uploads and deploys fantastically but then when I try to get it to auto join the domain, I can get fog to change the computers name but it won’t join the domain. I get a Domain error (unknown error :1312) not really sure what that means?

    I have recompiled the Hostnamechanger.dll files to include our passkey and the passkeys match all across from the account on the domain controller to the passkeys in the .dll and on fog.

    Any Ideas?

    1 Reply Last reply Reply Quote 0
    • M
      Matthew Hood
      last edited by Jan 11, 2013, 2:14 PM

      Have you put your domain credentials in FOG so it know what account to use to join the computers to the domain?

      1 Reply Last reply Reply Quote 0
      • A
        Arsenal101
        last edited by Jan 11, 2013, 2:25 PM

        Yea, You mean within the Web UI So fog knows?

        [url=“/_imported_xf_attachments/0/230_Untitled1.jpg?:”]Untitled1.jpg[/url]

        1 Reply Last reply Reply Quote 0
        • M
          Matthew Hood
          last edited by Jan 11, 2013, 2:36 PM

          Do you have the join domain checkbox check on the client in fog?

          1 Reply Last reply Reply Quote 0
          • A
            Arsenal101
            last edited by Jan 11, 2013, 2:39 PM

            yep, we have been using fog with XP for some years now, just cant get the AD to work with 7

            1 Reply Last reply Reply Quote 0
            • M
              Matthew Hood
              last edited by Jan 11, 2013, 2:42 PM

              oh ok. Can you check the Active Directory field and see if your domain username is typed in like this (domain\username) or did you just put (username)?

              1 Reply Last reply Reply Quote 0
              • A
                Arsenal101
                last edited by Jan 11, 2013, 2:52 PM

                I have tried it both ways, when I tried it the domain\username method it comes up with an error Hostnamechanger Domain Error (Wrong username or password) Code 1326, so i took the domain part out of it and then it gives me 1312 error and i cant find any explanation for it online.
                [CODE]
                1/11/2013 9:39 AM Service Stop requested
                1/11/2013 9:39 AM FOG::AutoLogOut Shutdown complete
                1/11/2013 9:39 AM FOG::ClientUpdater Shutdown complete
                1/11/2013 9:39 AM FOG::DirCleaner Shutdown complete
                1/11/2013 9:39 AM FOG::DisplayManager Shutdown complete
                1/11/2013 9:39 AM FOG::GreenFog Shutdown complete
                1/11/2013 9:39 AM FOG::GUIWatcher Stopping…
                1/11/2013 9:39 AM FOG::HostnameChanger Shutdown complete
                1/11/2013 9:39 AM FOG::HostRegister Shutdown complete
                1/11/2013 9:39 AM FOG::MODDebug Shutdown complete
                1/11/2013 9:39 AM FOG::printerManager Shuting down
                1/11/2013 9:39 AM FOG::SnapinClient Shutdown complete
                1/11/2013 9:39 AM FOG::TaskReboot Stopping…
                1/11/2013 9:39 AM FOG::UserCleanup Shutdown complete
                1/11/2013 9:39 AM FOG::UserTracker Shutdown complete
                1/11/2013 9:39 AM FOG Service Engine Version: 3
                1/11/2013 9:39 AM Starting all sub processes
                1/11/2013 9:39 AM 14 modules loaded
                1/11/2013 9:39 AM * Starting FOG.AutoLogOut
                1/11/2013 9:39 AM FOG::AutoLogOut Starting process…
                1/11/2013 9:39 AM * Starting FOG.SnapinClient
                1/11/2013 9:39 AM FOG::ClientUpdater Starting client update process…
                1/11/2013 9:39 AM FOG::ClientUpdater Sleeping for 202 seconds.
                1/11/2013 9:39 AM * Starting FOG.DirCleaner
                1/11/2013 9:39 AM FOG::DirCleaner Sleeping for 50 seconds.
                1/11/2013 9:39 AM * Starting FOG.DisplayManager
                1/11/2013 9:39 AM FOG::DisplayManager Starting display manager process…
                1/11/2013 9:39 AM * Starting FOG.GreenFog
                1/11/2013 9:39 AM FOG::GreenFog Sleeping for 48 seconds.
                1/11/2013 9:39 AM * Starting FOG.GUIWatcher
                1/11/2013 9:39 AM FOG::GUIWatcher Starting GUI Watcher…
                1/11/2013 9:39 AM * Starting FOG.HostNameChanger
                1/11/2013 9:39 AM FOG::HostnameChanger Starting hostname change process…
                1/11/2013 9:39 AM FOG::HostnameChanger Yielding to other subservices for 2 seconds.
                1/11/2013 9:39 AM * Starting FOG.HostRegister
                1/11/2013 9:39 AM FOG::HostRegister Starting host registration process…
                1/11/2013 9:39 AM * Starting FOG.MODDebug
                1/11/2013 9:39 AM FOG::MODDebug Start Called
                1/11/2013 9:39 AM FOG::MODDebug Sleeping for 100 Seconds
                1/11/2013 9:39 AM * Starting FOG.PrinterManager
                1/11/2013 9:39 AM FOG::printerManager Starting interprocess communication process…
                1/11/2013 9:39 AM * Starting FOG.SnapinClient
                1/11/2013 9:39 AM FOG::SnapinClient Starting snapin client process…
                1/11/2013 9:39 AM FOG::printerManager interprocess comm startup: OK
                1/11/2013 9:39 AM * Starting FOG.TaskReboot
                1/11/2013 9:39 AM FOG::TaskReboot Taskreboot in lazy mode.
                1/11/2013 9:39 AM FOG::TaskReboot Starting Task Reboot…
                1/11/2013 9:39 AM * Starting FOG.UserCleanup
                1/11/2013 9:39 AM FOG::UserCleanup Sleeping for 14 seconds.
                1/11/2013 9:39 AM * Starting FOG.UserTracker
                1/11/2013 9:39 AM FOG::UserTracker Starting user tracking process…
                1/11/2013 9:39 AM FOG::DisplayManager Attempting to connect to fog server…
                1/11/2013 9:39 AM FOG::HostRegister Exiting because only 1 mac address was found.
                1/11/2013 9:39 AM FOG::SnapinClient Sleeping for 464 seconds.
                1/11/2013 9:39 AM FOG::printerManager Attempting to connect to fog server…
                1/11/2013 9:39 AM FOG::UserTracker Attempting to connect to fog server…
                1/11/2013 9:39 AM FOG::HostnameChanger Attempting to connect to fog server…
                1/11/2013 9:39 AM FOG::DisplayManager Module is disabled globally on the FOG Server.
                1/11/2013 9:39 AM FOG::AutoLogOut Module is active…
                1/11/2013 9:39 AM FOG::printerManager Module is active…
                1/11/2013 9:39 AM FOG::printerManager Starting printer manager…
                1/11/2013 9:39 AM FOG::printerManager Yielding to other services for 20 seconds.
                1/11/2013 9:39 AM FOG::UserTracker Module is active…
                1/11/2013 9:39 AM FOG::HostnameChanger Module is active…
                1/11/2013 9:39 AM FOG::AutoLogOut Timeout value is Zero, disabling module.
                1/11/2013 9:39 AM FOG::HostnameChanger AD mode requested, confirming settings.
                1/11/2013 9:39 AM FOG::HostnameChanger Hostname is up to date
                1/11/2013 9:39 AM FOG::HostnameChanger Attempting to join domain if not already a member…
                1/11/2013 9:40 AM FOG::UserCleanup Starting user cleanup process…
                1/11/2013 9:40 AM FOG::UserCleanup Attempting to connect to fog server…
                1/11/2013 9:40 AM FOG::UserCleanup Module is disabled globally on the FOG Server, exiting.
                1/11/2013 9:40 AM FOG::printerManager Management level = 0
                1/11/2013 9:40 AM FOG::printerManager This host is set to NO MANAGEMENT, we will exit now.
                1/11/2013 9:40 AM FOG::printerManager Major printing operations complete, moving to tracking mode.
                1/11/2013 9:40 AM FOG::HostnameChanger Domain Error! (‘Unknown Error’ Code: 1312)[/CODE]

                1 Reply Last reply Reply Quote 0
                • M
                  Matthew Hood
                  last edited by Jan 11, 2013, 3:17 PM

                  Is this log from the fog service on the client computer? And is the account your trying to use to join the domain setup so the password doesn’t expire? we have ours setup domain\user using a domain admin account with a password set to not expire.

                  1 Reply Last reply Reply Quote 0
                  • A
                    Arsenal101
                    last edited by Jan 11, 2013, 3:34 PM

                    yep that’s the log. and yea the password is set to never expire. And for kicks and giggles we would up the permissions on the account but that didn’t do anything either.

                    1 Reply Last reply Reply Quote 0
                    • M
                      Matthew Hood
                      last edited by Jan 11, 2013, 3:44 PM

                      So its not changing the hostname or joining the domain? Does the fog service on the client have the correct ip or hostname for your fog server?

                      1 Reply Last reply Reply Quote 0
                      • A
                        Arsenal101
                        last edited by Jan 11, 2013, 3:57 PM

                        yea it changes the host name but throws that error when trying to join domain.

                        1 Reply Last reply Reply Quote 0
                        • M
                          Matthew Hood
                          last edited by Jan 11, 2013, 4:05 PM

                          The computer you created the image from, was it joined to the domain when you ran fogprep and pulled the image to the fog server? Also the computers you are trying to image, were they on the domain before you imaged them with windows 7 or are they brand new computers?

                          1 Reply Last reply Reply Quote 0
                          • A
                            Arsenal101
                            last edited by Jan 11, 2013, 4:32 PM

                            They aren’t brand new but had wiped disks, also the computer that i uploaded it from was not on the domain when i pulled the image from it.

                            1 Reply Last reply Reply Quote 0
                            • M
                              Matthew Hood
                              last edited by Jan 11, 2013, 4:40 PM

                              Ok. Even though you are wiping the computers make sure they have been deleted out of active directory before FOG tries to join them to the domain otherwise it won’t be able to join them.

                              1 Reply Last reply Reply Quote 0
                              • A
                                Arsenal101
                                last edited by Jan 14, 2013, 2:42 PM

                                We tried that and didn’t have any luck but i believe that it was a combination of issues one being that we had to delete out of active directory, the other being that i completely spaced that you have to update the config.ini in the fogcrypt folder with your passkey in order to encrypt it. which is why we were getting padding invalid errors after deleting from active directory then trying to join again. but it works now!

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Matthew Hood
                                  last edited by Jan 14, 2013, 3:26 PM

                                  Great! glad you got it fixed.

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    chad-bisd Moderator
                                    last edited by Jan 15, 2013, 2:21 AM

                                    A side note: if you manage your computers into separate OU’s or add them to groups; If you need to reimage a machine that was in active directory already and you want it to remain in the same OU and same groups, just reset the computer account instead of deleting it. That should allow the FOG client to rejoin the computer to the domain with the same name, in the same OU, and in the same groups.


                                    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
                                    • A
                                      Anomaly69
                                      last edited by Mar 8, 2013, 1:59 AM

                                      I’m also having trouble getting a machine to join the domain. I’m very new to FOG so I could be missing something obvious. Maybe someone can help?

                                      Questions:

                                      1. Under [LEFT][FONT=sans-serif][COLOR=#000000]‘Other Information -> FOG Settings’, is that supposed to be a Global way to join all machines to the domain? If so where do I enter the credentials to use? The information in the flyovers to the side of the fields seems to be asking for the default user to create on the newly imaged machine rather than Domain Admin credentials.[/COLOR][/FONT][/LEFT]

                                      [LEFT][FONT=sans-serif][COLOR=#000000]2. Under ‘Host Management > Active Directory’ I read the OU should be entered in LDAP format. So that would be something like this:? OU=Computers,OU=SupportSpace Customer Support,OU=Director Service Operations,OU=CSO,OU=SupportSpace,DC=SupportSpace,DC=local [/COLOR][/FONT][/LEFT]

                                      1. [LEFT][FONT=sans-serif][COLOR=#000000]I don’t understand the comment above about modifying the config.ini file [/COLOR][/FONT][/LEFT]in the fogcrypt folder with your passkey in order to encrypt it. I didn’t see this in the wiki.

                                      Any and all help would be very appreciated. Thanks in advance.

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        Arsenal101
                                        last edited by Mar 8, 2013, 1:23 PM

                                        1.) Under the Other information -> Fog Settings -> Active Directory defaults. That’s where you enter your credentials so that when you image a host and select join domain after imaging those boxes will be pre-filled with your information.

                                        2.) Honestly I would leave the Organizational Unit blank. It’s not required to join the Domain.

                                        3.) In the FOGCrypt Folder you will see an etc folder, in that will be a Config.ini file if you open that with notepad and only notepad. you will see the line that says passkey then it has an equal symbol with the phrase FOG-OpenSource-Imaging
                                        if you change that line to whatever you want your passkey to be and then Use the Command prompt to CD over to the FOGCrpyt Folder and run the fogcrypt.exe file it will encrypt the passkey you enter with the phrase you put into the config.ini file
                                        I think the exact Command is FOGCrypt.exe (yourpassword) > (newpass.txt) Change whats int the parenthesis to what fits you and it will create a .txt file in the fog crypt directory with the encrypted passkey.

                                        [SIZE=3][FONT=Times New Roman][COLOR=#222222][url]http://www.fogproject.org/wiki/index.php/FOGCrypt[/url][/COLOR][/FONT][/SIZE]

                                        [SIZE=3][FONT=Times New Roman][COLOR=#222222]Then only thing that tutorial doesn’t tell you is to change the passkey in the config.ini Folder[/COLOR][/FONT][/SIZE]

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          Vignesh R
                                          last edited by Apr 20, 2014, 2:22 AM

                                          Hi All,

                                          I am very new to FOG.

                                          I have installed Windows 7 in a New Machine with all the software in need. I have uploaded the image in Fog server. I just want to know what are the steps i need to follow to make the image which adds the client computer in domain automatically.

                                          Can anyone explain me the steps please.

                                          Thanks in advance…

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

                                          232

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project