• Skip to main content
  • Skip to primary sidebar
  • Business
  • WordPress
  • Security
  • Marketing
  • Publicity
  • Computing
  • Resources
  • Whatevs

Purely Computing

Software, PCs, Macs, Consoles, Handhelds, & More

  • Home
  • About
  • Contact
  • Contribute

Command Prompt: Hide User Account from Login Screen

Windows Command Prompt

To remove user accounts from the logout or login screen without deleting the accounts, you can hide them from appearing in the list. Here’s how you can do it using Command Prompt:

Steps:

1 Open Command Prompt as Administrator:

  • Press Win + S, type cmd, right-click Command Prompt, and select Run as administrator.
  • If you’re using Windows 10/11, you can also search for “Command Prompt,” right-click on it, and select Run as Administrator.

2 List all user accounts:

  • In the Command Prompt, type the following command and press Enter
net user
  • This will display a list of all user accounts on your computer.

3 Disable the account login display:

  • To hide the account from the login screen, you will need to disable the user account, which will prevent it from appearing. Replace username with the actual account name.
  • Type the following command and press Enter:
net user username /active:no
  • This command will disable the specified user account from logging in and hide it from the login screen.

4 To re-enable the account:

  • If you ever want to make the user account visible again, you can re-enable it by typing the following command:
net user username /active:yes

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’t be shown on the login screen.

by Jack Alltrade on February 22, 2025

Filed Under: Command Prompt Tagged With: Hide User, Windows Login

Reader Interactions

Share Your Two Cents Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Categories

  • Command Prompt
  • Computing
  • DOS
  • Hardware
  • Software
  • Tech Terms
  • Windows

© Copyright Jack Alltrade & Associates 2025 · Purely Supplemental™ is a trademark of Jack Alltrade & Associates