Master disk management, volume configuration, and file sharing in Windows Server.
Domain: Manage storage and file services (15-20%)
This module covers physical disk management, Storage Spaces, SMB shares, and the permission model - all key exam topics.
Use Basic Disks with GPT for most scenarios. For advanced storage features like redundancy and pooling, use Storage Spaces instead of Dynamic Disks.
| Feature | MBR (Master Boot Record) | GPT (GUID Partition Table) |
|---|---|---|
| Max Disk Size | 2 TB | 18 EB (exabytes) |
| Max Partitions | 4 primary (or 3 + extended) | 128 |
| Boot Mode | BIOS (Legacy) | UEFI |
| Redundancy | Single partition table | Backup table at disk end |
The Disk Management MMC snap-in (diskmgmt.msc) is the primary GUI for managing storage.
PowerShell provides complete storage management through the Storage module.
List all physical disks attached to the server to see their status and partition style.
Before a new disk can hold partitions, initialize it with a partition style.
Pipe a disk to Format-List to see every property, including bus type and firmware version.
Create a partition that fills the entire disk and automatically assigns a drive letter.
Format the raw partition with NTFS and give it a descriptive label.
Check all volumes on the system to verify drive letters, file systems, and free space.
Chain the entire disk setup into a single pipeline -- initialize, partition, and format in one shot.
Disk Management is great for one-off tasks. PowerShell shines when you need to:
Storage Spaces pools physical disks into virtual storage with built-in resilience.
| Type | Description | Min Disks | Efficiency |
|---|---|---|---|
| Simple | Striping only (no redundancy) | 1 | 100% |
| Mirror | 2 or 3 copies of data | 2 | 50% |
| Parity | RAID 5/6 equivalent | 3 | 67-88% |
Pool all available physical disks into a single Storage Space for flexible provisioning.
Create a mirrored virtual disk within the pool for data redundancy.
Server Message Block (SMB) is the Windows file sharing protocol. SMB 3.x is the current standard.
| Share Name | Example | Description |
|---|---|---|
| Standard | \\Server\Data | Visible in network browse |
| Hidden ($) | \\Server\Data$ | Must know exact name to access |
| Administrative | \\Server\C$, \\Server\ADMIN$ | Built-in admin shares |
Enumerate every share on the server, including hidden administrative shares.
Check active sessions to see which users are currently connected to your shares.
View which files are currently open over the network for troubleshooting locks.
Windows uses two permission layers. Understanding how they interact is critical.
Most restrictive wins! If share grants Full but NTFS grants Read, user gets Read. Best practice: Set share to "Everyone: Full Control" and control access via NTFS.
Inspect the NTFS access control list on a folder to see who has what level of access.
Grant Change-level access on a share to a specific group.
Build an NTFS access rule object and apply it to a folder to grant Modify rights.
| Task | Cmdlet |
|---|---|
| List disks | Get-Disk |
| Initialize disk | Initialize-Disk -PartitionStyle GPT |
| Create partition | New-Partition -UseMaximumSize |
| Format volume | Format-Volume -FileSystem NTFS |
| List volumes | Get-Volume |
| Create share | New-SmbShare -Name X -Path Y |
You're now prepared to practice storage management in both the GUI Lab (Disk Management) and PowerShell Lab. Complete both to master the concepts!