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

    Enabling Fogclient via setupcomplete.cmd breaks unattended win10 installation

    Scheduled Pinned Locked Moved
    Windows Problems
    3
    6
    1.9k
    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.
    • M
      michael_f
      last edited by

      I’m building my first win10-Masterimage.
      I try to deploy win10 pro x64 v1709 including FogClient following the instructions in the wiki
      https://wiki.fogproject.org/wiki/index.php?title=FOG_Client#FOG_Client_with_Sysprep

      The reboot command

      shutdown -t 0 -r
      

      breaks windows setup. Placing the command in unattend.xml doesn’t work either.

      The reboot command in setupcomplete.cmd leads to the following error page
      0_1511897387215_screenshot.jpg
      It states that windows isn’t ready yet but might be working after applying an update.
      Rebooting now causes windows to create a new user and (i suppose) again calls setupcomplete.cmd which again interrupts setup completion and thus leads to a boot loop.

      The installation can be forced to complete by changing some registry values without any further issues (see https://miriamxyra.com/2016/04/14/registry-hacking-against-sysprep-errors/).

      So it seems that setupcomlete.cmd is called a bit to early in the setup process, thus the reboot command prevents setup to finish.
      Does anyone know a way to reboot windows safely after windows setup is finished?

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        FWIW: For 1709, I would not have it reboot the computer in setupcomplete.cmd. There are a bunch of things going on behind the screen at the end of the setupcomplete.cmd. You can instead just issue the net start command to start the fog client. OR let Win10 do its thing then reboot, then the FOG client will take off and do its thing. The issue is Windows 10 1709 is so new and very different than 1703 we don’t have a solid foundation with 1709 just 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!

        1 Reply Last reply Reply Quote 0
        • M
          michael_f
          last edited by

          I’ ll try that. But when fogservice renames the client and joins to domain it causes a reboot too, doesn’t it?

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @michael_f
            last edited by

            @michael_f Yes it does. That may even be more reasons to only start the fog server after someone reboots the computer for the first time.

            We are still walking an unknown path with 1709. By the time setupcomplete.cmd exists windows “should” be fully setup. But that doesn’t appear to be the case now.

            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!

            M 1 Reply Last reply Reply Quote 0
            • Scott BS
              Scott B
              last edited by Scott B

              Do you have the fog client already installed on your image or does your setupcomplete.cmd install it? I had an issue when the FOG client was already installed on the image, but I do have the setupcomplete.cmd install the client and just include the .msi on image which works great.

              1 Reply Last reply Reply Quote 0
              • M
                michael_f @george1421
                last edited by

                @george1421 Thanks George, using net start seems to work.
                @Scott-B The fogclient is included in the Image as this is the way I do it in my Win7-Images without problems.
                As for now I’m fine with George’s solution, but I keep your tip in mind if other problems may show up.

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

                150

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project