How to Enable and Disable a User in Windows 10

In this article you will learn how to enable or disable a user account on 10 χρησιμοποιώντας τη γραμμή εντολών ή χρησιμοποιώντας το βοηθητικό πρόγραμμα LUSRMGR.

Windows

If you manage a multi-user system and you must disable one or more user accounts without deleting them, then this article is for you. Windows allows you to disable a user account so that it can no longer be logged in or changed.

Unlike the complete deletion of the user account, disabling it keeps user data that is easily accessible even when the user account is re-enabled.

Method 1 - Via LUSRMGR
Note: This method only works on versions of Windows 10 Pro, Education and Enterprise. For other versions, see the 2 method below.
1. Press the Win + R key and in the Run window that appears type lusrmgr.msc to open the Local Users and Groups utility. Click the OK button.

2. In the lusrmgr window, double-click users. Now right-click on the user account you want to deactivate and click "Properties".

Windows

3. In the properties window, select "Account Deactivated". Click the Apply button and then OK.

 

This action should disable the user account. The account will no longer be visible on the screen s, which proves that the user is disabled.

Method 2 - Via the command line
You can also use the command line to disable a user account. Follow these steps:

1. Right-click the button or press Win + X keys at the same time and select “Command Prompt (Admin)” to open Command Prompt as administrator.

2. In the command prompt window, type net user and press Enter.

3. Then type the following command, and then press the Enter key:

net user  /active:no

* Βεβαιωθείτε ότι αντικαταστήσατε το με το πραγματικό όνομα λογαριασμού του χρήστη που θέλετε να απενεργοποιήσετε.

When the command completes successfully, you will receive a message confirming that the selected user account is now disabled.

Για να ενεργοποιήσετε ξανά τον απενεργοποιημένο λογαριασμό χρήστη, απενεργοποιήστε απλώς την επιλογή “Ο λογαριασμός είναι απενεργοποιημένος” ή εκτελέστε την εντολή net user /active:yes στo , όπου πρέπει να αντικατασταθεί το με έναν μη ενεργό λογαριασμό χρήστη.

iGuRu.gr The Best Technology Site in Greecefgns

every publication, directly to your inbox

Join the 2.087 registrants.

Written by Dimitris

Dimitris hates on Mondays .....

Leave a reply

Your email address is not published. Required fields are mentioned with *

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).