• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Apr 12, 2016, 7:00 AM Apr 12, 2016, 10:37 AM

    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 Apr 12, 2016, 11:56 AM

      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 Apr 12, 2016, 12:19 PM

        … i assigned the Snapin at the Host.

        Hostmanagement->Host Menu->Snapin

        T 1 Reply Last reply Apr 12, 2016, 12:21 PM Reply Quote 0
        • T
          Tom Elliott @csieb
          last edited by Apr 12, 2016, 12:21 PM

          @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 Apr 12, 2016, 1:00 PM

            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 Apr 12, 2016, 1:02 PM

              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 Apr 12, 2016, 1:23 PM

                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 Apr 14, 2016, 8:36 AM Apr 14, 2016, 11:50 AM

                  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 Apr 14, 2016, 4:04 PM

                    @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 Apr 15, 2016, 7:38 AM

                      yep… snapinclient sleeping for 446 seconds. nothing else.

                      J 1 Reply Last reply Apr 15, 2016, 7:41 AM Reply Quote 0
                      • J
                        jayphizzle @csieb
                        last edited by Apr 15, 2016, 7:41 AM

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

                        C 3 Replies Last reply Apr 15, 2016, 11:35 AM Reply Quote 1
                        • C
                          csieb @jayphizzle
                          last edited by Apr 15, 2016, 11:35 AM

                          @jayphizzle

                          this is the client log.0_1460720119613_fog.log

                          1 Reply Last reply Reply Quote 0
                          • C
                            csieb @jayphizzle
                            last edited by Apr 15, 2016, 11:40 AM

                            @jayphizzle 0_1460720406416_fog.log

                            1 Reply Last reply Reply Quote 0
                            • C
                              csieb @jayphizzle
                              last edited by Apr 15, 2016, 11:50 AM

                              @jayphizzle 0_1460721026716_task.jpg

                              1 Reply Last reply Reply Quote 0
                              • C
                                csieb
                                last edited by Apr 19, 2016, 12:40 PM

                                any ideas? 🙂

                                I 1 Reply Last reply Apr 19, 2016, 3:42 PM Reply Quote 0
                                • I
                                  ITSolutions Testers @csieb
                                  last edited by Apr 19, 2016, 3:42 PM

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

                                  239

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project