How to add local user on windows server 2019

 


To add a local user on Windows Server 2019, you can use either the GUI (Server Manager or Computer Management) or the Command Line (PowerShell or CMD). Here's how:


🖥️ Method 1: Using Computer Management (GUI)

  1. Right-click Start > select Computer Management.
  2. In the left pane, expand Local Users and Groups > click Users.
  3. In the right pane, right-click and select New User....
  4. Fill in the user details:
    • Username
    • Full name (optional)
    • Description (optional)
    • Password
  5. Choose options:
    • Uncheck "User must change password at next logon" if needed.
    • Check "Password never expires" if you want that.
  6. Click Create, then Close.

💻 Method 2: Using PowerShell

#powershell

# Replace 'username' and 'password' with your values

New-LocalUser -Name "username" -Password (ConvertTo-SecureString "YourPasswordHere" -AsPlainText -Force) -FullName "Full Name" -Description "Optional Description"

 

 # Add user to a group (e.g., Administrators)

Add-LocalGroupMember -Group "Administrators" -Member "username"

 

Note: Make sure PowerShell is running as Administrator.


🧾 Method 3: Using Command Prompt (CMD)

  1. Open CMD as Administrator.
  2. Run this to create a user:

#cmd

net user username YourPasswordHere /add

  1. Optionally, add the user to a group:

#cmd

net localgroup Administrators username /add



windows server 2019,

add local user windows server 2019,

create user account windows server,

windows server user management,

how to add user in windows server,

windows server 2019 tutorial,

create local user account,

windows server 2019 local user,

add user with administrative privileges,

server 2019 user account setup,

windows server administration,

windows server add new user,

step by step add user server 2019,

windows server 2019 guide,

manage users windows server


Post a Comment

0 Comments