• 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.3k
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.
  • 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
                    • T
                      Tom Elliott @x23piracy
                      last edited by Jul 22, 2016, 10:11 AM

                      @x23piracy update the host first. That checkbox is imperfect as it attempts to set itself based on the host. If he host isn’t set it looks at what the default value is. My guess the default value is on, but the host value is 0.

                      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:13 AM Reply Quote 0
                      • X
                        x23piracy @Tom Elliott
                        last edited by x23piracy Jul 22, 2016, 4:25 AM Jul 22, 2016, 10:13 AM

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

                        @x23piracy update the host first. That checkbox is imperfect as it attempts to set itself based on the host. If he host isn’t set it looks at what the default value is. My guess the default value is on, but the host value is 0.

                        When i uncheck the option and update, it will be checked again. I think we had this in the past with some other option as a little bug.
                        Means, i uncheck, click update, popup tells option saved and then the checkbox is checked again while i unchecked it. hmmm funny… 🙂

                        I also tried to change this option for other hosts, it works no where, can you check for bug please?

                        How to find out if this option is set or not for a particular host when the webif always rechecks the checkbox?

                        Regards X23

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

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

                          @x23piracy It’s just how it is for now. Simple enough to fix, but not deeply impacting currently. Just understand, if you uncheck it and save it means you’ve unset that field, and the host will not perform those actions.

                          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
                            last edited by Jul 22, 2016, 5:43 PM

                            Hi,

                            i could finally fix my non working SetupComplete.cmd for Windows 10 OEM.
                            To get the SetupComplete.cmd being executed i use the unattend.xml section FirstLogonCommmands:

                            <SynchronousCommand wcm:action="add">
                            <Description>SetupComplete</Description>
                            <Order>1</Order>
                            <CommandLine>C:\Windows\Setup\Scripts\SetupComplete.cmd</CommandLine>
                            <RequiresUserInput>false</RequiresUserInput>
                            </SynchronousCommand>
                            

                            To get sure this is done automatically i allow autologon of a local admin once:

                            <AutoLogon>
                            <Password>
                            <Value>password</Value>
                            <PlainText>true</PlainText>
                            </Password>
                            <Enabled>true</Enabled>
                            <LogonCount>1</LogonCount>
                            <Username>username</Username>
                            </AutoLogon>
                            

                            This will then execute the SetupComplete.xml while first login:

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

                            Regards X23

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

                            T 1 Reply Last reply Jul 22, 2016, 6:03 PM Reply Quote 0
                            • T
                              Tom Elliott @x23piracy
                              last edited by Jul 22, 2016, 6:03 PM

                              @x23piracy I’ve edited the source for the “enforce” option so it will display what the current selection is. If there is no selection, it will be unchecked. If there is a selection it will be checked. This will be available for RC 2.

                              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, 6:31 PM Reply Quote 1
                              • X
                                x23piracy @Tom Elliott
                                last edited by Jul 22, 2016, 6:31 PM

                                @Tom-Elliott Thank You

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

                                1 Reply Last reply Reply Quote 0
                                • W
                                  Wayne Workman
                                  last edited by Wayne Workman Oct 12, 2016, 10:41 PM Jul 22, 2016, 7:07 PM

                                  wiki worthy

                                  setupcomplete.cmd doesn’t run on OEM licensed hosts.

                                  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/

                                  T X 2 Replies Last reply Jul 22, 2016, 7:42 PM Reply Quote 0
                                  • T
                                    Tom Elliott @Wayne Workman
                                    last edited by Jul 22, 2016, 7:42 PM

                                    @Wayne-Workman for Windows 10.

                                    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:43 PM Reply Quote 0
                                    • X
                                      x23piracy @Wayne Workman
                                      last edited by Jul 22, 2016, 7:42 PM

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

                                      #wiki worthy

                                      setupcomplete.cmd doesn’t run on OEM licensed hosts.

                                      not even only this also that:
                                      https://forums.fogproject.org/post/74436

                                      Regards X23

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

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

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

                                        @Wayne-Workman for Windows 10.

                                        no that should be the case since windows 8!
                                        Look here: https://community.landesk.com/docs/DOC-33051

                                        With Windows 8 and Windows 8.1 Microsoft made a change to the sysprep environment to improve the end user experience by skipping the SetupComplete.cmd section if an OEM license is detected. This allows the end user to get to the Welcome Screen faster. This is what causes provisioning to fail to start after the reboot.

                                        My opinion? What a Bullshit, why not an option to enable it? Well they like to force business to enterprise section also by license reimaging oem is forbidden just FYI.

                                        Regards X23

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

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          Wayne Workman @x23piracy
                                          last edited by Oct 13, 2016, 4:43 AM

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

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

                                          This has been added to the wiki previously, 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/

                                          X 1 Reply Last reply Oct 13, 2016, 7:57 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          • First post
                                            Last post

                                          136

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project