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

Fog Service token and Service Startup Problem after Image Rollout

Scheduled Pinned Locked Moved Solved
Windows Problems
4
11
3.6k
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
    last edited by x23piracy May 13, 2016, 6:14 AM May 13, 2016, 8:27 AM

    Hi,

    i have a syspreped Windows 10 Image with a preinstalled Fog Client in it.
    When i deploy the image and check the log it will always tells me could not get security token.

    Afai remember this will be gone after a reboot and client start working.

    What is the best way to deploy the fog service, just install and sysprep? Should i bring it to a clean state? If yes how?
    Another strange thing is that the fog service seems to not autostarting after deployment, the service is set to automatic but it will not start itself afai can see, the most strange thing is service is not running but fog client process is running in task manager.

    Please help

    Regards X23

    EDIT1:

    Hi,

    i uninstalled the fogservice and reinstalled it now the service will autostart.
    Maybe its wrong to just install fog service in a master image and then deploy it?

    Please tell me what is the right way to integrate fog service into an image?

    Is it maybe a problem to choose the option to hide the fogservice icon?
    I did that before when integrated into the image.

    Regards X23

    EDIT2:

    Hi,

    ok i rechecked it and the problem with the service is the following:
    After deployment FOGUserService.exe is running but FOGService.exe (service is not started)

    Before i created the image i just installed fog service on the client.

    Any idea why the service is not starting by itself? When i start the service manually it works and i immediatelly get a fog.log in client directory.

    I have installed fog without icon and with log in fog service directory.

    Regards X23

    EDIT3:

    I created a new image where fog service is installed but never started, when i now deploy that image the service will still not start, only the fog userservice starts, when i manually start the fogservice it works.

    Why will the Fog service not autostart when integrated in the image? I don’t understand this behaviour.

    Regards X23

    1 Reply Last reply Reply Quote 0
    • X
      x23piracy
      last edited by x23piracy May 13, 2016, 2:43 AM May 13, 2016, 8:43 AM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • X
        x23piracy
        last edited by x23piracy May 13, 2016, 2:58 AM May 13, 2016, 8:52 AM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • X
          x23piracy
          last edited by May 13, 2016, 2:02 PM

          Hi,

          it seems that i have to delete the security id’s in database when deploying again and again to test an image.
          Is there no way to remove the security entry for a particular host over the web interface?

          Regards X23

          1 Reply Last reply Reply Quote 0
          • W
            Wayne Workman
            last edited by May 13, 2016, 6:23 PM

            Ok. You’ve asked a lot of questions.

            the security token thing - reset the encryption for that host. It’s in the web gui, in the host’s basic settings.

            Also - disable the fog service before sysprep, and configure setupcomplete.cmd to start the service back up post-deployment. Instructions can be found 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 2 Replies Last reply May 15, 2016, 7:38 PM Reply Quote 0
            • X
              x23piracy @Wayne Workman
              last edited by x23piracy May 15, 2016, 1:40 PM May 15, 2016, 7:38 PM

              @Wayne-Workman could you please tell me where the link is to reset the token for a single machine?
              Maybe i am blind but i cannot see anything i would take for resetting the token thing.

              alt text

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by May 15, 2016, 8:52 PM

                @x23piracy the reset encryption data is found under the “General” portion of the host edit page.

                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 May 16, 2016, 7:37 AM Reply Quote 2
                • X
                  x23piracy @Tom Elliott
                  last edited by May 16, 2016, 7:37 AM

                  @Tom-Elliott god damnit i really was blind sorry for this:
                  alt text

                  M 1 Reply Last reply Mar 5, 2019, 4:01 PM Reply Quote 0
                  • X
                    x23piracy @Wayne Workman
                    last edited by x23piracy May 16, 2016, 2:47 AM May 16, 2016, 7:44 AM

                    @Wayne-Workman i have tried disabling fogservice and creating a setupcomplete.cmd but it seems that it will never be launched, after login i can see that fogservice is still disabled.

                    I created it under C:\Windows\Setup\Script\SetupComplete.cmd
                    Microsoft KB let me now that SetupComplete.cmd will not been executed when using OEM Key, for this reason i removed the install key i used with slmgr.vbs /cpky and /upk but anyway SetupComplete.cmd is not executed.

                    Since that was not working i tried FirstLogonCommands in unattend.xml but even this is not working, i also do two registry tweaks with FirstLogonCommand, they work but setting FOGService to delayed-auto and service start not.

                    My last try was a unattend.xml that will autologon once the local admin i create with the unattend.xml file and placed a cmd script into Start Menu > Autostart to reenable FOGService but also this method even does not work.

                    Now i stuck:

                    • My SetupComplete.cmd does not seem to be executed for an unknown reason
                    • FIrstLogonCommands does not work to reenable FOGService
                    • AutoLogon from local Admin (unattend.xml) and a cmd script in Start Menu > Autostart not working.

                    Why should i disable FOGService before Imaging? the last thing before i get to sleep last night was to let the service enabled but with delayed start, after sysprepping and rerun on the same vm setup was running clean and after logon fogservice was started.

                    Is it really needed to disable FOGService before doing image tasks?

                    I am screwed 😞

                    EDIT:

                    Something else i could find on the web:
                    alt text

                    I am using Windows Media Creation tool to get a windows 10 iso, we are using BIOS embedded or bought Windows 10 Pro OEM Licenses.
                    What can i do?

                    Regards X23

                    W 1 Reply Last reply May 16, 2016, 12:33 PM Reply Quote 1
                    • W
                      Wayne Workman @x23piracy
                      last edited by May 16, 2016, 12:33 PM

                      @x23piracy Sometimes, when your unattend.xml (and any other processes) during post-deployment are happening, the fog client will interrupt the process with a host rename and reboot. This is why we recommend to disable it. Setting it to delayed start could be a solution for you, but you’d sort of be playing with fire, especially on slower machines where the delay isn’t long enough to allow post-deployment processes to happen.

                      Maybe someone else has an idea.

                      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 1
                      • M
                        mkoliva15 @x23piracy
                        last edited by Mar 5, 2019, 4:01 PM

                        @x23piracy What does this do? Does this allow the FOG service to be re-enabled?

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

                        253

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project