The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: OT Force network logout


  • To: <ukha_d@xxxxxxx>
  • Subject: RE: OT Force network logout
  • From: "Stuart Whyte" <lists@xxxxxxx>
  • Date: Tue, 1 Jul 2003 23:45:31 +0100
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

One of the twats at our Cardiff office had left their machine logged on and
went home, while hogging the licence for our scanning software :@

Did the job tho!

S.

-----Original Message-----
From: Sullivan, Glenn [mailto:gsullivan@xxxxxxx]
Sent: 01 July 2003 18:45
To: 'ukha_d@xxxxxxx'
Subject: RE: [ukha_d] OT Force network logout


No problem.

Mind my asking the purpose?  I just used it too, but it was to f*&k
with my
co-worker...

Glenn Sullivan, MCSE+I  MCDBA
David Clark Company Inc.

-----Original Message-----
From: Stuart Whyte [mailto:lists@xxxxxxx]
Sent: Tuesday, July 01, 2003 12:26 PM
To: 'ukha_d@xxxxxxx'
Subject: RE: [ukha_d] OT Force network logout


Glenn,

Works a treat, thank you.

S.

> -----Original Message-----
> From: Sullivan, Glenn [mailto:gsullivan@xxxxxxx]
> Sent: 01 July 2003 17:06
> To: 'ukha_d@xxxxxxx'
> Subject: RE: [ukha_d] OT Force network logout
>
>
> Open mouth, insert foot.
>
> Here is a script that does just what you want.
>
> <------start script----->
> Const EWX_LOGOFF = 0
> Const EWX_SHUTDOWN = 1
> Const EWX_REBOOT = 2
> Const EWX_FORCE = 4
> Const EWX_POWEROFF = 8
>
> strComputer="SalesLaptop"
>
> wmiPath = "winmgmts:{(RemoteShutdown)}!//" & strComputer
&
> "/root/cimv2"
>
> Set wmi = GetObject(wmiPath)
> set objOSset = wmi.instancesof("win32_operatingsystem")
>
> nOptions = EWX_LOGOFF + EWX_FORCE
> for each objOS in objOSset
> 	objOS.win32shutdown nOptions
> next
> <-----End Script---->
>
> Hope this helps.  Change the strComputer= line to match the
> computer name
> you want to log off.
>
> Glenn Sullivan, MCSE+I  MCDBA
> David Clark Company Inc.
>
> -----Original Message-----
> From: Sullivan, Glenn [mailto:gsullivan@xxxxxxx]
> Sent: Tuesday, July 01, 2003 11:49 AM
> To: 'ukha_d@xxxxxxx'
> Subject: RE: [ukha_d] OT Force network logout
>
>
> Not to my knowledge, but there is a screen saver in the
> resource kit called
> LOGOFF.scr that will do this after a period of time.
>
> So, with remote access to the registry, you could set this as
> the screen
> saver, set the time to one minute, and wait...
>
> HTH,
>
> Glenn Sullivan, MCSE+I  MCDBA
> David Clark Company Inc.
>
> -----Original Message-----
> From: Stuart Whyte [mailto:lists@xxxxxxx]
> Sent: Tuesday, July 01, 2003 11:49 AM
> To: UKHA (E-mail)
> Subject: [ukha_d] OT Force network logout
>
>
> Quickie,
>
> Is it possible to force a remote machine (Win 2k Pro) on a network to
> logout??  (i.e. send a command from machine 1 to get machine
> 2 to logout.)
> Admin permissions not a problem.
>
> Ta
>
> Stuart
>
>
>
>
> **************************************************************
> Franklin + Andrews is a business name of Franklin & Andrews
Limited
> (Registered in England No 4408389), whose registered office
> is at St Anne
> House, Wellesley Road, Croydon, CR9 2UL
>
> This email message and accompanying data transmitted with it
> are for the
> sole use of the intended recipient(s) and may contain
> information that is
> confidential. If you are not the intended recipient(s), you
> are notified
> that any use, dissemination, disclosure, distribution or
> copying of this
> message or data is prohibited.  If you have received this
> email message in
> error, please notify us immediately and erase all copies of
> this message
> and attachments.
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ** UKHA2004 BE THERE! ** - start planning now.
>
> http://www.automatedhome.co.uk
> Post message: ukha_d@xxxxxxx
> Subscribe:  ukha_d-subscribe@xxxxxxx
> Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
> List owner:  ukha_d-owner@xxxxxxx
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/



** UKHA2004 BE THERE! ** - start planning now.

http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



** UKHA2004 BE THERE! ** - start planning now.

http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


**************************************************************
Franklin + Andrews is a business name of Franklin & Andrews Limited
(Registered in England No 4408389), whose registered office is at St Anne
House, Wellesley Road, Croydon, CR9 2UL

This email message and accompanying data transmitted with it are for the
sole use of the intended recipient(s) and may contain information that is
confidential. If you are not the intended recipient(s), you are notified
that any use, dissemination, disclosure, distribution or copying of this
message or data is prohibited.  If you have received this email message in
error, please notify us immediately and erase all copies of this message
and attachments.


[Non-text portions of this message have been removed]



** UKHA2004 BE THERE! ** - start planning now.

http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



** UKHA2004 BE THERE! ** - start planning now.

http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/






Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.