[Tutor] Need help with registry access

Lie Ryan lie.1296 at gmail.com
Fri May 8 08:49:42 CEST 2009


spir wrote:
> Le Fri, 8 May 2009 01:20:32 +0100,
> "Alan Gauld" <alan.gauld at btinternet.com> s'exprima ainsi:
> 
>> "Christopher Barkley" <expression1987 at comcast.net> wrote 
>>
>>> My friend and I are techies, he's on my LAN. I want to disable 
>>> his keyboard through the registry (or some other fun way) 
>>> while he's in the middle of playing starcraft by running a 
>>> script through the LAN. 
> 
>> Look at the winreg module for accessing the registry.
>>
>> How you do it over the LAN and how you disable the keyboard 
>> I'll leave as an exercise for your investigation!
>>
>> One other option is to look into using WSH via the pythonwin 
>> or ctypes API.
>>
> 
> If he can do that, I'm really happy not to be a windozista!
> 

It is trivial if he can get physical access to the computer and can 
install a software that will listen to a certain port to hear when to 
shut off the keyboard. Well, if you can get physical access to the 
computer, pretty much anything is possible...



More information about the Tutor mailing list