Numlock and Capslock – The enemy of Citrix and terminal services

Citrix, and Microsoft Terminal services have had an annoyance for quite some time now. Numlock and Capslock just don’t default to what you want.

It seems that if the user is not an administrator – both are cleared at login. No matter what registry hacks you try, the user is still stuck with these settings.

Finally I found a simple solution the the problem. It is an easy VB script that you call when the user logs in:

To turn Numlock on:
set WshShell = CreateObject(”WScript.Shell”)
WshShell.SendKeys “{NUMLOCK}”

To turn capslock on:
set WshShell = CreateObject(”WScript.Shell”)
WshShell.SendKeys “{CAPSLOCK}”

Uh. Yea…I didn’t think you would even care about scroll-lock, so we wont spend another minute thinking about that waste of keyboard space.

Filed Under: Windows

Leave a Reply