最近尝试了一下Win10 20H2,似乎稳定度还不太好,在VMware上面跑的速度有点慢,另外还发现了自动登录的功能被关闭了,需要手动打开。 🤔😓😯
执行(Win键+R) 然后输入regedit,进入到登录编辑程式功能后,找到
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device
在这其中的《DevicePasswordLessBuildVersion》数值资料的栏位,将数字从2改为0,然后再执行一次(Win键+R) 然后输入netplwiz就可以设定自动登录到桌面了。
批次档
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 |
@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 |
登录档
1 2 3 4 |
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device] "DevicePasswordLessBuildVersion"=dword:00000000 |
