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

Service Fog Client

Scheduled Pinned Locked Moved
General Problems
6
12
3.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.
  • Z
    zago123
    last edited by zago123 Oct 26, 2017, 6:51 AM Oct 26, 2017, 12:50 PM

    Hi,

    I’m creating my image in the virtual box, I’m installing the fog client, I’m going to have some problem if I leave the fog client service already started in the image? after the ready image I do sysprep

    1 Reply Last reply Reply Quote 0
    • P
      Psycholiquid Testers
      last edited by Oct 26, 2017, 1:02 PM

      You will want to disable the fog client before sysprep and set in the unattend.xml to start it back up on first start

      Z 1 Reply Last reply Oct 26, 2017, 1:03 PM Reply Quote 0
      • Z
        zago123 @Psycholiquid
        last edited by Oct 26, 2017, 1:03 PM

        @psycholiquid

        why? what would be the problem of letting him get started?

        A 1 Reply Last reply Oct 26, 2017, 3:56 PM Reply Quote 0
        • P
          Psycholiquid Testers
          last edited by Oct 26, 2017, 1:05 PM

          I cant tell you the exact reason it has issue I just know that it does.

          In my script I add the following:

          <FirstLogonCommands>
          <SynchronousCommand wcm:action=“add”>
          <CommandLine>del /Q /F c:\windows\system32\sysprep\unattend.xml</CommandLine>
          <Order>1</Order>
          <Description>Deletes unattend.xml</Description>
          <RequiresUserInput>false</RequiresUserInput>
          </SynchronousCommand>
          <SynchronousCommand wcm:action=“add”>
          <CommandLine>del /Q /F c:\windows\Panther\unattend.xml</CommandLine>
          <Description>Deletes unattend.xml</Description>
          <Order>2</Order>
          <RequiresUserInput>false</RequiresUserInput>
          </SynchronousCommand>
          <SynchronousCommand wcm:action=“add”>
          <CommandLine>sc config FOGService start= auto</CommandLine>
          <Description>Changes FOG server to Automatic</Description>
          <Order>3</Order>
          <RequiresUserInput>false</RequiresUserInput>
          </SynchronousCommand>
          <SynchronousCommand wcm:action=“add”>
          <CommandLine>net start FOGService</CommandLine>
          <Description>Starts FOG service </Description>
          <Order>4</Order>
          <RequiresUserInput>false</RequiresUserInput>
          </SynchronousCommand>
          </FirstLogonCommands>

          This turns the service back on after sysprep runs.

          1 Reply Last reply Reply Quote 0
          • J
            Joe Schmitt Senior Developer
            last edited by Oct 26, 2017, 2:21 PM

            @zago123, @Psycholiquid is correct about not disabling the client being problematic. Failing to do so causes the client and sysprep to both try and manage the computer at the same time, causing many conflicts. See 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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            1 Reply Last reply Reply Quote 1
            • A
              Avaryan @zago123
              last edited by Avaryan Oct 26, 2017, 9:57 AM Oct 26, 2017, 3:56 PM

              @zago123 said in Service Fog Client:

              @psycholiquid

              why? what would be the problem of letting him get started?

              The problem is when the client starts reaching out to the FOG server before Windows is completely done getting ready. The client can cause the host to reboot before Windows is finished setting up… which is a bad thing.

              I believe the latest SmartInstallers have the FOG Service start type set to manual by default.

              J Z 2 Replies Last reply Oct 26, 2017, 4:53 PM Reply Quote 1
              • J
                Joe Schmitt Senior Developer @Avaryan
                last edited by Oct 26, 2017, 4:53 PM

                @avaryan said in Service Fog Client:

                I believe the latest SmartInstallers have the FOG Service start type set to manual by default.

                They default to auto start

                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.

                W 1 Reply Last reply Oct 26, 2017, 5:50 PM Reply Quote 1
                • Z
                  zago123 @Avaryan
                  last edited by Oct 26, 2017, 5:46 PM

                  @avaryan

                  could be solved in the future?
                  with some new version of it?

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wayne Workman @Joe Schmitt
                    last edited by Oct 26, 2017, 5:50 PM

                    @joe-schmitt It might be possible to detect sysprep & first startup processes happening.

                    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 0
                    • G
                      george1421 Moderator
                      last edited by Oct 26, 2017, 7:24 PM

                      @wayne-workman said in Service Fog Client:

                      @joe-schmitt It might be possible to detect sysprep & first startup processes happening.

                      Or just provide a command line switch to force the installer to install the client but disabled. The default action would be to install and start like it does today.

                      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
                      • J
                        Joe Schmitt Senior Developer
                        last edited by Joe Schmitt Oct 26, 2017, 3:05 PM Oct 26, 2017, 8:56 PM

                        @george1421 @Wayne-Workman when client installs, it sets the service to auto on boot, but does not start. A reboot is required to fully initialize the client on Windows.

                        As for detecting sysprep, while it can be done, it requires a significant amount of work and research to be done properly, to the point where the cost outweighs the benefits given the current backlog. Especially considering that there is a working, simple, solution in the wiki. I agree that it would be nice, but we just don’t have the time to do it right 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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        G 1 Reply Last reply Oct 27, 2017, 12:58 AM Reply Quote 2
                        • G
                          george1421 Moderator @Joe Schmitt
                          last edited by Oct 27, 2017, 12:58 AM

                          @joe-schmitt said in Service Fog Client:

                          when client installs, it sets the service to auto on boot, but does not start.

                          I guess what needs to be turned into a feature request is a msi install command line switch to alter this behavior. This switch would install and set the service to disabled. Or alter the process to require a command line switch to set the service to auto and the default would be disabled. Either way would work. Probably the command line switch to disable the service would cause the least amount of pain for already installed environments.

                          Most of the time the fog client is being installed before the system is sysprepped, which is causing us the most problems. So if the client installs but doesn’t start until the FOG Admins wants it to, that would eliminate that source of imaging pain. Also if we can keep the fog client from starting during reference image development, we can keep the fog client from tattooing to the defined FOG server until after OOBE is run (I’m not sure if there is a benefit there).

                          On the back end to turn the auto start service back on we could have a command line option for the fog client to start the client and enable the service that can be called from the setupcomplete.cmd file. Something like “c:\program files\fog\fogclient.exe /autostart” (I just made up the path and file name just as an example)

                          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 1
                          • 1 / 1
                          1 / 1
                          • First post
                            5/12
                            Last post

                          222

                          Online

                          12.1k

                          Users

                          17.3k

                          Topics

                          155.3k

                          Posts
                          Copyright © 2012-2024 FOG Project