web analytics
Home / Software / Keyboard Turns into Disco Light

Keyboard Turns into Disco Light

This is really funny and amazing, With this trick keyboard Led’s would start to act like Disco light. This trick can also be used as prank, try fooling your friends with this trick. Basically, This is a small program written in vbscript which will make keyboard led to blink and will continue unless you stop it. The code not only blink the led light but also change its states of caps, scroll and num lock to Off and On. So when you would try to write something you would see strange behavior and you won’t be having any control on caps, num and scroll lock.


1.)  Open Notepad, Go to Start => Run => Type Notepad and press Enter.

2.) Copy the below code and paste in Notepad

Set wshShell =wscript.CreateObject("WScript.Shell")
wscript.sleep 100
wshshell.sendkeys "{CAPSLOCK}"
wshshell.sendkeys "{NUMLOCK}"
wshshell.sendkeys "{SCROLLLOCK}"

3.) Now save the file with .vbs extension, e.g. save file as disco.vbs

4.) Now execute the file by double clicking, you may see keyboard led to start blinking like disco light.


How to Stop this?

To stop this vbscript program, you may simply need to end this script program from task manager.

1.) Go to Task Manager, Right Click on Task bar and Select Task manager.

2.) In task manager, go to “process” tab

3.) Now locate wscript.exe and select it and Click on “End Process”.

keyboard led disco light

Note: The above code is not written by me, the credit goes to original developer.

About Kroshan

Roshan Karkera a.k.a. k.roshan. Blogger by passion and software engineer by profession. He believes in sharing knowledge, which made him to start his own blog. He is very much keen & passionate about new technology & Science. If you'd like to connect with him, follow at Google plus or Twitter.
  • Hmm can be other people having failures of the photos in this particular blog page packing? I’m just looking into whether it is a problem in my small end or maybe if it is your blog. Any sort of suggestions would be greatly appreciated.

  • I like this web blog it’s a master piece! Glad I observed this on google.