Windows 2019
Sponsored Link

Initial Settings : Add Local User2019/02/04

 
Add Local Users.
On CUI configuration, set like follows.
[1] Run PowerShell with Admin Privilege and Configure like follows.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

# for example, add [Serverworld] user
# [P@ssw0rd01] ⇒ the password you set (replace it you like)
# [PasswordNeverExpires] ⇒ set password never expire(if set default expiration, do not specify this option)
PS C:\Users\Administrator> New-LocalUser -Name "Serverworld" `
-FullName "Server World" `
-Description "Administrator of this Computer" `
-Password (ConvertTo-SecureString -AsPlainText "P@ssw0rd01" -Force) `
-PasswordNeverExpires `
-AccountNeverExpires 

Name        Enabled Description
----        ------- -----------
Serverworld True    Administrator of this Computer

# add [Serverworld] user to [Administrators] group
PS C:\Users\Administrator> Add-LocalGroupMember -Group "Administrators" -Member "Serverworld" 

# verify
PS C:\Users\Administrator> Get-LocalUser -Name Serverworld 

Name        Enabled Description
----        ------- -----------
Serverworld True    Administrator of this Computer

PS C:\Users\Administrator> Get-LocalGroupMember -Group "Administrators" 

ObjectClass Name               PrincipalSource
----------- ----               ---------------
User        RX-7\Administrator Local
User        RX-7\Serverworld   Local

# if remove an user, do like follows
PS C:\Users\Administrator> Remove-LocalUser -Name "Serverworld" 
Initial Settings : Add Local User (GUI)
 
On GUI configuration, set like follows.
[2] Run [Server Manager] and Open [Tools] - [Computer Management].
[3] Right-Click [Users] under the [Local Users and Groups] on the left pane and select [New User].
[4] Input UserName and Password for a new user and click [Create] button. Other intems are optional to set.
[5] After creating normally, New user is shown on the list like follows.
[6] If you'd like to set administrative priviledge to the new user, Right-click the user and open [Properties].
[7] Move to [Member of] tab and click [Add] button.
[8] Specify [Administrators] group like follows.
[9] Make sure [Administrators] group is added on the list and click [OK] button to finish settings.
Matched Content