Re: Reboot on logout



I don't know if this will help Colin but try using PsShutdown instead of
shutdown to see if that works or not as it has worked for me in situations
where logoff or shutdown did not. It is free from SysInternals/Microsoft.

Steve

http://www.sysinternals.com/Utilities/PsShutdown.html

"Colin Bruce" <ColinBruce@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:722A6057-FFE6-4F7C-B360-847FEF0A8A9D@xxxxxxxxxxxxxxxx
Dear All,

I hope someone can offer some advice. I have about 4,000 PCs running XP
SP1
and SP2 connected to a Windows 2003 domain. I would like to be able to
make
them shutdown or reboot when people logout. I thought this would be easy -
just create a logout script and put the code to do a shutdown in it. If I
just run the code while I am logged in it works but if I run it while
logging
out it doesn't. Somehow, it knows a logout is in progress and ignores the
shutdown command. I have tried all sorts of things but none of them work.
I
tried scheduling a reboot by hand (shutdown.exe /r /t 30) before I logged
out and that worked but if I do that within the logout script it also
doesn't
work. Does anyone know a way round this?

Best wishes....
Colin Bruce


.



Relevant Pages

  • Re: Reboot on logout
    ... Thanks for letting us know that it worked as you wanted. ... Thanks for the reply and suggestion - it worked perfectly. ... where logoff or shutdown did not. ... just create a logout script and put the code to do a shutdown in it. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Netzwerkproblem
    ... Windows NT/2K/XP does not come with a built-in command-line shutdown ... PsShutdown is a clone of the Resource Kit shutdown tool, ...
    (microsoft.public.de.german.windowsxp.sonstiges)
  • Re: Remote Shutdown
    ... PSShutdown is a utility which works for Win2K/NT only. ... shutdown only if he has sufficient right on the server or workstation. ... It works using RPC service, so it is not possible to stop this, unless until ... Subject: Remote Shutdown ...
    (Focus-Microsoft)
  • Re: Automatic Logoff
    ... You can use PsShutdown to log off or shutdown a remote or local computer. ...
    (microsoft.public.windows.group_policy)
  • Shutdown remotely
    ... How can I shutdown that remotely? ... PsShutdown v2.52 - Shutdown, logoff and power manage local and remote ... Couldn't access MARS: ...
    (microsoft.public.windowsxp.general)