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

Fog not auto joining to the domain requires additional restart to join-Windows 10

Scheduled Pinned Locked Moved
FOG Problems
6
41
13.8k
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.
  • J
    Joe Schmitt Senior Developer
    last edited by Joe Schmitt Jul 18, 2016, 10:03 AM Jul 18, 2016, 4:03 PM

    Sounds to me like the service isnt set to start after imaging. If you sysprep and disable the service are you re enabling and starting it on completion?

    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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

    L 1 Reply Last reply Jul 18, 2016, 5:28 PM Reply Quote 0
    • W
      Wayne Workman
      last edited by Jul 18, 2016, 4:08 PM

      Please post the contents of C:\Windows\Setup\scripts\SetupComplete.cmd

      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 1
      • X
        x23piracy
        last edited by x23piracy Jul 18, 2016, 10:12 AM Jul 18, 2016, 4:11 PM

        Hi,

        i don’t have any problems from 10.6 up to 11.4 with domain joining for win10.
        Before i sysprep i stop the fog service and set it to delayed-start, afaik delayed is not needed anymore but i still stay with this.

        FYI, i don’t use setupcomplete.cmd for nothing 😉

        Regards X23

        ║▌║█║▌│║▌║▌█

        1 Reply Last reply Reply Quote 0
        • J
          Joe Schmitt Senior Developer
          last edited by Joe Schmitt Jul 18, 2016, 10:14 AM Jul 18, 2016, 4:13 PM

          @x23piracy while you can do that, it is risky and unadvised. You’re basically creating a race condition and just hoping it works out. I recommend following the written wiki article for how to configure the client and sysprep. We recommend setupcomplete.cmd as that is the proper and safest way to do so.

          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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

          X 2 Replies Last reply Jul 21, 2016, 10:44 PM Reply Quote 1
          • L
            LJedi @Joe Schmitt
            last edited by Jul 18, 2016, 5:28 PM

            @Joe-Schmitt For my image, I just install the Fog client. I do not do anything special with it before sysprep.

            W 1 Reply Last reply Jul 18, 2016, 5:31 PM Reply Quote 0
            • W
              Wayne Workman @LJedi
              last edited by Jul 18, 2016, 5:31 PM

              @LJedi said in Fog not auto joining to the domain requires additional restart to join-Windows 10:

              @Joe-Schmitt For my image, I just install the Fog client. I do not do anything special with it before sysprep.

              And that’s why it’s not working. You need to follow the wiki instructions, they are here:
              https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#FOG_Client_with_Sysprep

              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/

              L 1 Reply Last reply Jul 18, 2016, 9:44 PM Reply Quote 0
              • L
                LJedi @Wayne Workman
                last edited by Jul 18, 2016, 9:44 PM

                @Wayne-Workman Ah. Did not know I had to do that first. Thank you for your help.

                1 Reply Last reply Reply Quote 0
                • X
                  x23piracy @Joe Schmitt
                  last edited by x23piracy Jul 21, 2016, 4:49 PM Jul 21, 2016, 10:44 PM

                  @Joe-Schmitt said in Fog not auto joining to the domain requires additional restart to join-Windows 10:

                  @x23piracy while you can do that, it is risky and unadvised. You’re basically creating a race condition and just hoping it works out. I recommend following the written wiki article for how to configure the client and sysprep. We recommend setupcomplete.cmd as that is the proper and safest way to do so.

                  Hi,

                  well i know this but my SetupComplete.cmd never worked, i placed it in C:\Windows\Setup\scripts\ and i have the following in it:

                  del C:\Windows\System32\Sysprep\unattend.xml
                  sc config FOGService start= auto
                  net start FOGService
                  

                  I am using Windows 10 Pro, Source iso is from “Media Creation Tool”.
                  If someone could tell why this is not working i could walk away from the knife edge i am using.

                  For my luck the normal workstations work with my method but when i try to redeploy to the vm i am using to prepare the image again and again i get the error message joe was talking about.

                  Is SetupComplete.cmd only working for Enterprise Win 10? I cannot imagine why else it’s not working for me. hmm…

                  Regards X23

                  ║▌║█║▌│║▌║▌█

                  G 1 Reply Last reply Jul 22, 2016, 4:53 AM Reply Quote 1
                  • G
                    Greg Plamondon Testers @x23piracy
                    last edited by Jul 22, 2016, 4:53 AM

                    @x23piracy said in Fog not auto joining to the domain requires additional restart to join-Windows 10:

                    @Joe-Schmitt said in Fog not auto joining to the domain requires additional restart to join-Windows 10:

                    @x23piracy while you can do that, it is risky and unadvised. You’re basically creating a race condition and just hoping it works out. I recommend following the written wiki article for how to configure the client and sysprep. We recommend setupcomplete.cmd as that is the proper and safest way to do so.

                    Hi,

                    well i know this but my SetupComplete.cmd never worked, i placed it in C:\Windows\Setup\scripts\ and i have the following in it:

                    del C:\Windows\System32\Sysprep\unattend.xml
                    sc config FOGService start= auto
                    net start FOGService
                    

                    I am using Windows 10 Pro, Source iso is from “Media Creation Tool”.
                    If someone could tell why this is not working i could walk away from the knife edge i am using.

                    For my luck the normal workstations work with my method but when i try to redeploy to the vm i am using to prepare the image again and again i get the error message joe was talking about.

                    Is SetupComplete.cmd only working for Enterprise Win 10? I cannot imagine why else it’s not working for me. hmm…

                    Regards X23

                    Does your setup complete contain a reboot command?

                    shutdown /r /f /t 0 
                    
                    X 1 Reply Last reply Jul 22, 2016, 6:58 AM Reply Quote 0
                    • X
                      x23piracy @Greg Plamondon
                      last edited by x23piracy Jul 22, 2016, 1:10 AM Jul 22, 2016, 6:58 AM

                      @Greg-Plamondon not it does not i pasted my complete SetupComplete.cmd in my post above, that is needed? What should this change? Lets say i place that reboot as last line, the unattend.xml should be deleted anyway, also the service auto should work but does not.

                      I don’t unterstand why a reboot line should let the 3 lines above work? confusing.
                      The Script is not triggered, if so u should not find the unattend.xml in sysprep folder anymore and the service should be set to auto but it’s still disabled, so the only reason could be that setupcomplete.cmd is not executed, the question is why?

                      Is anyone using SetupComplete.cmd with a Windows 10 Pro, while source is from Windows Media Creation Tool?

                      Regards X23

                      ║▌║█║▌│║▌║▌█

                      X 1 Reply Last reply Jul 22, 2016, 7:35 AM Reply Quote 0
                      • X
                        x23piracy @x23piracy
                        last edited by x23piracy Jul 22, 2016, 1:40 AM Jul 22, 2016, 7:35 AM

                        @x23piracy said in Fog not auto joining to the domain requires additional restart to join-Windows 10:

                        Is anyone using SetupComplete.cmd with a Windows 10 Pro, while source is from Windows Media Creation Tool?

                        Regards X23

                        Hi,

                        i am busted: http://www.overneteducation.it/v2beta/UserFiles/file/ebook/Microsoft_Press_ebook_Deploying_Windows_10_PDF.pdf

                        alt text

                        This damn company does not use Enterprise… grrr i have to stick with OEM. So i need to use my race condition method, damn it.

                        What should i do now?

                        Regards X23

                        ║▌║█║▌│║▌║▌█

                        1 Reply Last reply Reply Quote 1
                        • X
                          x23piracy @Joe Schmitt
                          last edited by Jul 22, 2016, 7:43 AM

                          @Joe-Schmitt said in Fog not auto joining to the domain requires additional restart to join-Windows 10:

                          @x23piracy while you can do that, it is risky and unadvised. You’re basically creating a race condition and just hoping it works out. I recommend following the written wiki article for how to configure the client and sysprep. We recommend setupcomplete.cmd as that is the proper and safest way to do so.

                          You should add this information to the wiki so others user does not try making this work with oem for days:
                          https://forums.fogproject.org/post/74398

                          Regards X23

                          ║▌║█║▌│║▌║▌█

                          T 1 Reply Last reply Jul 22, 2016, 7:45 AM Reply Quote 0
                          • T
                            Tom Elliott @x23piracy
                            last edited by Jul 22, 2016, 7:45 AM

                            @x23piracy I use oem at work and my setupcomplete.cmd does run.

                            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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                            X 1 Reply Last reply Jul 22, 2016, 7:52 AM Reply Quote 0
                            • T
                              Tom Elliott
                              last edited by Jul 22, 2016, 7:46 AM

                              Of course I’m not doing sysprep for Windows 10 yet.

                              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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                              1 Reply Last reply Reply Quote 0
                              • X
                                x23piracy @Tom Elliott
                                last edited by Jul 22, 2016, 7:52 AM

                                @Tom-Elliott how could it run if you are not using sysprep?

                                ║▌║█║▌│║▌║▌█

                                1 Reply Last reply Reply Quote 0
                                • X
                                  x23piracy
                                  last edited by x23piracy Jul 22, 2016, 2:18 AM Jul 22, 2016, 8:14 AM

                                  Hi,

                                  here is the evidence that SetupComplete.cmd does not run with OEM:

                                  alt text

                                  https://community.landesk.com/docs/DOC-33051

                                  alt text

                                  Regards X23

                                  ║▌║█║▌│║▌║▌█

                                  T W 2 Replies Last reply Jul 22, 2016, 10:02 AM Reply Quote 0
                                  • T
                                    Tom Elliott @x23piracy
                                    last edited by Jul 22, 2016, 10:02 AM

                                    @x23piracy What I meant is my windows 10 image is not sysprepped, so the setupcomplete.cmd isn’t even a thought. My windows 7 worked, which I’m guessing is the same for you.

                                    I suppose, one approach, to get the “setupcomplete.cmd” effects with OEM and Windows 10 would be to have the machine auto login one time. In the Audit mode layout, add a startup script that calls your setup complete script. Once the setupcomplete is done, have the startup script delete itself as well. Then when the system finishes setup, it should login to the administrator prompt, and perform the actions you have defined in the startup script.

                                    This is theory, I don’t know how feasible such a setup would actually be though. The nicety that was setupcomplete.cmd is the explorer wasn’t started until after the setupcomplete completed its tasks, which shortly after would be rebooted due to the re-enabling of the FOG Client. Using the “startup script” method would mean the administrator login is fully accessible.

                                    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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    X 1 Reply Last reply Jul 22, 2016, 10:05 AM Reply Quote 0
                                    • X
                                      x23piracy @Tom Elliott
                                      last edited by x23piracy Jul 22, 2016, 4:06 AM Jul 22, 2016, 10:05 AM

                                      @Tom-Elliott i tried the method with firstlogon command and this seems to work but i need to enforce hostname change, can someone tell me how to force this?

                                      ------------------------------------------------------------------------------
                                      --------------------------------HostnameChanger-------------------------------
                                      ------------------------------------------------------------------------------
                                       22.07.2016 11:52 Client-Info Client Version: 0.11.4
                                       22.07.2016 11:52 Client-Info Client OS:      Windows
                                       22.07.2016 11:52 Client-Info Server Version: 1.3.0-RC-1
                                       22.07.2016 11:52 Middleware::Response Success
                                       22.07.2016 11:52 HostnameChanger Users still logged in and enforce is disabled, delaying any further actions
                                      ------------------------------------------------------------------------------
                                      

                                      I need to force this, else i need to logoff manually.
                                      My idea is also to use unattend.xml for 1 auto logon, but i need hostname change forced else i need to logoff manual.

                                      Regards X23

                                      ║▌║█║▌│║▌║▌█

                                      T 1 Reply Last reply Jul 22, 2016, 10:06 AM Reply Quote 0
                                      • T
                                        Tom Elliott @x23piracy
                                        last edited by Jul 22, 2016, 10:06 AM

                                        @x23piracy In the GUI under Active Directory, there’s a checkbox under the password legacy field.

                                        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                        X 1 Reply Last reply Jul 22, 2016, 10:09 AM Reply Quote 0
                                        • X
                                          x23piracy @Tom Elliott
                                          last edited by x23piracy Jul 22, 2016, 4:11 AM Jul 22, 2016, 10:09 AM

                                          @Tom-Elliott that option was enabled but does not rename hostname while logged on:

                                          alt text

                                          is this maybe the problem?

                                          alt text

                                          Regards X23

                                          ║▌║█║▌│║▌║▌█

                                          T 1 Reply Last reply Jul 22, 2016, 10:11 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 3 / 3
                                          3 / 3
                                          • First post
                                            19/41
                                            Last post

                                          134

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project