How to use Snapin to shutdown computer
-
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 /fWhat to do next? I go to snapins page on fog server
-
@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).
-
@jackiejack Don’t use snapins, use the shutdown command. It’s in the advanced commands section, right with image deployment/capture.
-
@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?
-
@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.
-
@wayne-workman Forgive me but exactly which option under the Advanced Options. Debug?
-
@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.
-
@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
-
@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.
-
@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).