最近批量安装了windows2016服务器,因为种种原因要设置服务器每个一段时间就要自动重新启动一次。默认系统启动完成后,是要输入账号密码登陆的。有些程序只有登陆了后才会启动,所以有了这个为windows自动登陆配置。
适用于: WindowsServer 2019、Windows Server 2016、Windows Server 2012 R2
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon] "DefaultUserName"="Administrator" "DefaultPassword"="password" "AutoAdminLogon"="1"
将上面的文字复制到记事本中,保存为reg文件,直接执行一次即可。具体含义如下:
DefaultUserName 默认登陆用户名 。
DefaultPassword 默认登陆用户名的密码。
AutoAdminLogon 是否自动登陆,1是,0否。
发表评论: