Subscribe

Get the Network Administrators tool pack

Subscribe to our newsletter and get 11 free network administrator tools, plus a 30 page user guide so you can get the most out of them.

Click Here to get your free tools

Recent Posts

Search

Archives

Numlock and Capslock – The enemy of Citrix and terminal services

by Steve Wiseman on May 2, 2006 · 3 comments

in Windows


.

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.

One more thing…Subscribe to my newsletter and get 11 free network administrator tools, plus a 30 page user guide so you can get the most out of them. Click Here to get your free tools

Related Articles:

{ 3 comments… read them below or add one }

1 Joseph R. O'Toole January 14, 2010 at 4:59 am

Have you seen where users in Citrix have the Cap Locks turn on during a session and will not turn off? Is there a little auto script to reset Cap lock on and off capabilities?

2 Todd McFarland May 13, 2011 at 12:43 pm

Joseph, I agree. I have the same problem and a script to fix it would be great.

3 Steve Wiseman May 13, 2011 at 2:02 pm

Hello Todd…I think you can use the same script above to toggle it when it gets stuck:

set WshShell = CreateObject(“WScript.Shell”)
WshShell.SendKeys “{CAPSLOCK}”

Leave a Comment

Category Links - Windows Forum - Exchange Forum