Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Disable Keyboard on Windows NT4 or 2000

Keywords: 	  Disable Keyboard on Windows NT4 or 2000

A user claims:
If you are trying to disable the keyboard on a Windows NT or 2000 you can use a regsetvalue to change the value in:
(HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Kbdclass[Start])
from 1(enabled) to 4 (disabled)

Here is the code

regkey = RegOpenKey(@REGMACHINE, "SYSTEM\CurrentControlSet\Services\Kbdclass")
RegSetValue(regkey, "[Start]", '4')
RegCloseKey(regkey)


Article ID:   W14599
Filename:   Disable Input on NT.txt