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

How to use Snapin to shutdown computer

Scheduled Pinned Locked Moved Solved
General
2
9
2.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.
  • J
    JackieJack
    last edited by JackieJack Jan 5, 2018, 8:25 AM Jan 5, 2018, 2:21 PM

    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

    W 1 Reply Last reply Jan 5, 2018, 2:29 PM Reply Quote 0
    • J
      JackieJack @Wayne Workman
      last edited by JackieJack Jan 5, 2018, 1:57 PM Jan 5, 2018, 6:41 PM

      @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
      • W
        Wayne Workman @JackieJack
        last edited by Jan 5, 2018, 2:29 PM

        @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
        • J
          JackieJack
          last edited by Jan 5, 2018, 2:33 PM

          @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?

          W 1 Reply Last reply Jan 5, 2018, 4:51 PM Reply Quote 0
          • W
            Wayne Workman @JackieJack
            last edited by Wayne Workman Jan 5, 2018, 10:55 AM Jan 5, 2018, 4:51 PM

            @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 Jan 5, 2018, 5:11 PM Reply Quote 0
            • J
              JackieJack @Wayne Workman
              last edited by Jan 5, 2018, 5:11 PM

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

              W 1 Reply Last reply Jan 5, 2018, 6:25 PM Reply Quote 0
              • W
                Wayne Workman @JackieJack
                last edited by Wayne Workman Jan 5, 2018, 12:26 PM Jan 5, 2018, 6:25 PM

                @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 Jan 5, 2018, 6:33 PM Reply Quote 0
                • J
                  JackieJack @Wayne Workman
                  last edited by Jan 5, 2018, 6:33 PM

                  @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

                  W 1 Reply Last reply Jan 5, 2018, 6:34 PM Reply Quote 0
                  • W
                    Wayne Workman @JackieJack
                    last edited by Jan 5, 2018, 6:34 PM

                    @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 Jan 5, 2018, 6:41 PM Reply Quote 0
                    • J
                      JackieJack @Wayne Workman
                      last edited by JackieJack Jan 5, 2018, 1:57 PM Jan 5, 2018, 6:41 PM

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

                      150

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project