Is it possible to do remote logoffs on winxp clients without using wmi?

The reason I don't want to use wmi is that wmi fails if the wbem\repository
directory becomes corrupt, which it does from time to time.

Re: Remote logoff - is it possible? by Torgeir

Torgeir
Tue Mar 15 10:02:57 CST 2005

D.P. Roberts wrote:

> Is it possible to do remote logoffs on winxp clients without using wmi?
>
> The reason I don't want to use wmi is that wmi fails if the wbem
> \repository directory becomes corrupt, which it does from time to time.
Hi

PsShutdown.exe is in the free PsTools suite:
http://www.sysinternals.com/ntw2k/freeware/pstools.shtml

It can take a file with computer names as input as well.


BeyondExec does also have the ability to shutdown groups of computers
(multiple computer support is handled by multi-threaded routines
speeding up the issuing of jobs):

http://www.beyondlogic.org/consulting/remoteprocess/BeyondExec.htm


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

Re: Remote logoff - is it possible? by Al

Al
Wed Mar 16 00:38:19 CST 2005


"Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
news:%23hoGYiXKFHA.1308@TK2MSFTNGP15.phx.gbl...
> D.P. Roberts wrote:
>
> > Is it possible to do remote logoffs on winxp clients without using wmi?
> >
> > The reason I don't want to use wmi is that wmi fails if the wbem
> > \repository directory becomes corrupt, which it does from time to time.
> Hi
>
> PsShutdown.exe is in the free PsTools suite:
> http://www.sysinternals.com/ntw2k/freeware/pstools.shtml
>
> It can take a file with computer names as input as well.
>
>
> BeyondExec does also have the ability to shutdown groups of computers
> (multiple computer support is handled by multi-threaded routines
> speeding up the issuing of jobs):
>
> http://www.beyondlogic.org/consulting/remoteprocess/BeyondExec.htm

If you are running the script on an XP system, you could try using the
CMD.EXE command, shutdown, which also accepts a computername parameter.

/Al



Re: Remote logoff - is it possible? by Torgeir

Torgeir
Wed Mar 16 00:59:14 CST 2005

Al Dunbar [MS-MVP] wrote:

> "Torgeir Bakken (MVP)" <Torgeir.Bakken-spam@hydro.com> wrote in message
> news:%23hoGYiXKFHA.1308@TK2MSFTNGP15.phx.gbl...
>
>>D.P. Roberts wrote:
>>
>>
>>>Is it possible to do remote logoffs on winxp clients without using wmi?
>>>
>>>The reason I don't want to use wmi is that wmi fails if the wbem
>>>\repository directory becomes corrupt, which it does from time to time.
>>
>>Hi
>>
>>PsShutdown.exe is in the free PsTools suite:
>>http://www.sysinternals.com/ntw2k/freeware/pstools.shtml
>>
>>It can take a file with computer names as input as well.
>>
>>
>>BeyondExec does also have the ability to shutdown groups of computers
>>(multiple computer support is handled by multi-threaded routines
>>speeding up the issuing of jobs):
>>
>>http://www.beyondlogic.org/consulting/remoteprocess/BeyondExec.htm
>
>
> If you are running the script on an XP system, you could try using the
> CMD.EXE command, shutdown, which also accepts a computername parameter.
Hi,

Yes, but it have it's issues, so I usually refer people to the other
ones that work better.


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx