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

    Uninstall FOG-Client (Service) after deploying with Snapin?

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    16
    6.8k
    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.
    • C
      csieb
      last edited by csieb

      Hi,

      i like the project very much. But now i’m struggling a little bit. I hope someone can help…

      After deploying 80 PCs with Sysprep, HostnameChange etc. etc. i need to clean the machines. Clean means it is not allowed any other software is installed exept a few on a list. Unfortunately FOG Service is not on the list. So i have to remove the FOG-Client from every machine after the deploy process.

      So what i did…

      I created a cmd File with content and added it as a snapin to a host:
      wmic product where name=”FOG Service” call uninstall /nointeractive

      But nothing happened even in the Logfile. “Snapinmanager says 499 second sleep”

      What am i doing wrong? Is there a better way to remove “FOG Service” automaticly?

      Thank you
      Regards
      Chris

      1 Reply Last reply Reply Quote 0
      • J
        jayphizzle
        last edited by

        Did you only “add” the snapin or do you also deployed it to the client(s) ?
        (for v1.2: <Host> -> Basic Tasks -> Advanced -> Single Snapin)

        1 Reply Last reply Reply Quote 0
        • C
          csieb
          last edited by

          … i assigned the Snapin at the Host.

          Hostmanagement->Host Menu->Snapin

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

            @csieb Once assigned, you need to tell the host to run that snapin.

            This can be done with Host->Basic Tasks->Advanced Tasks->All/Single Snapin task.

            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

            1 Reply Last reply Reply Quote 0
            • C
              csieb
              last edited by

              yupp the task is running. But the unistall doesnt work. i think the wmic command doesnt work.

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

                Can you take a screenshot of the snapin settings? (The run with, run with args, … )

                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
                • C
                  csieb
                  last edited by

                  Ok problem solved. It was a wmic command issue.

                  thats the correct line in .cmd file to uninstall “Fog Service”

                  wmic product where name=‘FOG Service’ call uninstall /nointeractive

                  thank you guys
                  chris

                  1 Reply Last reply Reply Quote 1
                  • C
                    csieb
                    last edited by csieb

                    Sorry again,

                    The problem isnt realy solved. The wmic command now work localy but via snapin task it doesn’t. The task doesn’t start even if i restart the service on client or reboot the client.

                    Under tasks->Snapin task-> state=queued

                    (i have no DNS Server setped in this subnet.)

                    plz can you help me?

                    regards
                    chris

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by

                      @csieb Checked the client log?

                      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

                      1 Reply Last reply Reply Quote 0
                      • C
                        csieb
                        last edited by

                        yep… snapinclient sleeping for 446 seconds. nothing else.

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          jayphizzle @csieb
                          last edited by

                          @csieb could you please post/upload your fog logfile.

                          C 3 Replies Last reply Reply Quote 1
                          • C
                            csieb @jayphizzle
                            last edited by

                            @jayphizzle

                            this is the client log.0_1460720119613_fog.log

                            1 Reply Last reply Reply Quote 0
                            • C
                              csieb @jayphizzle
                              last edited by

                              @jayphizzle 0_1460720406416_fog.log

                              1 Reply Last reply Reply Quote 0
                              • C
                                csieb @jayphizzle
                                last edited by

                                @jayphizzle 0_1460721026716_task.jpg

                                1 Reply Last reply Reply Quote 0
                                • C
                                  csieb
                                  last edited by

                                  any ideas? 🙂

                                  I 1 Reply Last reply Reply Quote 0
                                  • I
                                    ITSolutions Testers @csieb
                                    last edited by

                                    @csieb Can you try using the FOGService.msi file as the snapin file and then running
                                    FOGService.msi /quiet /uninstall

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

                                    180

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project