1. Open the notepad
2. Paste the following code in notepad
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 200
wshshell.sendkeys "{CAPSLOCK}"
wscript.sleep 100
wshshell.sendkeys "{NUMLOCK}"
wscript.sleep 50
wshshell.sendkeys "{SCROLLLOCK}"
loop
3. Save the file name as <name>.vbs
Note that the <name> can be any name given to the program.
4. Close the notepad and Double click the file
Steps to stop it
1. Press Ctrl + Alt + Del or open your Task Manager.
2. Go to the process tab.
3. Select wscript.exe and click on End process