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

    WSUS with Fog 1.3

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    8
    3.1k
    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.
    • Matthieu JacquartM
      Matthieu Jacquart
      last edited by

      Server
      • FOG Version: 1.3 RC11
      • OS: Debian 8.5
      Client
      • Service Version: 0.11.5
      • OS: Windows 10
      Description

      Hi,

      I haven’t this problem with Fog 1.2 and even with previous svn 1.3 before this summer, but now when I’m deploying Win10 syspreped image, in my WSUS console clients appear with default syspreped name (for example test-dfdsf212sd, before hostaname changer), and they roll back to default group. So each time I fog client, I had to put it in the right wsus group, and sometimes it takes few days to wsus for having right name and scan computer for updates.

      I don’t have this problem before this summer, but I migrate all my computers from Win7 to Win10, so I don’t know what is the cause…
      I made a small test : non-sysprep image (just remove client for AD before uploading image) don’t have this problem (which seems logic), name is ok, group is ok and check for update is ok instantly.

      Thanks
      Matthieu

      Fog 1.5.9.138
      Debian 11
      Vmware ESXi

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        If I had to guess, WSUS is checking in to the console before the FOG Client has had a chance to change the name. You might be able to work around this by disabling the wuauserv service, then, similarly to the re-enabling of the client (after the client has been re-enabled and started), re-enable the service.

        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

        Matthieu JacquartM 1 Reply Last reply Reply Quote 1
        • Matthieu JacquartM
          Matthieu Jacquart @Tom Elliott
          last edited by

          @Tom-Elliott That’s a nice idea, I’ll test it tomorrow !
          Is there a way to delay start of the wuauserv service in setupcomplete.cmd ? To be sure that fog change hostname before wuauserv service runs ?

          sc config FOGService start= auto
          shutdown -t 0 -r
          

          Fog 1.5.9.138
          Debian 11
          Vmware ESXi

          Tom ElliottT 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @Matthieu Jacquart
            last edited by

            @Matthieu-Jacquart I think you’d just do what you do with FOGService.

            Disable wuauserv, sysprep and upload. On deploy, in the setupcomplete.cmd script, just run: sc config wuauserv start= auto, you wouldn’t even need to start it, because the reboot will do it for you. The client is fast, but in sysprep phase, the client isn’t running until it hits 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! 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

            Matthieu JacquartM 1 Reply Last reply Reply Quote 1
            • Matthieu JacquartM
              Matthieu Jacquart @Tom Elliott
              last edited by

              @Tom-Elliott Just tested, failed, same problem… Return to default group with syspreped name

              Fog 1.5.9.138
              Debian 11
              Vmware ESXi

              george1421G 1 Reply Last reply Reply Quote 0
              • J
                Joe Schmitt Senior Developer
                last edited by

                @Matthieu-Jacquart you could try enabling wsus via a snap in. That way the client finishes all of its hostname work before it starts wsus.

                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.

                Matthieu JacquartM 1 Reply Last reply Reply Quote 1
                • george1421G
                  george1421 Moderator @Matthieu Jacquart
                  last edited by george1421

                  @Matthieu-Jacquart Please let me understand this issue here as it relates to what we do.

                  We build our golden image with mdt and have all current win updates applied. This creates an entry in WSUS. The name of the system in WSUS is the default name of our golden image. We have this computer in our build up group in WSUS. Then we sysprep the image, and capture with FOG. When we deploy the image OOBE runs since the image was sysprep’d OOBE creates a new SID for the computer and wsus registers this device with the wsus server with its new name (we have the unattend.xml give the system its proper name as well as connect it to AD and not use FOG for this function). Since this is a “new” system with a new SID WSUS will add this computer to the default group in WSUS (because its a new computer). This is expected.

                  There are gpo settings where you can target a computer to a specific WSUS group, but we haven’t found this to work as we expected between the target computer and WSUS. The idea is great, in that the target OU would determine what WSUS the computer belongs to. We use that same GPO to assign the computer to the proper (local) WSUS server. That part works.

                  But Joe’s suggestion of letting a snapin enable wsus is brilliant because snapins run after all of the system maintenance stuff is done

                  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
                  • Matthieu JacquartM
                    Matthieu Jacquart @Joe Schmitt
                    last edited by

                    @Joe-Schmitt Ok that’s great !
                    Tested on 40 pc, it resolves my problem, thanks 😉

                    Fog 1.5.9.138
                    Debian 11
                    Vmware ESXi

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

                    192

                    Online

                    12.1k

                    Users

                    17.3k

                    Topics

                    155.4k

                    Posts
                    Copyright © 2012-2024 FOG Project