News, Product Information, and Tips
Check out our free utlities in the downloads section

Remote Administration



Remote Administration For Windows. Easy remote access of Windows 7, XP, 2008, 2000, and Vista Computers

Click here to find out more

Create Outlook Profiles



No more setup wizards in Outlook. Setup Outlook Profiles automatically from the command line

Click here to find out more

Network Administrator



Reboot Hundreds of computers, disable flash drives, deploy power managements settings.

Click here to get your free copy of Network Administrator. Over 25 plugins to make your life easier

USB Disabler



Disable Flash Drives for specific users, or only allow specific drives.

Click here for your free trial

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.

Like this article? Then sign up for my newsletter to get free tips and software sent right to your inbox once a week. Like you, I hate spam – I will never spam, or sell your email address.

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