Search

How to enable or disable a local user account

Before continuing, please visit the following links to learn what are local users and how to create a local user in Windows Server 2025.

Sometimes, we need to disable a local user account or enable a disabled local user account in Windows Server. A disabled local user account cannot login to a Windows Server Operating System. We can a disable a local user account or enable a disabled local user account using Computer Management MMC snap–in.

Follow below steps to disable a local user account or enable a disabled user account in Windows Server.

Step 01 – Open Computer Management MMC snap–in by right–clicking the Windows start button and then selecting Computer Management from the menu. You can also open Computer Management MMC snap–in, by typing compmgmt.msc in Windows Run dialog box and then by click the "OK" button. Another way to open the Computer Management MMC snap–in is, search for compmgmt.msc in Windows Search box and then click the search result.

enable-disable-user-open-computer-management-mmc.jpg

 

Step 02 – Open "Local Users and Groups" and then "Users" folder inside Computer Management MMC snap–in. Right–click the user you want to change his password on his next login and then select the "Properties" from the context menu, as shown in below image.

enable-disable-user-propeties.jpg

 

Step 03 – Click and open the "General" tab of the local user Properties Window. Check the "Account is disabled" checkbox to disable the local user account, then click the "Apply" button and the "OK" button, as shown in below screenshot.

user-account-disabled.jpg

 

check-mark.jpg Please note that when the "Account is disabled" checkbox is checked, the local user account is disabled. When the local user account is disabled, the user cannot login to the Windows Server Operating System.

If the "Account is disabled" checkbox is unchecked, the local user account is enabled and the user can login to the Windows Server Operating System.

 

Written by Jajish Thomas.
Last updated on 2nd August, 2024.

 

Related Tutorials
Introduction to Windows Server 2025
Minimum hardware requirements for Windows Server 2025
New features of Windows Server 2025
How to download Windows Server 2025 Preview iso file
How to install Windows Server 2025
Differences between Server Core and GUI (Desktop Experience)
Default GUI tools in Server Core
How to run PowerShell as administrator
How to run PowerShell as administrator in Server Core
How to find the PowerShell version in Server Core and Desktop experience
How to add Network icon to desktop in Windows Server 2025
How to add Computer (This PC) icon to desktop in Windows Server 2025
How to rename a computer using Windows Explorer
How to rename computer using "Rename-Computer" PowerShell Cmdlet
How to configure IPv4 Address in Windows Server 2025
How to configure IPv4 address in Windows Server 2025 using PowerShell Cmdlets
How to configure IPv6 Address in Windows Server 2025
How to configure IPv6 Address in Windows Server 2025 using PowerShell
What is MMC (Microsoft Management Console) and what are MMC snapin files
Add a snapin to MMC console
What are Roles and Features and difference between Roles and Features in Windows Server
Roles in Windows Server
Features in Windows Server
How to add Roles and Features in Windows Server
How to Remove Roles and Features in Windows Server
How to add Roles and Features using PowerShell
How to remove Roles and Features using PowerShell
Different types of computer hardware devices
What is a Driver Software
What is Device Manager and how to open Device Manager
What is Plug and Play (PnP)
How to scan for hardware changes using Device Manager and pnputil.exe
How to disable a device using Device Manager
How to disable a device using PowerShell Disable-PnpDevice Cmdlet
How to enable a device using PowerShell Enable-PnpDevice Cmdlet
How to update drivers using Device Manager
What is Driver Signing in Windows Operating Systems
What is Roll back of a driver and how to Roll Back a driver
How to uninstall a device using Device Manager
What are File attributes in Windows Operating Systems
attrib command in Windows
How to hide files and folders using Windows File Explorer
How to hide files and folders using attrib.exe command
How to view hidden files using Windows File Explorer
What are file name extensions
What are known file extensions and how to view known file extensions
How to associate a file name extension with an app
Hide or Show known file name extensions in Windows Server 2025
Hide or Show protected operating system files in Windows Server 2025
What are multi–user Operating Systems (OS) and multi–task Operating Systems (OS)
What are local user accounts and local groups in Windows Server
Different types of user accounts in Windows Server
How to create a local user in Windows Server
How to create a local user in Windows Server using New-LocalUser PowerShell cmdlet
How to force a local user to change password on next login
How to enable or disable a local user account
How to allow or prevent a local user to change password
What are Security Principals and SIDs
How to find SIDs of local user accounts