Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to temporarily disable a laptop's keyboard in order to clean/dust it off, other than having to turn off the computer?

share|improve this question
c.f. How to disable a keyboard? – slhck Nov 18 '11 at 10:07
How about unplugging it? – user606723 Nov 18 '11 at 16:39
To clean very dirty keyboards, Leo Laporte recommends putting them through the dishwasher and letting them dry for a few days (yes, seriously). – BlueRaja - Danny Pflughoeft Nov 18 '11 at 17:06
up vote 16 down vote accepted

Well, you could lock the screen win-L on windows or do something similar. You could probably also disable it from device manager.

I'm sure there's something similar on linux, but that is heavily desktop environment dependent.

share|improve this answer
mostly ctrl+alt+L – HTDutchy Nov 18 '11 at 14:40

You can get a can of compressed air which will clean the keyboard without actualy pressing the keys.

share|improve this answer

Open up a text editor and let that take the hit - or use a natural bristle brush (no static build up) with long hairs so that there's little pressure on the keys/gaps.

share|improve this answer
Tended to do the former, but every so often you hit a... unfortunate key combination – Journeyman Geek Nov 18 '11 at 12:22

You can also just sleep you computer instead of turning it off.

share|improve this answer

You could try KeyboardLocker to lock your keyboard , some key combinations will still work but its unlikely that you would press them , while cleaning.
Here is a how-to for the tool.

share|improve this answer
I am still having trouble understanding why would you really need to do it ? I mean why not just switch the device off or remove the keyboard ? or do you frequently drop bowls of ramen on you keyboard after a 1000 line code sprint which you have not been able to save ? – Shekhar Nov 18 '11 at 13:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.