|
|
方法1、先开机,等到提示要输入密码的时候,按NUM LOCK,这时灯亮了。此时,别输入密码,只要重新启动就行了。
8 B" a& v0 s9 U 方法2、首先在BIOS中把NumLock项设为Enable,然后在BIOS中将PnPWithOS项亦设为Enable即可。不过注销用户时NumLock小键盘锁是关闭的,要手工打开。; X/ l5 I4 w0 G
方法3、进HKEY_CURRENT_USER\Control Panel\Keyboard,将“KeyboardDelay”的值改为2。或者把下面的保存成*.reg,运行。
) i8 ^: x2 J( R$ x6 h% a5 Z- t 方法4、仅需要对config.sys文件动点小手术即可达到此目的。设置方法如下:7 g/ H, l, A- B) ^1 C5 o8 p8 q
单击“开始”菜单中的“运行”命令,然后在“打开”框中键入“sysedit”,按下回车键,打开“系统配置编辑程序”窗口。
) y7 n4 w. P% o7 M: U1 f8 a, }! h 单击“Config.sys”标题栏,将它切换为当前编辑窗口,u盘装系统然后在编辑区中键入“NumLock=ON”这一行命令。) L3 ?2 y* d5 @; }# d/ z
保存修改并关闭“系统配置编辑程序”窗口。) v6 T$ z' Y0 ^. q; W" T* O
方法5、把下面的保存成VBS脚本,执行。
1 S+ ?1 l% y+ y( C/ T, T set WshShell=CreateObject(“WScript.shell”)/ Z1 L& N Z1 i
WshShell.SendKeys“{NUMLOCK}”
x3 Z( [5 n2 ]/ l Linux7 m% {2 ^- s& s8 g
1.
) j8 ^5 _; Y4 W; @ [root@localhost ~]# cat /etc/rc.d/rc.local1 o3 U/ {$ X# o+ w. ?, t
#!/bin/sh- r3 H4 q" l( u' y6 a
#
' c3 E: N$ p, n1 J/ y2 I( f2 w # This script will be executed *after* all the other init scripts.
# ]3 ^( [% z5 e1 L4 t # You can put your own initialization stuff in here if you don‘t: M, n9 |) m2 Y: x |
# want to do the full Sys V style init stuff.
# X6 X- B2 i1 a8 {8 ~ INITTY=/dev/tty[1-8]
% M7 p# _) A; ^" p$ T for tty in $INITTY; do: G' a0 n" T1 b" k g6 Y9 e G
setleds -D +num 《 $tty6 k4 K; g, U0 m9 E
done0 i; G5 ]; z+ r$ P, D5 `
touch /var/lock/subsys/local
0 |/ ]5 Z1 c6 T' @" }/ g 2.在man setleds的描述中,有一段设置字符控制台数字灯的脚本 注意的是:番茄花园设置字符控制台数字灯 在字符模式下,也可以这样: setleds -D +num/+caps/+scroll3 e" m9 \: u ?% [! h0 v
Windows Registry Editor Version 5.00
8 x7 R1 V+ g% P2 @+ y7 { [HKEY_USERS\.DEFAULT\Control Panel\Keyboard]' n7 X* i, S: {
“InitialKeyboardIndicators”=“2”
* a, F+ G& L6 u |
|