0% found this document useful (0 votes)
2 views

Lab 1 - User Accounts & Management

This document provides a comprehensive guide on managing user accounts in the Windows Operating System through both Graphical User Interface (GUI) and Command Line Interface (CLI). It covers tasks such as creating, modifying, and deleting user accounts, as well as managing security and access control. Detailed instructions and examples are included for each method to facilitate user management effectively.

Uploaded by

Captain America
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Lab 1 - User Accounts & Management

This document provides a comprehensive guide on managing user accounts in the Windows Operating System through both Graphical User Interface (GUI) and Command Line Interface (CLI). It covers tasks such as creating, modifying, and deleting user accounts, as well as managing security and access control. Detailed instructions and examples are included for each method to facilitate user management effectively.

Uploaded by

Captain America
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Windows Operating System

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.

1.4. Adding User to a Group


Right Click on User > Properties > Member Of > Click Add
You can enter a group name, ex: Administrators so that the user Adam can be a part of it
and click on Check Names to check if it matches any groups.
Note: If you try typing Admin and click on Check Names it won’t find it, that’s because it’s
called the Administrators group.

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.

1.5. Removing User from a Group


Right click on the User Adam > Properties > Member Of, select the group you want to
remove, ex: Administrator and click on Remove and then Apply and as we can see the user
Adam is no more in the group Administrator.

5
1.6. Deleting a User
Right click on the user > Delete > Yes, and the user is successfully deleted.

2. Managing Users via Command Line Interface (CLI)


2.1. Creating a User via CLI
Open command prompt and type:
C:\Users\Administrator> net user Adam Welcome@123 /add
Syntax: net user <username> <password> /add
Understanding the Commands:
1. net:
- Built in command line utility in Windows, it allows us to manage various network
related settings and functions, including user management.
- If we want to manage users, we would then have to followed up with user, so net
user allows us to manage users.
2. /add:
- /add is used for adding the user in user accounts.
- Forward slash is a flag setting that is used with add (/add). These flag or options
as they are both known are ways that we could provide additional features and
functionality to the existing command or just give them more specificity.

Output:
The user is created successfully and now the user Adam must be there in Computer
Management > Local Users and Groups > Users

2.2. Changing the Password of a User via CLI


You could also change the password by entering the same command except the flag:
C:\Users\Administrator> net user Adam Bye@123
After hitting enter, the computer already knows that the account exists and so it’s just going
to understand it that this is a password update request and give the output that the command
completed successfully.

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:

The user account Adam is disabled as seen in the properties.

2.4. Deleting a User via CLI


To delete a user, enter this command:
C:\Users\Administrator> net user Adam /delete
Output:

END

You might also like