| [S800] - 首頁 > 文章 |
Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: DefaultUserName
Type: REG_SZ
Value: account to logon automatically
Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: DefaultPassword
Type: REG_SZ
Value: pw for DefaultUserName above
Caution: Password is stored in clear text. Set security permissions on Winlogon subkey to protect the account used.
Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: DefaultDomainName
Type: REG_SZ
Value: if domain account, domain name; if local account, server name
Windows 2000 / XP has an additional registry setting to force autologon and ignore bypass attempts. This can be valuable with a kiosk environment:
Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Name: ForceAutoLogon
Type: REG_SZ
Value: 1
The following registry values must not exist: LegalNoticeCaption, LegalNoticeText. These values force a person logging into a PC to acknowledge having read the notice. If these values exist, the legal notice dialog hangs until someone hits enter. Don't just null out the values. Delete them.
- 在 [控制台] 中,按 [使用者和密碼],清除 [必須輸入使用者名稱和密碼,才能使用這台電腦] 核取方塊。
-
注意:網域成員的系統不會顯示這個選項。
3. 按一下 [進階] 索引標籤。
4. 按一下以清除 [要求使用者在登入前需先按 Ctrl-Alt-Del] 核取方塊。
當您登入網域時,無法執行自動登入。您必須加入工作群組,才能使用自動登入功能。
您也可以藉由編輯登錄,來開啟 Windows 2000 產品系列所有版本中的自動登入功能。
警告:此程序將會允許使用者自動登入網域。這可能造成嚴重的安全性問題。 任何利用此登錄修改來啟動這個系統的人員,將會以使用者的安全性憑證登入系統。
1. 啟動 Regedt32.exe 並找出下列登錄機碼:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
2. 使用您登入系統時通常會輸入的值,來建立您的網域名稱、帳戶名稱及密碼。您可以指派下列值: DefaultDomainName、DefaultUserName 及 DefaultPassword。
注意:DefaultDomainName 和 DefaultUserName 這兩個值可能已經存在,DefaultPassword 值可能不存在。如果不存在,請加以建立。如果要執行這項操作:
a. 在 [編輯] 功能表上,按一下 [新增值]。
b. 在 [值的名稱] 方塊中,輸入 DefaultPassword。
c. 在 [資料類型] 方塊中,按一下 [REG_SZ]。
d. 按一下 [確定]。
e. 在 [字串編輯器] 方塊中,輸入您的密碼。按一下 [確定],並儲存變更。
注意:如果您沒有指定 DefaultPassword 字串,Windows 就會自動將 AutoAdminLogon 機碼的值從 1 (True) 改成 0 (False)。如此便會停用 AutoAdminLogon 功能。如果您指定了 DefaultPassword 字串,但密碼保留為空白或 Null,也會出現這種情形。
3. 在 [編輯] 功能表上,按一下 [新增值]。在 [值的名稱] 方塊中輸入 AutoAdminLogon。在 [資料類型] 方塊中按一下 [REG_SZ]。在 [字串] 方塊中輸入 1。儲存變更。
4. 結束 Regedt32.exe。
5. 關閉 Windows 並關閉電腦。
6. 重新啟動電腦及 Windows 2000。現在您應該能夠自動登入。
請注意,此設定只適用於第一次登入。如果要強制後續的登出都要套用這個設定,系統管理員必須設定下列設定:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon
值:ForceAutoLogon
類型:REG_SZ
資料: 1
【參考來源】http://support.microsoft.com/kb/234562