Lab 1 - User Accounts & Management
Lab 1 - User Accounts & Management
LAB 1
Nishant Chavan
[email protected]
User Accounts & Management
Table of Contents
1. Managing Users via Graphical User Interface (GUI)......................................................2
1.1. Creating a User..................................................................................................... 2
1.2. Managing Security and Access Control.................................................................3
1.3. Setting a New User Password...............................................................................4
1.4. Adding User to a Group........................................................................................4
1.5. Removing User from a Group...............................................................................5
1.6. Deleting a User..................................................................................................... 6
2. Managing Users via Command Line Interface (CLI)......................................................6
2.1. Creating a User via CLI..........................................................................................6
2.2. Changing the Password of a User via CLI..............................................................6
2.3. Making the Account Active/Inactive via CLI..........................................................7
2.4. Deleting a User via CLI..........................................................................................7
1
1. Managing Users via Graphical User Interface (GUI)
1.1. Creating a User
Click on Start Menu > Server Manager > Tools > Computer Management
Once inside computer management click on Local Users and Groups > Users and right
click to make a “New User”
Enter the username of your choice and set the password and hit enter.
Example:
Username: Adam
o Password: Welcome@123
Unselect “User must change password at next logon”
2
1.2. Managing Security and Access Control
After creating the user, right click on User > Properties to see checkout different ways on
how we can manage security and access control.
In General tab we can force some restrictions on passwords such as making them never
expire.
In Member tab you can see which group they belong and realistically when you are getting
started as a Help Desk or Sys Admin, you are going to work around user account, password,
is the account expired or are the account is part of any group, etc.
3
1.3. Setting a New User Password
Right click on the User > Set Password
This is a common practice in an organization where you would need to set user password
something of intention.
Example: The employee was terminated or left and you might need to set a new
password for the user for “someone else”/ “new user taking over” to login and go
through their account and move their data to somewhere else.
4
We can see that the user Adam has been added to the Administrators group, click OK.
Notice the naming “WIN-0MJE1JOLIDE\Administrators”, there’s a bunch of letters, that
series of letters is our hostname (computer) and how it identifies itself and the backslash is
saying the group of Administrators.
So, when you see something like this “WIN-0MJE1JOLIDE\Administrators”, it’s basically
saying that the hostname and the Administrators group is what the user Adam belongs to.
5
1.6. Deleting a User
Right click on the user > Delete > Yes, and the user is successfully deleted.
Output:
The user is created successfully and now the user Adam must be there in Computer
Management > Local Users and Groups > Users
6
2.3. Making the Account Active/Inactive via CLI
Enter this command:
C:\Users\Administrator> net user Adam /active:no
- /active:no – no provides a value to active: for disabling the account.
- /active:yes – yes provides a value to active: for enabling the account.
Output:
END