Is there a simple way temporarily disable kbd and mouse (for firstpost FBA boot for instance)?

  • Thread starter Thread starter Nikolai Vorontsov
  • Start date Start date
N

Nikolai Vorontsov

Hello all,

is there an easy way to disable and lately reenable mouse and keyboard
so that user doesn't touch machine during first boot?

Any ideas are greatly appreciated.
Thanks!
 
Nikolai,

Depends on what mouse/keyboard you mean. USB, PS/2?

E.g., you can add NoSerialMice switch to boo.ini (temporarily) to disable detection of devices on specified serial ports.

For the USB, it maybe easy to accomplish disable "Shell Hardware Detection" service (net start/stop, sc.exe).

After all, you have devcon tool to disable/enable particular drivers whenever you want to.

Or, you can set corresponding "Start" value for required driver services under CurrectControlSet registry branch.
 
Nikolai,

You change extensions of inf files required for mouse/keyboard to work. Then at the end of FBA you can rename them back and use
devcon to reinstall them.

Regards,
Slobodan
PS: You could prevent main USB drivers from installing and thus prevent all other drivers as well to be enumerated and installed
until you need them.

KM said:
Nikolai,

Depends on what mouse/keyboard you mean. USB, PS/2?

E.g., you can add NoSerialMice switch to boo.ini (temporarily) to disable detection of devices on specified serial ports.

For the USB, it maybe easy to accomplish disable "Shell Hardware Detection" service (net start/stop, sc.exe).

After all, you have devcon tool to disable/enable particular drivers whenever you want to.

Or, you can set corresponding "Start" value for required driver services under CurrectControlSet registry branch.
 
Thanks, guys!

Actually I thought about something more global - for instance kind of
hook in system message in which I can kick out all mouse/kbd events. But
before starting doing this I want to make sure that there is no more
simple way.

OK, I see now some ways, I'll check what is easier.

Thanks again!
 
Back
Top