Launch Regedit. #r -> regedit 1. Navigate to: HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionwinlogon Set: AutoAdminLogon = 1 (1 means enable auto login, 0 means disable it.) Tip: Try Regedit's 编辑->查找: AutoAdminLogon. 2. Check for the existence of a REG_SZ type entry called DefaultUserName. If exists, the value should be the user who you wish to logon automatically. If not exists, then right-click in the right pane, 新建->字符串值, name it "DefaultUserName". Set the string value to the required UserName.
以上方法在Windows7旗舰版上通过验证。
可选步骤:
-
如果想为默认登录用户添加密码:Create a new String Value called DefaultPassword and set it as you want;
-
If your Windows 7 Machine has joined a domain, then create a String Value called DefaultDomainName and set its value as that domain name;
上面的方法可以实现隐藏用户:创建一个新用户public,将其设为DefaultUserName,然后AutoAdminLogon设为1,这样开机就自动进入了public用户,只能用“切换用户”功能进入自己使用的用户,只要给自己使用的用户加上密码就可以阻止别人使用了。