|
|
方法1、先开机,等到提示要输入密码的时候,按NUM LOCK,这时灯亮了。此时,别输入密码,只要重新启动就行了。
: E3 G" u5 r; I; e8 _) a% e 方法2、首先在BIOS中把NumLock项设为Enable,然后在BIOS中将PnPWithOS项亦设为Enable即可。不过注销用户时NumLock小键盘锁是关闭的,要手工打开。
- m/ P$ O2 y7 T) n$ g) @( y5 f# h 方法3、进HKEY_CURRENT_USER\Control Panel\Keyboard,将“KeyboardDelay”的值改为2。或者把下面的保存成*.reg,运行。
; v# @5 U! C2 ~$ b* E: v 方法4、仅需要对config.sys文件动点小手术即可达到此目的。设置方法如下:0 m6 N% N- ~$ I' T
单击“开始”菜单中的“运行”命令,然后在“打开”框中键入“sysedit”,按下回车键,打开“系统配置编辑程序”窗口。
! T* u( d6 g1 h l/ b9 E 单击“Config.sys”标题栏,将它切换为当前编辑窗口,u盘装系统然后在编辑区中键入“NumLock=ON”这一行命令。( C/ i1 s8 m: B: R! y1 T- r
保存修改并关闭“系统配置编辑程序”窗口。
; s: B, @* o+ S. Y, \7 E0 K 方法5、把下面的保存成VBS脚本,执行。3 r. b" T6 i- O" l7 n X4 l
set WshShell=CreateObject(“WScript.shell”)
3 X# j. n" g( {0 g WshShell.SendKeys“{NUMLOCK}”
4 X3 n. W. f& k! C \- U( A9 G; J2 U0 S; N Linux; c. G& g5 |+ A
1.
' p/ H4 A' L5 m( Q U. P [root@localhost ~]# cat /etc/rc.d/rc.local& B& ~$ |! i( I" @9 w
#!/bin/sh
U- r1 Y; v. L6 z: u# n #
- D; a- q* N" R+ M5 q) o1 Z1 z% Q0 \ # This script will be executed *after* all the other init scripts.0 C) R8 ^9 l a: {; e& F3 U& q& R3 S
# You can put your own initialization stuff in here if you don‘t* g( ]4 J, Q- t1 ^8 [
# want to do the full Sys V style init stuff.! I+ y. _! f B4 R
INITTY=/dev/tty[1-8]1 b# x2 m0 Z" V1 j- U- s
for tty in $INITTY; do
! E. S( Q/ r1 Y2 L8 N( I8 n setleds -D +num 《 $tty
) a% z9 }) \4 ~) x done& W" J4 K5 |4 X- ]- q S
touch /var/lock/subsys/local
" W6 |2 K# n4 ^- g 2.在man setleds的描述中,有一段设置字符控制台数字灯的脚本 注意的是:番茄花园设置字符控制台数字灯 在字符模式下,也可以这样: setleds -D +num/+caps/+scroll9 |$ P. g; j4 u' q# ]
Windows Registry Editor Version 5.00
" w! v9 N6 s* ^, h; ? [HKEY_USERS\.DEFAULT\Control Panel\Keyboard]
5 E8 N i8 ]; Q# S7 C1 f “InitialKeyboardIndicators”=“2”
" q" ~5 K) c3 B1 C |
|