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

    Solved How to use Snapin to shutdown computer

    General
    2
    9
    1570
    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.
    • J
      JackieJack last edited by JackieJack

      A better title would be what the heaven are snapins.

      I want to remotely shutdown any computer that is running fog service. Remotely shutdown when I want/at the click of a button

      I created a batch file

      shut.bat
      shutdown /s /f

      What to do next? I go to snapins page on fog server

      Wayne Workman 1 Reply Last reply Reply Quote 0
      • J
        JackieJack @Wayne Workman last edited by JackieJack

        @wayne-workman lol it shutdown 😄

        To shutdown a computer remotely (immediately) in FOG management web gui:

        Go to hosts, list all hosts, click on host, choose Power Management from list on left hand side, and choose shutdown immediately (add option).

        1 Reply Last reply Reply Quote 1
        • J
          JackieJack @Wayne Workman last edited by JackieJack

          @wayne-workman lol it shutdown 😄

          To shutdown a computer remotely (immediately) in FOG management web gui:

          Go to hosts, list all hosts, click on host, choose Power Management from list on left hand side, and choose shutdown immediately (add option).

          1 Reply Last reply Reply Quote 1
          • Wayne Workman
            Wayne Workman @JackieJack last edited by

            @jackiejack said in How to use Snapin to shutdown computer:

            Then when I check back my list of hosts tasks, I don’t see it listed

            There’s different task lists. Look on the left of Task Management and go through all of those. Also - if the task has completed, then it will not be in any of those lists anymore.

            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/

            J 1 Reply Last reply Reply Quote 0
            • J
              JackieJack @Wayne Workman last edited by

              @wayne-workman I go to power management, click on add option to shutdown immediately. Then when I check back my list of hosts tasks, I don’t see it listed

              Wayne Workman 1 Reply Last reply Reply Quote 0
              • Wayne Workman
                Wayne Workman @JackieJack last edited by Wayne Workman

                @jackiejack It’s the one that says shutdown. There’s also the power management area for hosts that does the same thing. At my current job, I don’t have a FOG Server handy so I can’t go look, so I rely on memory while I’m at work to help out here on the forums. Just carefully read each of the advanced actions, and carefully look through the host’s menu. You’ll find it.

                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/

                J 1 Reply Last reply Reply Quote 0
                • J
                  JackieJack @Wayne Workman last edited by

                  @wayne-workman Forgive me but exactly which option under the Advanced Options. Debug?

                  Wayne Workman 1 Reply Last reply Reply Quote 0
                  • Wayne Workman
                    Wayne Workman @JackieJack last edited by Wayne Workman

                    @jackiejack Yep, that’s the one. Also, the immediate shutdown action will happen the next time the fog client on that host checks with the server. The default check-in sleep time is 30 seconds - so once you create an immediate action, it will begin happening anywhere from 0 to 30 seconds later. The minimum value for the sleep time is 30 seconds, even if you set it lower. So just be aware of that. People with thousands of deployed fog clients set the client sleep time higher - like 5 minutes, 15 minutes, or one hour - to reduce server load.

                    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/

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

                      @wayne-workman said in How to use Snapin to shutdown computer:

                      @jackiejack Don’t use snapins, use the shutdown command. It’s in the advanced commands section, right with image deployment/capture.

                      You mean under advance actions?

                      Wayne Workman 1 Reply Last reply Reply Quote 0
                      • Wayne Workman
                        Wayne Workman @JackieJack last edited by

                        @jackiejack Don’t use snapins, use the shutdown command. It’s in the advanced commands section, right with image deployment/capture.

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

                        184
                        Online

                        10.4k
                        Users

                        16.4k
                        Topics

                        150.5k
                        Posts

                        Copyright © 2012-2023 FOG Project