{"id":8742,"date":"2025-02-22T19:26:22","date_gmt":"2025-02-22T19:26:22","guid":{"rendered":"https:\/\/purelysupp.com\/computing\/?p=8742"},"modified":"2025-02-22T19:26:22","modified_gmt":"2025-02-22T19:26:22","slug":"command-prompt-hide-user-account-from-login-screen","status":"publish","type":"post","link":"https:\/\/purelysupp.com\/computing\/software\/windows\/command-prompt\/command-prompt-hide-user-account-from-login-screen\/","title":{"rendered":"Command Prompt: Hide User Account from Login Screen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">To remove user accounts from the logout or login screen without deleting the accounts, you can hide them from appearing in the list. Here&#8217;s how you can do it using Command Prompt:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Steps:<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">1 <strong>Open Command Prompt as Administrator:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Press <code>Win + S<\/code>, type <strong>cmd<\/strong>, right-click <strong>Command Prompt<\/strong>, and select <strong>Run as administrator<\/strong>.<\/li>\n\n\n\n<li>If you&#8217;re using Windows 10\/11, you can also search for &#8220;Command Prompt,&#8221; right-click on it, and select <strong>Run as Administrator<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">2 <strong>List all user accounts:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the Command Prompt, type the following command and press <code>Enter<\/code><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>net user<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This will display a list of all user accounts on your computer.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3 Disable the account login display:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>To hide the account from the login screen, you will need to disable the user account, which will prevent it from appearing. Replace <code>username<\/code> with the actual account name.<\/li>\n\n\n\n<li>Type the following command and press <code>Enter<\/code>:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>net user username \/active:no<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>This command will disable the specified user account from logging in and hide it from the login screen.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4 To re-enable the account:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you ever want to make the user account visible again, you can re-enable it by typing the following command:<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>net user username \/active:yes<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This method prevents the account from appearing at login without modifying the registry or requiring third-party tools. The account will still exist on the system; it just won\u2019t be shown on the login screen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To remove user accounts from the logout or login screen without deleting the accounts, you can hide them from appearing in the list. Here&#8217;s how you can do it using Command Prompt: Steps: 1 Open Command Prompt as Administrator: 2 List all user accounts: 3 Disable the account login display: 4 To re-enable the account:\u2026&nbsp;<a href=\"https:\/\/purelysupp.com\/computing\/software\/windows\/command-prompt\/command-prompt-hide-user-account-from-login-screen\/\" class=\"rmlink\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":8733,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","iawp_total_views":319,"wds_primary_category":0,"footnotes":""},"categories":[58],"tags":[70,71],"class_list":["post-8742","post","type-post","status-publish","format-standard","has-post-thumbnail","category-command-prompt","tag-hide-user","tag-windows-login","entry"],"featured_image_src":"https:\/\/purelysupp.com\/computing\/wp-content\/uploads\/sites\/8\/2025\/02\/Screenshot-644-600x400.png","featured_image_src_square":"https:\/\/purelysupp.com\/computing\/wp-content\/uploads\/sites\/8\/2025\/02\/Screenshot-644-600x600.png","author_info":{"display_name":"Jack Alltrade","author_link":"https:\/\/purelysupp.com\/computing\/author\/jacka11trade\/"},"_links":{"self":[{"href":"https:\/\/purelysupp.com\/computing\/wp-json\/wp\/v2\/posts\/8742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/purelysupp.com\/computing\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/purelysupp.com\/computing\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/purelysupp.com\/computing\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/purelysupp.com\/computing\/wp-json\/wp\/v2\/comments?post=8742"}],"version-history":[{"count":3,"href":"https:\/\/purelysupp.com\/computing\/wp-json\/wp\/v2\/posts\/8742\/revisions"}],"predecessor-version":[{"id":8746,"href":"https:\/\/purelysupp.com\/computing\/wp-json\/wp\/v2\/posts\/8742\/revisions\/8746"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/purelysupp.com\/computing\/wp-json\/wp\/v2\/media\/8733"}],"wp:attachment":[{"href":"https:\/\/purelysupp.com\/computing\/wp-json\/wp\/v2\/media?parent=8742"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/purelysupp.com\/computing\/wp-json\/wp\/v2\/categories?post=8742"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/purelysupp.com\/computing\/wp-json\/wp\/v2\/tags?post=8742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}