删除本地账户无法登录电脑_如何从Windows的登录屏幕中删除本地用户帐户

删除本地账户无法登录电脑

删除本地账户无法登录电脑

00_lead_image_user_accounts_on_logon_screen

If you have multiple user accounts on your computer, you might find it annoying to have to click on the icon for your username each time you start up the computer. To remedy this problem, you can hide a user account with a registry hack.

如果您的计算机上有多个用户帐户,则每次启动计算机时都必须单击用户名图标,这会很烦人。 要解决此问题,您可以隐藏带有注册表黑客的用户帐户。

If you aren’t the only actual active user on the system, then you shouldn’t really hide the other user accounts, although you could set your main account to logon automatically and then use the Switch User function only when necessary.

如果您不是系统上唯一的实际活动用户,那么您不应真正隐藏其他用户帐户,尽管您可以将主帐户设置为自动登录,然后仅在必要时使用“切换用户”功能。

NOTE: You can only hide local Windows accounts, not Microsoft accounts. However, if you really want to hide a Microsoft account and not delete it, you can revert your Windows 10 Microsoft account to a local one.

注意:您只能隐藏本地Windows帐户,不能隐藏Microsoft帐户。 但是,如果您确实要隐藏而不是删除Microsoft帐户,则可以将Windows 10 Microsoft帐户还原为本地帐户。

This tweak is most useful for when you have extra user accounts set up for file sharing or other purposes.

当您为文件共享或其他目的设置了额外的用户帐户时,此调整最有用。

Standard warning: The Registry Editor is a powerful tool and misusing it can render your system unstable or even inoperable. This is a pretty simple hack and as long as you stick to the instructions, you shouldn’t have any problems. That said, if you’ve never worked with it before, consider reading about how to use the Registry Editor before you get started. And definitely back up the Registry (and your computer!) before making changes.

标准警告:注册表编辑器是一个功能强大的工具,滥用它会使您的系统不稳定甚至无法运行。 这是一个非常简单的技巧,只要您按照说明进行操作,就不会有任何问题。 也就是说,如果您以前从未使用过它,请在开始之前考虑阅读有关如何使用注册表编辑器的信息。 并在进行更改之前一定要备份注册表(和您的计算机!)。

Before changing the registry, we’ll check the exact name of the user(s) we want to hide. A quick way to do this is to press Windows+R on your keyboard and enter netplwiz in the Open box. Then, click “OK”.

在更改注册表之前,我们将检查要隐藏的用户的确切名称。 一种快速的方法是按键盘上的Windows + R, netplwiz在“打开”框中输入netplwiz 。 然后,单击“确定”。

01_opening_user_accounts_dialog

On the User Accounts dialog box, make sure the Users tab is active. Look in the “Users for this computer” list and note the exact name of the user(s) you want to hide. Click or “Cancel” to close the dialog box since you’re not making any changes here.

在“用户帐户”对话框上,确保“用户”选项卡处于活动状态。 在“此计算机的用户”列表中查找,并记下要隐藏的用户的确切名称。 由于您未在此处进行任何更改,因此单击或“取消”以关闭对话框。

NOTE: The way you can tell whether an account in the Users for this computer list is a local account is that local accounts are listed by the name you gave the account when you created it. Microsoft accounts are listed by the email address of the account.

注意:可以确定“此计算机的用户”列表中的帐户是否为本地帐户的方式是,使用创建帐户时所给的名称列出本地帐户。 Microsoft帐户按该帐户的电子邮件地址列出。

02_noting_user_name

Now that you know the name of the user(s) you want to hide, we’ll tweak the registry to hide them. Open the Registry Editor by clicking on Start and typing regedit . Press Enter to open Registry Editor, or click on regedit under Best match.

现在您知道了要隐藏的用户的名称,我们将调整注册表以隐藏他们。 通过单击开始并键入regedit打开注册表编辑器。 按Enter打开注册表编辑器,或单击“最佳匹配”下的regedit。

03_opening_regedit

In the Registry Editor, use the left sidebar to navigate to the following key:

在注册表编辑器中,使用左侧边栏导航至以下键:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

Create a new key under the Winlogon key by right-clicking on the Winlogon key and then selecting New > Key from the popup menu.

右键单击Winlogon密钥,然后从弹出菜单中选择“新建”>“密钥”,在Winlogon密钥下创建一个新密钥。

04_creating_first_new_key

Name the new key “SpecialAccounts”.

将新密钥命名为“ SpecialAccounts”。

05_naming_specialaccounts_key

Next, we’ll create a another new key, this time under the newly created SpecialAccounts key. Right-click on the SpecialAccounts key and select New > Key again.

接下来,我们将在新创建的SpecialAccounts密钥下创建另一个新密钥。 右键单击SpecialAccounts键,然后再次选择“新建”>“键”。

06_creating_second_new_key

Name this key “UserList”.

将此键命名为“ UserList”。

07_naming_userlist_key

Now, we’re going to create a new value inside the UserList key. Select the UserList key, right-click in the right pane, and choose New > DWORD (32-bit) Value.

现在,我们将在UserList键中创建一个新值。 选择UserList键,右键单击右窗格,然后选择“新建”>“ DWORD(32位)值”。

08_creating_new_dword_value

Give this value the name of the user account that you want to hide, and then create a new DWORD (32-bit) Value for each additional user account you want to hide.

为该值提供要隐藏的用户帐户的名称,然后为每个要隐藏的其他用户帐户创建一个新的DWORD(32位)值。

09_naming_dword_value_with_user_name

For each value you create, make sure the Data value is zero (0).

对于您创建的每个值,请确保数据值为零(0)。

10_making_sure_dword_value_is_zero

If, for some reason, the Data value is not zero, double click on the value name in the right pane and enter 0 in the Value data box on the Edit DWORD (32-bit) Value dialog box. Click “OK”.

如果由于某种原因,数据值不为零,请双击右窗格中的值名称,然后在“编辑DWORD(32位)值”对话框的“值数据”框中输入0。 点击“确定”。

11_edit_dword_value_dialog

Go to File > Exit to close the Registry Editor.

转到文件>退出以关闭注册表编辑器。

12_closing_registry_editor

Log out of your Windows account by opening the Start menu, clicking on your user name in the upper-left corner, and selecting “Sign out”.

通过打开“开始”菜单,单击左上角的用户名,然后选择“注销”,注销Windows帐户。

13_signing_out

Now, there are no other users listed in the lower-left corner of the logon screen.

现在,登录屏幕的左下角没有列出其他用户。

14_user_account_hidden

NOTE: Make sure not to hide your last administrator account using this tweak, or you won’t be able to log in as an administrator anymore.

注意:请确保不要使用此调整隐藏您的上一个管理员帐户,否则您将无法再以管理员身份登录。

At this point, the user account should be completely hidden from everywhere. If you want to show the account again, open the registry editor and change the value for the user name on the right that you want to show again to 1. If you want to show all the user accounts on the logon screen again, you can simply delete the SpecialAccounts key. The UserList key and all the user name values you added as values inside the UserList key are also deleted.

在这一点上,用户帐户应该对任何地方都完全隐藏。 如果要再次显示该帐户,请打开注册表编辑器,然后将要再次显示在右侧的用户名的值更改为1。如果要再次在登录屏幕上显示所有用户帐户,则可以只需删除SpecialAccounts键。 UserList键以及您作为UserList键中的值添加的所有用户名值也将被删除。

Note that if you hide a user account using this registry hack, you won’t even be able to use the Switch User menu on the Start menu to get to that user account, and the account will also be hidden from the UAC dialog prompt, the Control Panel, and even from the Settings app.

请注意,如果您使用此注册表黑客隐藏用户帐户,甚至将无法使用“开始”菜单上的“切换用户”菜单来访问该用户帐户,并且该帐户也将从UAC对话框提示中隐藏,控制面板,甚至从“设置”应用中。

If you’re trying to decide whether you want an account to be a Microsoft account or a local one, here’s a list of all the features that require a Microsoft account on Windows 10, so you can decide whether you need access to these features. We’ve also discussed how to set up and configure user accounts on Windows 10.

如果您要决定是将一个帐户设为Microsoft帐户还是本地帐户,以下是Windows 10上需要Microsoft帐户的所有功能的列表,因此您可以决定是否需要访问这些功能。 我们还讨论了如何在Windows 10上设置和配置用户帐户。

翻译自: https://www.howtogeek.com/howto/windows-vista/remove-user-accounts-from-the-logon-screen-in-windows-vista/

删除本地账户无法登录电脑

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/280703.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

tarjan算法详解

https://blog.csdn.net/jeryjeryjery/article/details/52829142?locationNum4&fps1 以防链接失效,特此转载此博,如有侵权请见谅 在有向图G中,如果两个顶点间至少存在一条路径,称两个顶点强连通(strongly connected)。如果有向…

Gitlab简单使用CI/CD

开篇语大概是去年就想做这个事情了,奈何当时卡到一个docker命令找不到的问题上,导致文章难产了,墨迹了这么久,终于又有空来捣鼓它了。目的我们要实现的目的是我本地不断提交代码(CI),然后服务器不断进行部署(CD)的一个简单流程。准…

AppleScript: Handler

AppleScript绝对是个奇葩的存在!不管功能有多强大。 Handler有两种,一种是和OC类似的使用Label参数,一种是和javascript类似的使用括号把一堆参数都放在里面的。 label参数的Handler的写法非常奇怪,光看文档绝对让人迷糊。这里按照…

powershell 运行策略

Unrestricted 这是一种比较宽容的策略,允许运行未签名的脚本。对于从网络上下载的脚本,在运行前会进行安全性提示: Set-ExecutionPolicy UnRestricted

免费的数字图书馆_不仅是书籍:您当地图书馆可能提供的所有免费数字资料

免费的数字图书馆You might think of libraries as old fashioned, or irrelevant in the age of the internet. You’d be wrong. 您可能会认为图书馆是老式的,或者与互联网时代无关。 你会错的。 Modern libraries offer books, yes, but they also provide inter…

iNeuOS工业互联网操作系统,脚本化实现设备运行时长和效率计算与统计

目 录1. 概述... 22. 实时采集开停状态... 23. 增加虚拟设备... 24. 脚本统计和计算设备运行时长... 45. 设备运行时长报表... 71. 概述有一个煤矿项目,使用iNeuOS系统时有一个需要是:要统计设备的运行时长&#xff0c…

webpack二(以webpack4.x起步)

一.基本安装首先我们要创建一个目录,初始化npm,以及在本地安装webpack:复制代码mkdir webpackapp && cd webpackapp复制代码npm init -y复制代码npm install --save-dev webapck复制代码现在我们看一下我们创建的目录以及目录下的结构…

阿里云中间件是什么-阿里云中间件介绍

阿里云中间件是什么?这其实是一个比较虚的概念。广义的中间件范围很广。起沟通作用的都可以认为是中间件。甚至ODBC这样的东西你也可以认为是中间件。 使用了中间件之后,以前直接连接的前台应用程序和数据库之前就多了个中间件,现在前台程序把请求发给…

C# 图片、文件等加入Project Resources

一、目的 1.编译后,只想有一个exe文件,不想外部文件引用,直接运行exe文件即可。 2.不会出现文件丢失情况。 二、操作 1.右击project ->properties->Resource,左上角选择Image(或其他类型) 2. 点击…

jfinal使用shiro注解大体流程

2019独角兽企业重金招聘Python工程师标准>>> 上一篇答题梳理了jfinal整合shiro的流程,jfinal读取shiro注解,这一篇将作为补充。 1.JFinalShiroPlugin作者为shiro的RequiresRoles,RequiresPermissions, RequiresAuthent…

chrome 快捷键取消_如何使用键盘快捷键在Chrome和Firefox中固定和取消固定选项卡...

chrome 快捷键取消If you tend to open a lot of tabs in your browser, it can become difficult to find the tabs with your most used websites. Pinning tabs in your browser moves those tabs to the left and shrinks the tabs to only show the favicon, and you can …

.NET Conf China 2022参会指南速览(内含超多福利)赶紧预约!⏰⏰⏰

12月充满惊喜各种美好节日纷至沓来似在奖励一年辛苦劳作的你12月的第一波福利.NET Conf China 承包啦立即扫码预约加入.NET年度盛宴抢12月第一波惊喜!.NET Conf China 2022 .NET Conf China 2022是面向开发人员的社区峰会,延续 .NET Conf 2022 的活动&a…

python导入模块--案例

1 导入模块 1.1 问题 本案例要求先编写一个star模块,主要要求如下: 建立工作目录 ~/bin/创建模块文件 ~/bin/star.py模块中创建pstar函数,实现打印50个星号的功能然后练习导入模块,调用模块中的函数: 在交互解释器中导…

css常用命名

常用的CSS命名 头:header 内容:content/container 尾:footer 导航:nav 侧栏:sidebar 栏目:column 页面外围控制整体佈局宽度:wrapper 左右中:left right center 登录条:l…

***关于WP的邮件无法发送问题的总结(原创)

1.用FTP打开 /wp-include/class-smtp.php ,最好是下载下来,搜索一下,查找到如下的代码: $this->smtp_conn stream_socket_client($host . ":" . $port,$errno,$errstr,$timeout,STREAM_CLIENT_CONNECT,$socket_cont…

C# 简单方式运行powershell文件/使用cmd命令运行ps1

一、目的、构想 1.C# winfrom编译的tool 运行一个powershell文件。 2.只需要运行即可,不需要返回值。 3.网上部分资料需要额外添加dll。 3.已经有cmd执行命令的函数,能否直接在cmd运行? 4.在cmd黑色窗口输入powershell 能进入powershell…

​.Net 7 AOT 彻底解析下(完结篇)

楔子:本篇是承继前面三篇文章而来,分别为:.Net 7 的 AOT 和 CLR有什么区别?.Net 7 的 R2R,Crossgen2是什么?.Net 7 的AOT原理简析通过以上三篇的基础,本篇来彻底解析下AOT这门技术的底层原理。AOT此终,不再…

cmd暂停快捷键_是否有键盘快捷键可以暂停正在运行的CMD窗口的输出?

cmd暂停快捷键When running a batch script, you may need or want to pause the output in the CMD window so that you can look things over. Is there an easy way to pause, then restart the output? Today’s SuperUser Q&A post has the answer to help with a re…

bash快捷键

Ctrl h :回退一个字符Ctrl f :光标前进一个字符Ctrl b :光标后退一个字符Ctrl w :删除光标之前的一个字符串(进入剪切板)Ctrl u :删除光标前的所有字符 (进入剪切板&#xff09…

J - 青蛙的约会(扩展欧几里得)

https://vjudge.net/contest/218366#problem/J 第一步追及公式要写对:ynk-(xmk)pL > (n-m)klpx-y 可以看出扩展欧几里得原型,这里注意扩展欧几里得求出的是任意解,非最优,要推出最小解k。 (n-m)xlygcd > (n-m)(x*(x-y)/gcd)…