惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
Last Week in AI
Last Week in AI
U
Unit 42
aimingoo的专栏
aimingoo的专栏
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
小众软件
小众软件
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Recent Announcements
Recent Announcements
罗磊的独立博客
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
博客园_首页
M
MIT News - Artificial intelligence
博客园 - 司徒正美
T
The Blog of Author Tim Ferriss
D
DataBreaches.Net
IT之家
IT之家
C
Check Point Blog
酷 壳 – CoolShell
酷 壳 – CoolShell
T
Tailwind CSS Blog
D
Docker
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
USERS AND GROUPS IN WINDOWS
Manoj sai Challagulla · 2026-06-23 · via DEV Community

Manoj sai Challagulla

First Principle

A User and a Group are different things.

Think of a college.

Students

Manoj
Rahul
Priya

These are people.

Groups

Students
Faculty
Principal

These are roles.

A person can belong to one or more groups.

Example:

Manoj
└── Students

Principal
└── Faculty
└── Management

Windows works exactly the same way.

Windows Internal Structure

When you create:


manoj

Windows only creates an identity.

At this point Windows knows:

User Name = manoj
SID = S-1-5-21-xxxx...

SID = Security Identifier.

Internally Windows doesn't really care about the name.

It identifies users by SID.

Why Groups Exist

Imagine Windows had 1000 users.

Without groups Microsoft would have to store permissions separately for every user.

Example:

Manoj -> Can install software
Rahul -> Can install software
Priya -> Can install software
John -> Can install software

That's inefficient.

Instead:

Administrators
    ├── Manoj
    ├── Rahul
    ├── Priya
    └── John

Now Windows says:

Anyone inside Administrators
gets these permissions.

Much easier.

Common Windows Groups

Run:

net localgroup

You'll see many groups.

The important ones are:

Administrators

Most powerful group.

Members can:

✅ Install software

✅ Create users

✅ Delete users

✅ Access all files

✅ Change passwords

✅ Install drivers

✅ Change system settings

Example:

Administrators
├── Administrator
└── thriv

Users

Default group.

Almost everyone belongs here.

Can:

✅ Use apps

✅ Browse internet

✅ Save files

Cannot:

❌ Create users

❌ Install drivers

❌ Change system security

Guests

Temporary users.

Very limited access.

Example:

Someone borrows your laptop.

You don't want them accessing your files.

Create Guest account.

Remote Desktop Users

Can log into the computer remotely.

Example:

Remote Desktop Users
└── Manoj

Now Manoj can connect using Remote Desktop.

What Happens During Login?

Suppose:

User = manoj

Windows checks:

Which groups does manoj belong to?

Maybe:

manoj
├── Users
└── Administrators

Windows loads permissions from both groups.

Result:

manoj gets admin rights
Permission Calculation

Suppose:

Administrators

has:

Install Software
Delete Users
Change Settings

And:

Users

has:

Run Programs
Save Files

If Manoj belongs to both:

manoj
├── Users
└── Administrators

Then Manoj gets:

Run Programs
Save Files
Install Software
Delete Users
Change Settings

Windows combines permissions.

Real Example From Your Laptop

Earlier:

net localgroup Administrators

showed:

Administrator
thriv

Meaning:

thriv
└── Administrators

Therefore:

thriv can:
- create users
- delete users
- install software

But:

manoj

was not in that group.

So:

manoj
└── Users

Only normal permissions.

Adding User to Group

This command:

net localgroup Administrators manoj /add

does NOT create a new user.

It simply changes:

Before:

manoj
└── Users

After:

manoj
├── Users
└── Administrators

Now Manoj becomes admin.

Removing User From Group

This command:

net localgroup Administrators manoj /delete

changes:

Before:

manoj
├── Users
└── Administrators

After:

manoj
└── Users

Admin powers gone.

Important Concept: UAC (User Account Control)

You might have noticed:

Even when you're an Administrator, Windows still asks:

Do you want to allow this app to make changes?

Why?

Because Windows doesn't want malware to get full admin power automatically.

So even Admin users run with limited rights initially.

When you click:

Run as Administrator

Windows temporarily gives full admin privileges.

Linux Comparison (Useful for Backend Engineers)

Since you're learning Django and servers:

Windows:

User
↓
Group
↓
Permissions

Linux:

User
↓
Group
↓
Permissions

Exactly the same concept.

Example:

sudo

in Linux is very similar to:

Run as Administrator

in Windows.