Re: Remote Locking

From: Eric Perlin [MS] (ericperl_at_microsoft.com)
Date: 09/18/03


Date: Wed, 17 Sep 2003 19:46:42 -0700


As far as I know, there is no API to lock a computer remotely, not even one
to lock a given session on the local machine.
You are left with injecting a process running as the logged on user that
would call LockWorkStation.
There are various methods to create this process.

-- 
Eric Perlin [MS]
This posting is provided "AS IS" with no warranties, and confers no rights.
---
"Carl Meyer" <carlm@jmr.co.za> wrote in message
news:bk72o6$dce$1@ctb-nnrp2.saix.net...
> Hi,
>
> Looking to write an application that Locks the client workstation,
scenario:
>
> The user purchases PC time - The administrator unlocks the PC for a
> specified amount
> of time from a remote workstation using a code (password). This allows the
> user to work
> on the PC until time has expired in which case the administrative
> application locks the workstation again.
>
> An Internet Cafe scenario would be one example.
>
> What I am looking for is the call to remotely lock the workstation (via an
> administrator account). If no remote call is available to do this I wish
to
> use a local call which is issued by sending a client app (winsock) a
message
> to invoke the call.
>
> Regards
> Carl-Peter Meyer
> Encode Corporation South Africa
> "Eric Perlin [MS]" <ericperl@microsoft.com> wrote in message
> news:uatmrz7eDHA.3788@tk2msftngp13.phx.gbl...
> > Are you looking for LockWorkStation?
> > -- 
> > Eric Perlin [MS]
> > This posting is provided "AS IS" with no warranties, and confers no
> rights.
> > ---
> >
> > "Carl Meyer" <carlm@jmr.co.za> wrote in message
> > news:bk483e$pkt$1@ctb-nnrp2.saix.net...
> > > Hi,
> > >
> > > I am attempting to write an application that will allow an
administrator
> > to
> > > remotely lock a client PC. The lock is the equivalent to a log-off and
> the
> > > client PC can not be accessed until unlocked again by the
administrator
> > > (remotely). If need be an application can be resident on the client
> > > listening for messages from the administrator to initiate a Lock. The
> > calls
> > > can even be made locally once a particular message is received. Any
> ideas
> > on
> > > functions that I can use to Lock the PC - either a direct remote call
or
> a
> > > local API call?
> > >
> > > Regards
> > > Carl-Peter Meyer
> > > JMR Software
> > >
> > >
> >
> >
>
>


Relevant Pages

  • Re: Remote Locking
    ... > I am attempting to write an application that will allow an administrator ... > remotely lock a client PC. ... The lock is the equivalent to a log-off and the ... > functions that I can use to Lock the PC - either a direct remote call or a ...
    (microsoft.public.platformsdk.security)
  • Re: locking down Win2k
    ... lock down a workstation. ... You will have to configure group policy on each ... workstation by running mmc in the run box and adding the group policy snap ... group policy remotely as an administrator from ...
    (microsoft.public.win2000.security)
  • Re: Getting Hacked
    ... >How do I change the lock setting to a maunual unlock etc ... >workstation to workstation ... >>The Administrator account can't be locked out by ...
    (microsoft.public.windows.server.sbs)
  • Re: Help diagnosing a lockup
    ... Same problem, X seems to lock ... > up, (dont have another machine to remote into with) the pointer moves, ... >>Sadly I can't do a remote login here, this PC is not on a network. ... graphics controller, ...
    (Fedora)
  • Remote Locking
    ... I am attempting to write an application that will allow an administrator to ... remotely lock a client PC. ... The lock is the equivalent to a log-off and the ... functions that I can use to Lock the PC - either a direct remote call or a ...
    (microsoft.public.platformsdk.security)