Every holiday, cousin they love to use my computer to play games, because these people often press asdf and so on several commonly used game keys, resulting in button failure, so my keyboard has been changed several. There is no way to achieve in the cousin log on to the computer when these keys are invalid, and their own login is not affected.
"Ideas for solving problems"
By default, you can use the keyboard after you log on to the system. Therefore, if you want to allow the specified user to log in without using a specific key, we need to make a keyboard failure. This can be accomplished with the help of Keyboardshield, which supports blocking specific keystrokes using the command line. All we need to do is to make a block button. The command file is placed under a specific user's "startup" directory, and the ASDF key is not available when the user logs on.
"How To solve problems"
After downloading the above software, rename it to Key.exe, and copy to the C:windowssystem32 directory standby, and then start the program as an administrator, and then press the ASDF key, and then in the "New button" set to "Mask", click "Add", add these keys to the screen list, Check "open shielding, change the key", the screen button will immediately take effect. Pressing the ASDF key at this point will not react any more (Figure 1).
Figure 1 Adding the specified key to the Mask list
Note: This software operation requires support from the Microsoft. NET Framework version 2.0 or later. If the software does not work, please download the installation to the Microsoft website.
Next switch to "More Settings", click "Save Key Settings", press the prompts to save the screen settings file as Key.txt, also placed under D disk standby. Using Notepad to open the exported profile, you can see that the masking key is actually a statement that uses the "v+ Key Code _x" (each key line), where you can add additional keys to be blocked (Figure 2).
Figure 2 Screen key Syntax command
Small tip:
Keyboardshield can also be used to map other keys, in the keyboard encoding a represents the ALT key, C represents the CTRL key, s represents the Shift key, W represents the win key. Add a number to the beginning of V to indicate the key code and X to mask. For example, "v95_x", which means the Mask sleep key (the computer sleeps the key), v65_v66 indicates that the a key is mapped to the B key.
Now start Notepad and enter "Start Key.exe hide D:key.txt" (the code means to start the program in the background and load the exported configuration file). Then save it as key.bat, place it in the startup directory of the specified account, and assume that the ASDF key cannot be used after the Cfan account is logged in C:userscfanappdataroamingmicrosoftwindowsstart Menuprogramsstartup (Figure 3).
Figure 3 Placing the specified mask script in the user's startup directory
Because the screen button only Keyboardshield in the background will not take effect, so our own normal use of the account login after the use will not be affected, and Cfan account after the default will automatically screen the button. If you want to remove the mask, you can open Task Manager and terminate the Key.exe process (Figure 4), which is very simple.
Figure 4 Canceling the mask termination process