|
Yes, I have an MSGINA file I edited and renamed. I just have that copied over to the machine and then point the registry to that file when I want to change the CTRL-ALT-DEL lingo to "Configuring Computer." Then after all the changes are done, switch it back to the original.
Here is for the keyboard and mouse.
All you have to do is disable the kbdclass and mouclass services in the registry. Here is the code I use to do that
CODE
REM Disable Keyboard and Mouse
SET SERVICES=HKLM\SYSTEM\CurrentControlSet\Services
REG ADD %SERVICES%\kbdclass /v Start /t REG_DWORD /d 4 /f
REG ADD %SERVICES%\mouclass /v Start /t REG_DWORD /d 4 /f
and to reenable them
CODE
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion \RunOnceEx
ECHO Setup Registry Key to unlock mouse after installs are done
REG ADD %KEY%\996 /VE /D "Unlocking Mouse" /f
REG ADD %KEY%\996 /V 1 /D "REG ADD HKLM\SYSTEM\CurrentControlSet\Services\mouclass /v Start /t REG_DWORD /d 1 /f" /f
ECHO Setup Registry Key to unlock keyboard after software installs are done
REG ADD %KEY%\997 /VE /D "Unlocking Keyboard" /f
REG ADD %KEY%\997 /V 1 /D "REG ADD HKLM\SYSTEM\CurrentControlSet\Services\kbdclass /v Start /t REG_DWORD /d 1 /f" /f
|