|
方法1、先开机,等到提示要输入密码的时候,按NUM LOCK,这时灯亮了。此时,别输入密码,只要重新启动就行了。
4 I' R, F7 F( P c 方法2、首先在BIOS中把NumLock项设为Enable,然后在BIOS中将PnPWithOS项亦设为Enable即可。不过注销用户时NumLock小键盘锁是关闭的,要手工打开。
N: X/ [$ g Z: O+ T- R. V4 x 方法3、进HKEY_CURRENT_USER\Control Panel\Keyboard,将“KeyboardDelay”的值改为2。或者把下面的保存成*.reg,运行。3 @8 s4 m% f: I$ Y! f
方法4、仅需要对config.sys文件动点小手术即可达到此目的。设置方法如下:
2 u# @5 q8 e( k 单击“开始”菜单中的“运行”命令,然后在“打开”框中键入“sysedit”,按下回车键,打开“系统配置编辑程序”窗口。
. w. N4 s, Q) t' M3 o# n9 b" R 单击“Config.sys”标题栏,将它切换为当前编辑窗口,u盘装系统然后在编辑区中键入“NumLock=ON”这一行命令。& [0 O2 y" d" t( N
保存修改并关闭“系统配置编辑程序”窗口。2 Q1 M w4 u. @; l4 g8 E
方法5、把下面的保存成VBS脚本,执行。
) h5 ^ P- _3 ]% r( g$ f1 p set WshShell=CreateObject(“WScript.shell”)5 y0 J, }5 t3 M& P' O* J! w, h0 e
WshShell.SendKeys“{NUMLOCK}”
7 @) D# ?. ]' ]+ Q: l* S Linux" _; z7 }- E/ U3 u* X' _' V
1.
; d0 x2 t3 k+ K/ D [root@localhost ~]# cat /etc/rc.d/rc.local4 q, Y. ~5 [. \; N
#!/bin/sh" s/ Z0 ]+ ?) d/ V3 J: O
#( d$ {, y! |7 ^1 l8 P7 Q
# This script will be executed *after* all the other init scripts.
- @0 n* w- Y2 K( \( n # You can put your own initialization stuff in here if you don‘t
; V: f3 j$ P+ ^2 ~( U9 v( W # want to do the full Sys V style init stuff.
* B' i' r* P) i0 ?7 z$ f) n INITTY=/dev/tty[1-8]
- \8 }3 j0 ?3 h7 J! y+ o for tty in $INITTY; do3 c9 Q$ P; O9 A# [
setleds -D +num 《 $tty1 V, h; [1 n0 _! ~2 w' z
done
' }! |: _: ?( _+ [9 { touch /var/lock/subsys/local
8 J0 |4 {+ j- U 2.在man setleds的描述中,有一段设置字符控制台数字灯的脚本 注意的是:番茄花园设置字符控制台数字灯 在字符模式下,也可以这样: setleds -D +num/+caps/+scroll
5 U% q8 ^. j& h4 l7 k3 V8 \3 G* y Windows Registry Editor Version 5.00
Z6 r. \. v1 Z, }; H" A8 u& s% e, z [HKEY_USERS\.DEFAULT\Control Panel\Keyboard]. b" F- Z& W& ]3 Q
“InitialKeyboardIndicators”=“2”. w$ l/ R8 \; i; ?- j* r
|
|