Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: User Account - Enable or Disable


User Account - Enable or Disable

How to Enable or Disable a User Account in Windows 7 and Windows 8
Published by Brink
17 Aug 2011
Published by

How to Enable or Disable a User Account in Windows 7 and Windows 8


information   Information
This tutorial will show you how to enable (unlock) or disable (lock) a domain, local, or Microsoft user account in Windows 7 and Windows 8.

You must be logged in as an administrator to be able to do the steps in this tutorial.

Note   Note

When a user account is disabled, the user account will no longer be listed in User Accounts in the Control Panel, Parental Controls, log on screens, and can no longer be logged in to.

An administrator account will still be able to navigate to and access the contents of the C:\Users\(user-name) folder of a disabled user account using Windows Explorer.






OPTION ONE
Enable or Disable User Account in "Local Users and Groups"
1. Open Local Users and Groups, and click/tap on the Users folder in the left pane to open it. (see screenshot below)
-lusrmgr-1.jpg
2. In the middle pane of Users, double click/tap on the user account name (ex: Example-Account) that you want to enable or disable. (see screenshot above)

3. Do step 4 or 5 below depending on if you would like to enable or disable the user account.

4. To Enable and Unlock a User Account
NOTE: This is the default setting.
A) In the General tab, uncheck the Account is disabled box, click/tap on OK, and go to step 6 below. (see screenshot below)
Name:  lusrmgr-2.jpg
Views: 39186
Size:  50.2 KB
5. To Disable and Lock a User Account
A) In the General tab, check the Account is disabled box, click/tap on OK, and go to step 6 below. (see screenshot above)
6. When finished, close the Local Users and Groups window.



OPTION TWO
Enable or Disable User Account in an "Elevated Command Prompt"

NOTE: This option will use the net user command to enable or disable a user account or domain account.
1. Open an elevated command prompt in Windows 7 or Windows 8.

2. To See if a User Account is Disabled or Enabled in a Command Prompt
A) In the elevated command prompt, type either command below and press Enter.
NOTE: This will give you a list of all users accounts either on your local computer or on the domain.
(Accounts on your computer) - Net user

(Accounts on domain) - Net user /domain

Name:  CMD-list_users.jpg
Views: 39917
Size:  51.7 KB
B) In the elevated command prompt, type either command below for the user account (ex: Example Account) that you want to see is enabled or disable, and press Enter.
NOTE: This will allow you to see the Account active details and more of the user account. Yes = enabled and No = disabled. Substitute User Name in the command below with the user name (ex: Example Account) of the user account (ex: Example Account) within quotes.
(Account on your computer) - Net user "User Name"

(Account on domain) - Net user "User Name" /domain

Name:  CMD-account-details.jpg
Views: 40013
Size:  87.0 KB
3. Do step 4 or 5 below depending on if you would like to enable or disable the user account.

4. To Enable a Local or Domain User Account
NOTE: This is the default setting.
A) In the elevated command prompt, type either command below for the user account (ex: Example Account) that you want to enable, and press Enter.
NOTE: Substitute User Name in the command below with the user name (ex: Example Account) of the user account (ex: Example Account) within quotes.
(Enable local account)
Net user "User Name" /active:yes

(Enable domain account)
Net user "User Name" /active:yes /domain
Name:  CMD-Enable.jpg
Views: 39336
Size:  36.3 KB
5. To Disable a Local or Domain User Account
A) In the elevated command prompt, type either command below for the user account (ex: Example Account) that you want to disable, and press Enter.
NOTE: Substitute User Name in the command below with the user name (ex: Example Account) of the user account (ex: Example Account) within quotes.
(Disable local account)
Net user "User Name" /active:no

(Disable domain account)
Net user "User Name" /active:no /domain
Name:  CMD-Disable.jpg
Views: 39227
Size:  37.1 KB
6. When finished, close the elevated command prompt.
That's it,
Shawn






Comment

 User Account - Enable or Disable




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
Built-in Administrator Account - Enable or Disable
How to Enable or Disable the Built-in Elevated Administrator Account in Windows 7 This tutorial will show you how to enable or disable the built-in elevated Administrator account in Windows 7. You must be logged in as an administrator to be able to do the options in this tutorial. ...
Tutorials
Enable user account at logoff/shutdown - server 2008 R2
Hi folks. I've got Server 2008 R2 laptop that I need to transfer files to. Frequently, when I reconnect the mapped drive on the source computer, it disables my account on the laptop. Sometimes I forget to check & re-enable it, causing me to get someone to re-enable my account. I created a...
General Discussion
ASP.NET user account... delete or disable it?
I reinstalled and updated Windows. Then created a back-up image. Whenever reinstalling from this image, I see an extra User account called ASP.NET My understanding it that it has something to do with the Net4 framework installation (perhaps Windows was not fully updated before I made the ...
Installation & Setup
How to disable some apps on secondary user account.
Hello Guys, I'm a VFX professional, so Apps I use need large amount of free memory and CPU. But also I use to be online for much time. I use AVG Internet Security. But it takes a larger amount of Memory and CPU. I don't use Internet while working, so I don't need Antivirus security while...
Performance & Maintenance
How to Disable User account control (UAC) in Windows 7
http://www.blogsdna.com/wp-content/uploads/2008/12/windows-7-user-account-control.png "User account control (UAC) a new feature which was introduced in Microsoft windows vista has become more annoying feature. UAC in windows vista is way to protected windows operating system by preventing...
System Security
Backup User and System Data Files - Enable or Disable
How to Enable or Disable to Backup Data Files in Windows 7 This will allow you to enable or disable the ability of all users on the computer to Backup User and System Data Files in Windows 7. This is enabled by default in Windows 7. EXAMPLE: When Backup is Disabled Messages Using a...
Tutorials

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:19.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App