每次打开Windows 10计算机时都必须输入您的登录凭据(用户名和密码)可能会很烦人。幸运的是,有多种方法可以自动登录Windows 10,为您节省宝贵的时间。
您可以通过更改Windows 10中的一些设置或使用注册表编辑器来执行此操作。我们还将向您展示如何恢复这些设置,以防您每次登录Windows 10(Windows 10)时都想返回输入凭据。
为什么您可能(Might)希望将Windows 10设置为自动登录(Login Automatically)
将 Windows 10 设置为自动登录肯定不如要求用户通过输入密码或PIN登录安全。但是,在某些情况下,您可能希望计算机自动登录。
- 您想要运行 Steam 流式盒(run a Steam Link),并且不想每次打开 Steam 流式盒时都跑到另一台计算机上输入您的Windows 10凭据(Link)。
- 您使用自己的笔记本电脑上学,并且总是迟到,因此您希望计算机尽快启动而无需输入密码。
- 你是家里唯一的人——没有其他人会使用你的电脑。
- 你在记住密码方面很糟糕。
尽管有上述原因,您可能会发现您不想将Windows 10设置为(Windows 10)永远(forever)自动登录。最终,您会想要回到让Windows 10要求您使用您的用户名/密码或PIN登录。出于以下原因,我们还建议您在短时间内执行此操作。
Windows(Windows 10) 10自动登录(Logging)的缺点(Downsides)
在我们开始之前,先简要说明一下为什么让 Windows 10 自动登录可能不是最好的主意。
- 这很危险。如果您的帐户是管理员,任何可以打开您的计算机的人都可以进入并拥有管理权限。入侵者将能够做任何你能做的事情。如果您在浏览器中保存了密码,或者您将密码管理器(password manager)设置为自动登录,这尤其危险。使用您计算机的任何人都可以访问您的所有帐户和密码!哎呀。
- 如果您从不需要输入密码,您很可能会忘记密码。
- 如果您的计算机属于您的学校或(school or e)雇主(mployer),您甚至可能没有计算机的管理权限,因此,您将无法更改将Windows 10设置为自动登录所需的设置。
你被警告了。现在让我们看看如何将您的计算机设置为自动登录。
(Set Up)在设置菜单中(Settings Menu)设置Windows 10 以自动登录(Login Automatically)
这是最简单的方法,但并不总是有效。
- 在 Windows 搜索栏中,键入Settings并按Enter。
- 在查找设置(Find a setting )框中,键入登录选项(Sign-in options)并从列表中选择它。
- 在Require sign-in下,将其设置为Never。
如果您按照以下步骤操作,但在重新启动 Windows 时仍提示您输入用户名和密码(或 PIN),请尝试下一种方法。
(Set Up)通过用户帐户设置(User Account Settings)将Windows 10 设置为自动登录(Login Automatically)
访问您的用户帐户设置,以最简单的方式自动登录Windows 10。
- 在Windows 10搜索框或运行(Run)命令框(Windows 键(Windows key)+ R)中,键入netplwiz或control userpasswords2。
- 按Enter。
- 将打开一个用户帐户窗口。
- 取消选中“用户必须输入用户名和密码才能使用此计算机(Users must enter a user name and password to use this computer.)”旁边的框。” 如果您根本看不到复选框,请跳到注册表方法,这应该可以工作。
- 按Enter。
- 将出现一个标题为“自动登录”的新框。
- 输入您的用户名和密码。
- 确认你的密码。
- 选择确定(OK)按钮。
重新启动计算机后,您将看到结果。您现在将自动登录到您的帐户。
使用注册表编辑器将(Registry Editor)Windows 10设置为自动登录(Login Automatically)
或者,您可以使用注册表编辑器(Registry Editor)将Windows 10设置为在您打开或重新启动计算机时自动登录。请记住(Remember),如果您不正确地执行此操作,可能会发生坏事,因此请在开始之前备份注册表。(back up the registry)
请注意,您需要在注册表中输入您要登录的帐户的用户名和密码。如果您使用Microsoft帐户登录 PC,只需使用电子邮件地址作为用户名。
- 在Windows搜索框中键入注册表编辑器,然后从搜索结果中选择(registry editor)注册表编辑器(Registry Editor)。(或者,通过按Windows 键(Windows key)+ R启动(R)运行(Run)命令框。然后输入regedit并选择确定(OK)按钮。)
- 如果被问到,“你想允许这个应用程序对你的设备进行更改吗?” 选择是。(Yes.)
- 在注册表(Registry)编辑器顶部的搜索框中键入以下内容: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon。(或者,将左侧的文件夹结构钻取到右侧的文件夹。)
- 在右窗格中,双击DefaultUserName。如果没有DefaultUserName条目,请通过选择Edit > New > String Value创建一个。将其命名为DefaultUserName并选择Enter。
- 输入您的用户名并选择确定(OK)按钮。
- 接下来,双击DefaultPassword。(如果没有DefaultPassword条目,请通过选择Edit > New > String Value创建一个。将其命名为DefaultPassword并选择Enter。现在您可以双击DefaultPassword条目。)
- 输入您的密码并选择确定(OK)按钮。
- 接下来,通过选择Edit(Edit ) > New > String Value创建自动登录条目。
- 将新字符串值命名为AutoAdminLogon并选择OK按钮。
- 双击新的AutoAdminLogon条目。
- 在EditString框中,在数值数据(Value data )字段中输入数字“ 1 ” 。
- 选择确定(OK)按钮。这些是您必须添加的三个注册表值,如下所示。
- 退出注册表编辑器。
当您重新启动计算机时,您的更改将生效,您将自动登录到Windows 10。如果您有其他用于自动登录Windows 10的方法,请在评论中告诉我们。享受!
How to Set Up Windows 10 to Login Automatically
It can be irrіtating to haνe to entеr yоυr login credentials—your uѕername and passwоrd—every time you turn on your Windowѕ 10 computеr. Fortunately, there are several ways to automatically login to Windows 10, saving you precious seconds.
You can do this by changing a few settings in Windows 10 or by using the registry editor. We’ll also show you how to revert those settings in case you ever want to go back to entering your credentials every time you log into Windows 10.
Why You Might Want to Set Up Windows 10 to Login Automatically
Setting up Windows 10 to login automatically is certainly less secure than requiring users to login by typing in a password or PIN. There are, however, some situations when you might prefer your computer to log you in automatically.
- You want to run a Steam Link, and you don’t want to have to run over to your other computer to enter your Windows 10 credentials every time you want to turn on your Steam Link.
- You use your own laptop for school, and you’re always running late so you want your computer to boot up as fast as possible without having to enter your password.
- You’re the only person in your household — no one else will ever use your computer.
- You’re terrible at remembering your password.
Despite the reasons above, you’ll probably find that you don’t want to set up Windows 10 to login automatically forever. Eventually, you’ll want to go back to having Windows 10 require you to login with your username/password or PIN. We also recommend doing this for a short period of time for the reasons mentioned below.
The Downsides to Windows 10 Logging You in Automatically
Before we begin, a few quick notes about why having Windows 10 log you in automatically might not be the best idea.
- It’s dangerous. Anyone who can turn your computer on will be able to get into it and will have administrative privileges if your account is an administrator. The intruder will be able to do anything you can do. This is especially dangerous if you have passwords saved in your browser or you have your password manager set to automatically log in. Whoever is using your computer will have access to all your accounts and passwords! Yikes.
- You’re likely to forget your password if you never need to type it in.
- If your computer belongs to your school or employer, you may not even have administrative privileges on your computer, and, therefore, you won’t be able to change the settings necessary to set up Windows 10 to login automatically.
You have been warned. Now let’s look at how to set up your computer to login automatically.
Set Up Windows 10 to Login Automatically in the Settings Menu
This is the easiest way, but it doesn’t always work.
- In the Windows search bar, type Settings and press Enter.
- In the Find a setting box, type Sign-in options and select it from the list.
- Under Require sign-in, set it to Never.
If you follow the steps below and you’re still prompted for your user name and password (or your PIN) when you restart Windows, try the next method.
Set Up Windows 10 to Login Automatically via User Account Settings
Access your user account settings for the simplest way to automatically log into Windows 10.
- In the Windows 10 search box or the Run command box (Windows key + R), type netplwiz or control userpasswords2.
- Press Enter.
- A User Accounts window will open.
- Uncheck the box next to “Users must enter a user name and password to use this computer.” If you don’t even see the checkbox at all, then skip down to the registry method, which should work.
- Press Enter.
- A new box titled “Automatically sign in” will appear.
- Enter in your user name and password.
- Confirm your password.
- Select the OK button.
Once you restart your computer you’ll see the results. You will now automatically be logged into your account.
Use the Registry Editor to Set Up Windows 10 to Login Automatically
Alternatively, you can use the Registry Editor to set up Windows 10 to login automatically when you turn on or restart your computer. Remember, bad things might happen if you do this incorrectly, so back up the registry before you start.
Note that you will need to enter the username and password into the registry for the account that you want to log into. If you’re using a Microsoft account to log into the PC, simply use the email address as the username.
- Type registry editor in the Windows search box and select Registry Editor from the search results.( Alternatively, launch the Run command box by pressing Windows key + R. Then enter regedit and select the OK button.)
- If asked, “Do you want to allow this app to make changes to your device?” select Yes.
- Type the following into the search box at the top of the Registry Editor: Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon. (Alternatively, drill through the folder structure on the left to the right folder.)
- In the right pane, double-click on DefaultUserName. If there is no DefaultUserName entry, create one by selecting Edit > New > String Value. Name it DefaultUserName and select Enter.
- Type in your user name and select the OK button.
- Next, double-click on DefaultPassword. (If there is no DefaultPassword entry, create one by selecting Edit > New > String Value. Name it DefaultPassword and select Enter. Now you can double-click on the DefaultPassword entry.)
- Enter your password and select the OK button.
- Next, create an entry for automatic logins by selecting Edit > New > String Value.
- Name the new string value AutoAdminLogon and select the OK button.
- Double-click on the new AutoAdminLogon entry.
- In the EditString box, enter the number “1” in the Value data field.
- Select the OK button. These are the three registry values you have to add shown below.
- Exit the Registry Editor.
When you restart your computer, your changes will take effect, and you’ll automatically login to Windows 10. If you have a different method you’ve used to log into Windows 10 automatically, let us know in the comments. Enjoy!