|
方法1、先開機(jī),等到提示要輸入密碼的時(shí)候,按NUM LOCK,這時(shí)燈亮了。此時(shí),別輸入密碼,只要重新啟動(dòng)就行了。
方法2、首先在BIOS中把NumLock項(xiàng)設(shè)為Enable,然后在BIOS中將PnPWithOS項(xiàng)亦設(shè)為Enable即可。不過注銷用戶時(shí)NumLock小鍵盤鎖是關(guān)閉的,要手工打開。
方法3、進(jìn)HKEY_CURRENT_USER\Control Panel\Keyboard,將"KeyboardDelay"的值改為2;蛘甙严旅娴谋4娉*.reg,運(yùn)行。
方法4、僅需要對(duì)config.sys文件動(dòng)點(diǎn)小手術(shù)即可達(dá)到此目的。設(shè)置方法如下:
單擊“開始”菜單中的“運(yùn)行”命令,然后在“打開”框中鍵入“sysedit”,按下回車鍵,打開“系統(tǒng)配置編輯程序”窗口。
單擊“Config.sys”標(biāo)題欄,將它切換為當(dāng)前編輯窗口,然后在編輯區(qū)中鍵入“NumLock=ON”這一行命令。
保存修改并關(guān)閉“系統(tǒng)配置編輯程序”窗口。
方法5、把下面的保存成VBS腳本,執(zhí)行。
set WshShell=CreateObject("WScript.shell")
WshShell.SendKeys"{NUMLOCK}"
Linux
1.
[root@localhost ~]# cat /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
INITTY=/dev/tty[1-8]
for tty in $INITTY; do
setleds -D +num < $tty
done
touch /var/lock/subsys/local
2.在man setleds的描述中,有一段設(shè)置字符控制臺(tái)數(shù)字燈的腳本 注意的是:設(shè)置字符控制臺(tái)數(shù)字燈 在字符模式下,也可以這樣: setleds -D +num/+caps/+scroll
Windows Registry Editor Version 5.00
[HKEY_USERS\.DEFAULT\Control Panel\Keyboard]
"InitialKeyboardIndicators"="2" |
|
【收藏】【打印】【進(jìn)入論壇】 |
|
|
|
|
|
|
|