七沢みあ 七澤米亞 Mia Nanasawa
七沢みあ 七澤米亞 Mia Nanasawa

Windows 10 20H2開啟自動登錄功能

最近嘗試了一下Win10 20H2,似乎穩定度還不太好,在VMware上面跑的速度有點慢,另外還發現了自動登錄的功能被關閉了,需要手動打開。 🤔😓😯

執行(Win鍵+R) 然後輸入regedit,進入到登錄編輯程式功能後,找到

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device

在這其中的《DevicePasswordLessBuildVersion》數值資料的欄位,將數字從2改為0,然後再執行一次(Win鍵+R) 然後輸入netplwiz就可以設定自動登錄到桌面了。

點此下載批次檔

批次檔

@Echo Off
Title Reg Converter v1.1 & Color 1A
REM ~ call :IsAdmin

call :RegExport
Exit

:RegExport
Set RegFile="%Temp%\~rdbanea.tmp"

If Exist %RegFile% (
 Attrib -R -S -H %RegFile% &  Del /F /Q %RegFile%
 If Exist %RegFile% cls & Echo Could not delete file %RegFile% & Pause
)
> %RegFile% Echo Windows Registry Editor Version 5.00
>> %RegFile% Echo.
>> %RegFile% Echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device]
>> %RegFile% Echo "DevicePasswordLessBuildVersion"=dword:00000000

Start /Wait %systemroot%\Regedit.exe /S %RegFile%
Del %RegFile%
goto:eof

:IsAdmin
Reg.exe query "HKU\S-1-5-19\Environment"
If Not %ERRORLEVEL% EQU 0 (
 Cls & Echo You must have administrator rights to continue ... 
 Pause & Exit
)
Cls
goto:eof

登錄檔

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device]
"DevicePasswordLessBuildVersion"=dword:00000000

ref. [Fix] “Users Must Enter a User Name and Password to Use This Computer” Checkbox Missing in Windows 10 – AskVG

關於 窮苦人家的小孩

In every democracy, the people get the government they deserve. ~Alexis de Tocqueville
上一篇:
下一篇:

您可能會喜歡

有坂深雪 Miyuki Arisaka

[Debain]安裝HestiaCP

2021新年快樂 🌞㊗☃ 最近 …

發佈留言