net rpc shutdown - how to poweroff
newsletters at wm1.at
Mon Dec 16 18:35:59 GMT 2002
Thanks for your fast answer but that's not the problem.
rpc shutdown with windows2000 offers you four possibilities what you
want to do:
-logoff current user
-shutdown (which really shuts down w2k but doesn't power off)
-power off (if supported) (which does what I want)
and three methods how to deal with applications, which block the process:
-when no reaction
Window: my computer > administration > properties > extended > shutdown
The windows api also knows these different methods (look for
exitwindowsex on m$dn).
My problem is that remote shutdown from windows 2000 machines (german)
only works if the remote machine is in the same domain. The samba net
rpc shutdown command doesn't depend on that detail. However, it doesn't
solve my problem because I want to power off the machines to avoid disk
damage (8 hours but not more for "class C" drives says an Austrian IBM
branch) but that command doesn't offer you that different ways shutdown
James Willard wrote:
>Most PCs that use ATX power supplies will turn themselves off after a
>shutdown. If your PCs do, then using 'net rpc shutdown' should start the
>shutdown process, which once completed, the PC (not samba) is
>responsible for turning itself off. I have seen some ATX systems that
>won't turn themselves off and instead they sit at the w2k "Turn off
>Computer" screen. I haven't really messed with them enough to track down
>why. My guess is the motherboard doesn't support the "off" command, or
>the right w2k power management drivers weren't loaded.
>james at whispering.org
>From: samba-technical-admin at lists.samba.org
>[mailto:samba-technical-admin at lists.samba.org] On Behalf Of Willi Mann
>Sent: Monday, December 16, 2002 1:02 PM
>Subject: net rpc shutdown - how to poweroff
>Is there any possibility to not only shut down but to power off a remote
>(w2k) machine with the net rpc shutdown command?
>I'd really need it because some users tend to be too lazy to power off
>Please help me.
More information about the samba-technical