Re: Lock XP Workstation Programmatically
From: Torgeir Bakken (MVP) (Torgeir.Bakken-spam_at_hydro.com)
Date: 05/07/03
- Next message: Jupiter Jones [MVP]: "Re: XP automatic updates"
- Previous message: JG: "pop up included in Win XP"
- In reply to: Marcelo: "Lock XP Workstation Programmatically"
- Next in thread: sqr: "Re: Lock XP Workstation Programmatically"
- Reply: sqr: "Re: Lock XP Workstation Programmatically"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 07 May 2003 02:39:02 +0200
Marcelo wrote:
> I'm developing a software to manage a Lan House. One of the issues I'm
> struggling with is how to password lock the client workstation after
> his time has expired. The first thing that came to my mind was to use
> a screensaver, this approach works if the user is using 'normal'
> desktop applications, but the screensaver is not activated if the user
> is running a game like warcraft III or Counter Strike (the most played
> games). Do any of you have an idea of what can I do to solve this
> problem?
Hi
Try
%SystemRoot%\System32\rundll32.exe user32.dll,LockWorkStation
(same as Window Key-L). Note that the part after the comma is case sensitive.
-- 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
- Next message: Jupiter Jones [MVP]: "Re: XP automatic updates"
- Previous message: JG: "pop up included in Win XP"
- In reply to: Marcelo: "Lock XP Workstation Programmatically"
- Next in thread: sqr: "Re: Lock XP Workstation Programmatically"
- Reply: sqr: "Re: Lock XP Workstation Programmatically"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|