Explore and configure Windows user accounts, permissions, and folder sharing in a network
Aim / Objective
To explore and create Windows local user accounts and security groups; configure password policies and User Account Control (UAC); calculate effective NTFS permissions versus SMB Share permissions; and configure secure folder sharing over a Local Area Network with credential-based access.
Hardware & Software Requirements
Hardware Components
- Two desktop PCs connected over a common LAN / Switch (PC1: File Server, PC2: Client)
- Cat6 Ethernet cables
Software, OS & Tools
- Windows 10/11 Pro (Local Users and Groups: `lusrmgr.msc`, Local Security Policy: `secpol.msc`)
- Windows File Sharing / SMB 2/3 protocol enabled
- Command-line tools: `net user`, `net share`, `icacls`, `whoami`
Teacher's Lab Delivery Guide
Essential briefing notes, pedagogy, and setup tips for lab instructors⏱ 5-Minute Pre-Lab Lecture Briefing:
Teach the golden rule of permissions: "When Share Permissions and NTFS Permissions clash, the MOST RESTRICTIVE permission always wins!" Explain that Share permissions only apply when accessing over the network (`\\server\share`), while NTFS permissions apply ALWAYS (both locally and across the network). Teach the Principle of Least Privilege: never give Everyone "Full Control".
📝 Key Concepts to Write on Whiteboard:
- Account types: Administrator, Standard User, Guest, Microsoft Account vs Local Offline Account
- User Account Control (UAC) security boundary and credential elevation tokens
- Local Users and Groups (`lusrmgr.msc`) management
- NTFS Permissions (Read, Write, Read & Execute, Modify, Full Control, Special)
- SMB Network Share Permissions (Read, Change, Full Control)
- Permission Inheritance and Explicit Permissions
- Effective Permissions formula: `Effective = Most Restrictive(Share, NTFS)`
- UNC (Universal Naming Convention) path format: `\\ComputerName\ShareName`
Step-by-Step Practical Procedure
Create Local User Accounts and Groups via `lusrmgr.msc`
Press `Win + R`, type `lusrmgr.msc`. Under "Users", right-click -> "New User...". Create two test accounts: `Student_User` (standard user) and `Faculty_User`. Set secure passwords and check "Password never expires" for lab testing. Under "Groups", create a group named `CSE_Lab_Members` and add both users.
CLI equivalent: net user Student_User P@ssw0rd2026 /add
Create Folder Structure and Configure NTFS File Permissions
Create folder `C:\Lab_Shares\Project_Data`. Right-click folder -> "Properties" -> "Security" tab -> "Advanced". Click "Disable inheritance" -> "Convert inherited permissions into explicit permissions". Remove "Users" group. Click "Add", select `CSE_Lab_Members`, and grant "Read & Execute", "List folder contents", and "Read" permissions.
Path: Folder Properties -> Security -> Advanced -> Permissions
Configure SMB Network Share Permissions
In Folder Properties, click the "Sharing" tab -> "Advanced Sharing". Check "Share this folder". Set Share Name to `Project_Data`. Click "Permissions". Remove "Everyone". Add `CSE_Lab_Members` and grant "Change" and "Read" permissions. Click Apply and OK.
CLI equivalent: net share Project_Data=C:\Lab_Shares\Project_Data /grant:CSE_Lab_Members,CHANGE
Calculate and Verify Effective Permissions Matrix
In the "Security" tab -> "Advanced" -> "Effective Access" tab. Click "Select a user", type `Student_User`, and click "View effective access". Observe that even though Share has "Change", if NTFS is set to "Read", the effective access is strictly "Read".
Rule: Effective Permission = Least Privilege between Share & NTFS
Connect from Client PC over LAN via UNC Path
On the Client PC, press `Win + R`, type `\\192.168.1.X\Project_Data` (or `\\HostPC_Name\Project_Data`). When prompted for network credentials, enter `HostPC_Name\Student_User` and password. Open the share, create a file, and verify whether read or write succeeds according to the configured permissions.
Run: \\192.168.1.X\Project_Data
Interactive Hands-On Lab Simulator
Practice and test concepts virtually before or after performing on physical lab equipmentObservations & Student Lab Record
Students are required to record the following measured parameters, hardware specifications, and output status into their physical lab journals:
| Scenario | SMB Share Permission | NTFS Security Permission | Effective Network Access | Explanation |
|---|---|---|---|---|
| Scenario A | Full Control | Read Only | Read Only | NTFS restricts access; user cannot write or modify files. |
| Scenario B | Read Only | Full Control | Read Only | Share permission bottleneck restricts network write capability. |
| Scenario C | Change | Modify | Modify / Write | Both allow read, write, and delete; files can be edited and saved. |
| Scenario D | Change | Explicit Deny (Write) | Read Only (Deny wins) | An explicit "Deny" rule on NTFS always overrides any Allow. |
| Scenario E (Local Login) | N/A (Local Console) | Read Only | Read Only | Share permissions have zero effect on users logged in locally. |
Conclusions & Learning Outcome
Windows local user accounts, security groups, and password policies were created and administered using `lusrmgr.msc`. The interplay between SMB Share permissions and NTFS security permissions was verified across a live LAN. The fundamental rule of least privilege—where the most restrictive permission prevails—was confirmed through practical testing.
Oral Exam & Viva Questions with Answers
Essential questions asked by external examiners and lab evaluators (Accordion UI)When accessing a folder over the network, the MOST RESTRICTIVE permission between the Share permission and the NTFS permission is the effective permission that actually applies to the user.