Skip to content

Lesson 03 — Windows Users & Groups

Imagine joining a new company on your first day.

Your IT administrator creates:

  • Your Windows account
  • Your email account
  • Your Active Directory account
  • Your department access
  • Your shared drive permissions
  • Your VPN access

Within minutes, you’re able to access only the resources you need.

How?

Through Windows Users & Groups.

Windows uses user accounts and security groups to control authentication, authorization, and resource access across workstations, servers, and enterprise environments.

Whether you’re a Windows Administrator, Cloud Engineer, SOC Analyst, or Cybersecurity Professional, understanding users and groups is one of the most important Windows administration skills.


After completing this lesson, you will be able to:

  • Understand Windows user accounts.
  • Differentiate between local and domain users.
  • Learn Windows security principals.
  • Manage local users and groups.
  • Understand built-in accounts.
  • Explore group memberships.
  • Apply enterprise identity management best practices.

A Windows User is a digital identity that allows a person or service to log in to a Windows system.

A user account contains:

  • Username
  • Password
  • Security Identifier (SID)
  • User Profile
  • Group Memberships
  • Permissions

Windows uses this identity to determine what a user can access.


User accounts provide:

  • Authentication
  • Authorization
  • Accountability
  • Auditing
  • Access Control

Without user accounts, Windows cannot secure resources or track user activity.


Windows supports multiple types of user accounts.

Stored on a single computer.

Example:

PC-01
Administrator
Student
Support

Local users can only access that specific computer.


Stored in Active Directory.

Example:

Active Directory
rohit@gohackerscloud.com
Login to Any Company Computer

Domain users are common in enterprise environments.


Used for personal Windows devices.

Examples:

  • Outlook.com
  • Hotmail.com
  • Live.com

Enterprise organizations typically use Active Directory instead.


Local User Domain User
Stored on one computer Stored in Active Directory
Limited to one system Can log in across the organization
Managed locally Centrally managed
Suitable for standalone PCs Used in enterprise environments

Every Windows user receives a unique Security Identifier (SID).

Example:

S-1-5-21-3623811015-3361044348-30300820-1013

Windows internally uses the SID—not the username—to identify users.

Even if a username changes, the SID remains the same.


Each Windows user has a profile.

Default location:

C:\Users\

Example:

C:\Users\Administrator
C:\Users\John
C:\Users\Student

The profile stores:

  • Desktop
  • Documents
  • Downloads
  • Pictures
  • User settings
  • Application preferences

Windows includes several built-in accounts.

The highest privileged local account.

Capabilities include:

  • Install software
  • Manage users
  • Change system settings
  • Manage security
  • Configure networking

Provides temporary access with very limited permissions.

Most enterprise organizations disable the Guest account.


An internal Windows account used by the operating system.

Characteristics:

  • Highest system privileges
  • Cannot be used for interactive logon
  • Runs many Windows services

A Group is a collection of user accounts that share permissions.

Instead of assigning permissions to each individual user, administrators assign permissions to groups.

Example:

IT Department
Administrators Group
Helpdesk Group
Developers Group

Groups simplify administration and improve consistency.


Common built-in groups include:

Group Purpose
Administrators Full system control
Users Standard users
Backup Operators Backup and restore
Remote Desktop Users Remote access
Power Users Legacy administrative tasks
Guests Limited access

A user can belong to multiple groups.

Example:

John
Users
Remote Desktop Users
Developers

Windows combines permissions from all assigned groups.


Authentication answers:

Who are you?

Windows verifies:

  • Username
  • Password
  • Smart Card
  • Windows Hello
  • Multi-Factor Authentication (MFA)

Only authenticated users are allowed to continue.


Authorization answers:

What are you allowed to do?

Windows evaluates:

  • Group Membership
  • NTFS Permissions
  • Security Policies
  • User Rights

This determines what resources a user can access.


Open Local Users and Groups.

lusrmgr.msc

Administrators can:

  • Create users
  • Delete users
  • Disable accounts
  • Reset passwords
  • Manage group memberships

Another management console is:

compmgmt.msc

Navigate to:

Computer Management
Local Users and Groups

This interface is commonly used by Windows administrators.


Create a new user.

Terminal window
New-LocalUser -Name "Student01"

Set a password.

Terminal window
Set-LocalUser

PowerShell simplifies user administration and automation.


Display local users.

Terminal window
Get-LocalUser

Example output:

Administrator
Guest
Student01

Display local groups.

Terminal window
Get-LocalGroup

Example:

Terminal window
Add-LocalGroupMember `
-Group "Administrators" `
-Member "Student01"

Administrators should grant elevated privileges only when required.


Good account management includes:

  • Use unique user accounts.
  • Disable unused accounts.
  • Remove temporary accounts.
  • Enforce strong passwords.
  • Enable MFA where possible.
  • Review privileged accounts regularly.
  • Avoid shared accounts.

Identity management is one of the most important aspects of Windows security.


Cloud platforms use Windows identities extensively.

Examples:

  • Microsoft Entra ID
  • Azure Virtual Machines
  • Azure RBAC
  • Windows EC2
  • AWS Managed Microsoft AD
  • IAM Identity Center integration

Cloud administrators frequently manage Windows identities across hybrid environments.


Security teams investigate:

  • Failed logins
  • Privileged accounts
  • Disabled accounts
  • Suspicious account creation
  • Password changes
  • Group membership modifications

Compromised user accounts are one of the most common attack vectors.


Display current user:

Terminal window
whoami

Display current user’s groups:

Terminal window
whoami /groups

Display local users:

Terminal window
Get-LocalUser

Display local groups:

Terminal window
Get-LocalGroup

Display logged-in user information:

Terminal window
whoami /all

A new employee joins the organization.

The IT team performs the following tasks:

Create Active Directory Account
Assign Department Groups
Create Windows Profile
Assign File Permissions
Enable VPN Access
Issue Laptop
Employee Logs In Successfully

This onboarding workflow is common across enterprise environments.


As a Windows administrator:

  • Follow the Principle of Least Privilege.
  • Use groups instead of assigning permissions to individuals.
  • Disable unused accounts.
  • Review privileged users regularly.
  • Require strong passwords and MFA.
  • Avoid using the built-in Administrator account for daily work.
  • Audit group memberships.
  • Document account changes.

Strong identity management improves both security and operational efficiency.


After completing this lesson, you should understand:

  • Windows user accounts.
  • Local vs Domain users.
  • Security Identifiers (SIDs).
  • User profiles.
  • Built-in accounts.
  • Windows groups.
  • Authentication and authorization.
  • Enterprise identity management.

Windows Users & Groups form the foundation of identity and access management in Microsoft environments.

By understanding user accounts, group memberships, authentication, and authorization, you’ll be able to securely administer Windows workstations, servers, Active Directory environments, and cloud infrastructure.

These concepts prepare you for enterprise Windows administration, Active Directory, Azure, cloud security, and cybersecurity operations.


➡️ Lesson 04 — Active Directory Fundamentals

In the next lesson, you’ll learn the fundamentals of Microsoft Active Directory, including domains, domain controllers, Organizational Units (OUs), Group Policy, authentication, and centralized identity management used by enterprise organizations.