1.    21 May 2016 #1
    Join Date : May 2016
    Posts : 3
    Windows 10 Pro x64

    Key repeating on login...

    Not sure if this is a keyboard firmware issue or not, in which case I'll post on the forums there but I don't remember it ever happening prior to Win10..
    So the circumstances are completely repeatable and happen every time I do the following...
    I wrote a .vbs script to do the equivalent of essentially pressing Win+L to lock the desktop and go to the switch user screen.
    Whenever I log in apparently when I get to somewhere I can type, the number 0 repeats infinitely until I unplug my keyboard and plug it back in... (last number in my pin) Note: keys do not repeat until after I log back in, because I can type my pin just fine...
    I used to have one of my macro keys set to Win+L, but the L key would repeat after the switch user screen was reached, and would prevent idle 2 sleep function.
    I have a Razer Black Window keyboard.
    Strange part, is the vbs script is launched via a shortcut I double-click on my desktop....
    Let me know what you think.
    Key repeating on login... Attached Files
      My System SpecsSystem Spec

  2.    22 May 2016 #2
    Join Date : Sep 2015
    Posts : 26
    Windows 10 Pro 32 Bit


    Look here & try the "True" statement at the end?

    Set WshShell = CreateObject("WScript.Shell" )WshShell.Run chr(34) & "C:\Users\roman_000\Documents\Scripts\lockscreen.bat" & Chr(34), 0, true
    Set WshShell = Nothing

    Run an external Command.Syntax
    objShell.Run (strCommand, [intWindowStyle], [bWaitOnReturn])

    objShell : A WScript.Shell object

    strCommand : The Command to be executed

    (Optional) : Int value indicating the appearance of
    the program's window.
    Not all programs make use of this.

    bWaitOnReturn : Wait for the command to complete before
    continuing execution of the wsh script.
    If bWaitOnReturn is set to TRUE, the Run method returns any error code returned by the application.

    If bWaitOnReturn is not specified or FALSE, this method immediately returns to script execution rather than waiting on the process termination (and returns an error code of 0)

    Specifying the bWaitOnReturn parameter allows you to run programs synchronously (one at a time).
      My System SpecsSystem Spec

  3.    22 May 2016 #3
    Join Date : May 2015
    Central IL
    Posts : 2,585
    EL Capitan

    Key repeating on login...

    There is no firmware that is installed on keyboards. Sounds like your VBS program is the culprit. You do not need a program to lock the OS. Just set the timer at a shorter time or use your phone as a way to trigger automatic login and logoff when you walk away with the phone.

    Trying to make Windows to do something that a two finger salute can do, is personally a waste of effort.
      My System SpecsSystem Spec

  4.    22 May 2016 #4
    Join Date : May 2016
    Posts : 3
    Windows 10 Pro x64

    Thanks lottie I'll go ahead and try that in a few minutes and let you know what happens.
    @bro67 " Trying to make Windows to do something that a two finger salute can do, is personally a waste of effort. "
    Not when you have a loud mechanical keyboard, and you want to quietly lock your computer. It's right next to my shortcuts for changing the power-mode (time to sleep). Personally I think it's convenient.
      My System SpecsSystem Spec

  5.    24 May 2016 #5
    Join Date : May 2016
    Posts : 3
    Windows 10 Pro x64

    Quote Originally Posted by Lottiemansion View Post

    Look here & try the "True" statement at the end?
    So as far as I can tell, this fixed the issue. Although it hasn't been very long since I updated the script with your suggestion.
    Just wanted to say thanks for helping me with this issue, it was really annoying having to disconnect & reconnect my keyboard every time I logged back in.

    I'm going to give it a few more days before I mark this as solved, just in case.
      My System SpecsSystem Spec


Similar Threads
Thread Forum
Change username - result: two login accounts, delete 1 unable to login
- Did a reset of Windows 10 on a virtual machine - The default account name is then the first 5 characters of my email account - I changed that to my real name - Rebooted - I was then offered 2 login accounts - logged in using my real name -...
User Accounts and Family Safety
Action center / compatibility assistant repeating
The action center informed me that CCleaner was not compatible and was removed. Every time the pc is booted, it repeats that message. I have tried removing every trace of CCleaner I can find but it still repeats the message at boot. I don't want...
General Support
Windows 10 stuck on login screen or takes long to login
Since the last windows 10 builds, my loggin screen would freeze where it shows the time, i can move my mouse around but cant click anything or use the keyboard, or when i log in it would go to a blackscreen but still see the mouse. It would be...
General Support
Solved How do Local and Microsoft login effect my PC's login from a boot.
I should be grateful for any help. At the moment I have a Local login and I am considering changing to a Microsoft login. If I do, does this mean that when my PC starts from a boot, that instead of the pin that I use to login to my account on the...
Installation and Setup
Repeating errors in Event Viewer on reboot - Win 10 Pro 64-bit
I'm getting certain repeating errors in Event Viewer when I reboot my new Win Pro 64-bit (after yesterday's upgrade from Win 8.1 Pro 64-bit). Please see the details and post your thoughts here: ...
BSOD Crashes and Debugging
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 16:18.
Find Us
Twitter Facebook Google+

Windows 10 Forums