How to Make Your PC Keyboard LED Lights Flash

Two Parts:Starting the LED flashesDisabling the LED flashes

On some PCs, you can make the keyboard LED lights flash, giving the appearance that the keys are "dancing". It's a fun trick that might work on your computer provided it has the LED lights and can handle the programming suggested here.

Part 1
Starting the LED flashes

  1. 1
    On your PC, open Notepad.
  2. 2
    Type the following code into Notepad:
    • Set wshShell =wscript.CreateObject("WScript.Shell")dowscript.sleep 100wshshell.sendkeys "{CAPSLOCK}"wshshell.sendkeys "{NUMLOCK}"wshshell.sendkeys "{SCROLLLOCK}"loop.
  3. 3
    Save the file as: led.vbs
    • Be sure to save it as ".vbs".
  4. 4
    Open the led.vbs file. You should see your keyboard caps lock, num lock, and scroll lock are now blinking!

Part 2
Disabling the LED flashes

  1. 1
    Open the Task Manager.
  2. 2
    Go to the Process tab.
  3. 3
    Select wpscript.exe. If you can't find it, you may have to scroll.
  4. 4
    Once selected, click End Process.


  • By doing this trick, you are taking the risk of possibly damaging your computer. Do some research into the type of computer you own and what doing this trick might do to it. If unsure, don't try it at all.

Article Info

Categories: Articles in Need of Screenshots | Hardware | Software