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)
- Right-click
Start > select Computer Management.
- In the
left pane, expand Local Users and Groups > click Users.
- In the
right pane, right-click and select New User....
- Fill
in the user details:
- Username
- Full
name (optional)
- Description
(optional)
- Password
- Choose
options:
- Uncheck
"User must change password at next logon" if needed.
- Check
"Password never expires" if you want that.
- 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-LocalGroupMember -Group "Administrators"
-Member "username"
Note: Make sure PowerShell is running as
Administrator.
🧾 Method 3: Using Command
Prompt (CMD)
- Open CMD
as Administrator.
- Run
this to create a user:
#cmd
net user username YourPasswordHere /add
- 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

0 Comments