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

Windows 10 Client 0.11.4 Windows Service

Scheduled Pinned Locked Moved Solved
Bug Reports
6
32
9.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.
  • M
    Max Kern
    last edited by Jul 26, 2016, 12:50 PM

    Hi,
    i´ve seen a bug in the Fogservice of the new Fog Client.
    When the image Process is completed, the Client go for his Local Windows account, there, i see the Service “Fog Service” was not started. I searched in the Event Viewer and there it says that there was an Timeout (30 seconds) for Starting the Fog Service was reached. This only happens on slow Clients with an HDD, at Clients with SSD this is no Problem, because they are fast enough.
    Maybe you should fork the Start of the Service and go directly to the end of the ON Startup Method.

    I hope this helps and sorry for that bad English from a German guy;).

    Max

    1 Reply Last reply Reply Quote 0
    • J
      Joe Schmitt Senior Developer
      last edited by Aug 8, 2016, 9:03 PM

      v0.11.5 of the client prevents premature startups of the service. You will still need to disable the client before syprepping and restart the computer when sysprep is complete though (as described in the updated FOG Client wiki article).

      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
      • J
        Joe Schmitt Senior Developer
        last edited by Joe Schmitt Jul 26, 2016, 7:07 AM Jul 26, 2016, 1:07 PM

        The client already runs in a light weight environment to start up. As soon as a request to start is made it initializes just what is needed to transfer the workers to other threads and then responds to the service controller that is done (even before the entire service is fully initialized).

        Simply put I have done a lot of work in terms of preventing service controller stalls, so much so that what your describing does not sound like something I could fix in the code but rather a service configuation change.

        Please upload your fog.log file after a failed startup attempt if it exists. Also check for a zazzles.log in your fog program files directory. This log file is a fail safe logging mechanism incase things go terribly wrong.

        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 0
        • M
          Max Kern
          last edited by Jul 26, 2016, 1:27 PM

          Hi,
          there is the Log 0_1469538827543_fog.log , but maybe you see that it is from 14:36 and her now it is 15:15. After i started the Service, the Client Reboots and Joining the Domain.

          I also see, that after a bit of Time (10 min) the other Clients start the Service and so they join the Domain and so on. After that the Service is running good.

          Another solution i figured out is to set the On Start Timeout higher than 30 seconds.

          Therer is no zazzles log, so i think everything is good.

          Here you have a Screenshot from the StartupScript and the Event Viewer(only in German).0_1469539508504_Unbenannt.jpg
          There it says, that the Timeout for Startup the FogServices is over.

          1 Reply Last reply Reply Quote 0
          • J
            Joe Schmitt Senior Developer
            last edited by Joe Schmitt Jul 26, 2016, 7:29 AM Jul 26, 2016, 1:29 PM

            @Max-Kern I didn’t realize this was post sysprep. I’m assuming the client starts properly if you just restart the machine?

            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.

            M 1 Reply Last reply Jul 26, 2016, 1:49 PM Reply Quote 0
            • M
              Max Kern @Joe Schmitt
              last edited by Jul 26, 2016, 1:49 PM

              @Joe-Schmitt sorry for that bad Reply.

              No the Client don´t start if i reboot the machine, i must start it or wait until the System will start it. After first Start of the Service it allways will start. I think there are some initial things your service is doing, so the start need time.
              I will set the Start Type in the Script to automatic delayed and maybe it will work better.
              At one Client it worked, now i will look if this work for an Deployment.

              J 1 Reply Last reply Jul 26, 2016, 1:51 PM Reply Quote 0
              • J
                Joe Schmitt Senior Developer @Max Kern
                last edited by Jul 26, 2016, 1:51 PM

                @Max-Kern said in Windows 10 Client 0.11.4 Windows Service:

                No the Client don´t start if i reboot the machine, i must start it or wait until the System will start it

                I’m confused. So the system is or is not automatically starting the client without any changes to the stock service configuration?

                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.

                M 1 Reply Last reply Jul 26, 2016, 1:55 PM Reply Quote 0
                • M
                  Max Kern @Joe Schmitt
                  last edited by Jul 26, 2016, 1:55 PM

                  @Joe-Schmitt The System wont start it on Startup, because he says after 30 Seconds, that the On Start takes to long. After the Startup, if the machine is in idle, suddendly the Service will be started.

                  1 Reply Last reply Reply Quote 0
                  • J
                    Joe Schmitt Senior Developer
                    last edited by Jul 26, 2016, 1:57 PM

                    @Max-Kern as soon as the client fails to start, what is the status of the dnscache 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.

                    M 1 Reply Last reply Jul 26, 2016, 2:07 PM Reply Quote 0
                    • M
                      Max Kern @Joe Schmitt
                      last edited by Jul 26, 2016, 2:07 PM

                      @Joe-Schmitt it is running also the DHCP Service

                      1 Reply Last reply Reply Quote 0
                      • J
                        Joe Schmitt Senior Developer
                        last edited by Jul 26, 2016, 2:40 PM

                        @Max-Kern you said the client automatically starts if the computer is idle. How long do you have to wait for that to happen?

                        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.

                        M 1 Reply Last reply Jul 26, 2016, 2:53 PM Reply Quote 0
                        • M
                          Max Kern @Joe Schmitt
                          last edited by Max Kern Jul 26, 2016, 8:55 AM Jul 26, 2016, 2:53 PM

                          @Joe-Schmitt Sometimes 5 min, 10 min at some Clients longer(hours) but nothing under about 5 min

                          1 Reply Last reply Reply Quote 0
                          • J
                            Joe Schmitt Senior Developer
                            last edited by Joe Schmitt Jul 26, 2016, 8:58 AM Jul 26, 2016, 2:58 PM

                            @Max-Kern sounds like a bad windows configuration to me. This would not be caused by the clients code base. It sounds like your service controller is messed up or the fog service definition / dependencies are bad.

                            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.

                            M 1 Reply Last reply Jul 26, 2016, 3:03 PM Reply Quote 0
                            • M
                              Max Kern @Joe Schmitt
                              last edited by Max Kern Jul 26, 2016, 9:04 AM Jul 26, 2016, 3:03 PM

                              @Joe-Schmitt maybe, but on the machine with the ssd´s it work well(i have tested it 5 minutes ago with a deployment of 25 clients). Now one deployment with the start type “delayed-auto” it works on the clients with hdd, i will do a full deployment for the 20 Clients now and tell you if it works with this settings.

                              1 Reply Last reply Reply Quote 0
                              • J
                                Joe Schmitt Senior Developer
                                last edited by Joe Schmitt Jul 26, 2016, 9:12 AM Jul 26, 2016, 3:09 PM

                                @Max-Kern that also indicates an incorrect service configuration. I’m not denying that it could be a coding issue, but your issue fits a service configuration issue in every regard. None of the service controller stall prevention code base is being initialized, none of the eager JIT compiler response time minimizers are running, the offloaded worker threads aren’t kicking in, and the IPC bus isn’t initializing. This all indicates that the service controller is misbehaving.

                                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.

                                M 1 Reply Last reply Jul 26, 2016, 4:35 PM Reply Quote 0
                                • M
                                  Max Kern @Joe Schmitt
                                  last edited by Max Kern Jul 26, 2016, 10:35 AM Jul 26, 2016, 4:35 PM

                                  @Joe-Schmitt with the delayed-auto option it works fine for the slow machiens, maybe there is a Problem with the configuration of the Service Controller (but why this is the only service and why on the other clients it work?). I think the Fog Services is start very early and waiting for dependence (i dont know which, so i cant say anything to it) maybe a network or somthing else, and at startup this dependence first must initialize befor it can go on, that would explain why this is working with delayed start of the service, because all dependence are loaded, this also will explain why it will start if the machine has loaded the gui and all other stuff.

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    RLane
                                    last edited by Jul 28, 2016, 4:56 PM

                                    Cross posting here:

                                    https://forums.fogproject.org/topic/8206/0-11-4-rc4-ad-question/

                                    Same issue I’m having. You marked it as solved, I’m assuming you just set the service to start as delayed prior to sysprepping and that solved it?

                                    x23piracyX M 2 Replies Last reply Jul 28, 2016, 5:08 PM Reply Quote 0
                                    • x23piracyX
                                      x23piracy @RLane
                                      last edited by x23piracy Jul 28, 2016, 11:13 AM Jul 28, 2016, 5:08 PM

                                      @RLane you should not use delayed-auto if so there is a race condition for breaking the image when deploying, for some machines you could have luck and for some maybe you will get an error.

                                      In short when using OEM you can’t use SetupComplete.cmd without calling it by unattend.xml section firstlogoncommands.
                                      If you are not using OEM you can use SetupComplete.cmd as normal but stay away from delayed auto.

                                      @Tom-Elliott @Joe-Schmitt Could someone add this information to the wiki?
                                      If OEM call setupcomplete.cmd via unattend.xml section firstlogoncommands
                                      if no OEM use Setupcomplete.cmd as normal

                                      Check here: https://forums.fogproject.org/post/74436

                                      Regards X23

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

                                      R 1 Reply Last reply Jul 28, 2016, 5:27 PM Reply Quote 1
                                      • R
                                        RLane @x23piracy
                                        last edited by Jul 28, 2016, 5:27 PM

                                        @x23piracy I’m not using OEM. I’m using a KMS key - Windows 10 x64 for Education. I had no issue with the same setupcomplete.cmd and unattend file with 0.11.2. After upgrading to the RC’s, it began to give me issues.

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Max Kern @RLane
                                          last edited by Jul 28, 2016, 5:31 PM

                                          @RLane Hi,
                                          Yes this worked for me very well on about 60 machines.
                                          I put the delayed-auto into the SetupComplete an deactivate the Service like it says the wiki.

                                          x23piracyX 1 Reply Last reply Jul 28, 2016, 5:37 PM Reply Quote 0
                                          • J
                                            Joe Schmitt Senior Developer
                                            last edited by Joe Schmitt Jul 28, 2016, 11:33 AM Jul 28, 2016, 5:33 PM

                                            I will look into this when I get a chance. Could you describe in detail the hardware that has this issue and the OS config (e.g. if its sysprep please provide the unattend and setup complete) also the exact OS info. I need to figure out how to replicate this on my vms.

                                            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.

                                            M 2 Replies Last reply Jul 28, 2016, 5:56 PM Reply Quote 1
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            190

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project