1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Disabling keyboard & Mouse

Discussion in 'Legacy Windows' started by masibm, 2002/12/03.

Thread Status:
Not open for further replies.
  1. 2002/12/03
    masibm

    masibm Inactive Thread Starter

    Joined:
    2002/12/03
    Messages:
    3
    Likes Received:
    0
    I am trying to disable the mouse and the keyboard on windows 2k and xp from cmd or a batch file, I used to do this in win 98/95 using the following commands:

    RUNDLL KEYBOARD,DISABLE
    RUNDLL MOUSE,DISABLE

    Do you know of any commands that do the same job??

    Thanks for your efforts
     
  2. 2002/12/04
    Steve R Jones

    Steve R Jones SuperGeek Staff

    Joined:
    2001/12/30
    Messages:
    12,317
    Likes Received:
    252
    Try Rundll32
     

  3. to hide this advert.

  4. 2002/12/04
    masibm

    masibm Inactive Thread Starter

    Joined:
    2002/12/03
    Messages:
    3
    Likes Received:
    0
    Thanks Steve,

    But it does not work.

    I can use
    RUNDLL32 USER32.DLL,SwapMouseButton which will swap the mouse button but thats as far as I could get????
     
  5. 2002/12/05
    Newt

    Newt Inactive

    Joined:
    2002/01/07
    Messages:
    10,974
    Likes Received:
    2
    RunDLL32.EXE MOUSE,disable is supposed to work on 2K/XP from what I read. Never tried it though.

    And on Here are a couple of vB scripts that are supposed to do what you want. Again, never tried.

    Big difference between 9X and NT systems is the NT systems don't allow any apps to make direct hardware calls. They run a HAL (hardware abstraction layer) that is supposed to trap all such calls and perform the operation in a fashion that is safe for the NT system. Or else not let it be run at all.

    There are probably programatic ways around it but certainly none I know much about.
     
    Newt,
    #4
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.