Managing file and folder permissions is one of the most important administrative tasks in Windows Server 2019 Standard. In multi-user office environments, administrators often need to provide different levels of access to shared drives such as D:\DATA, D:\MAGCLOUD, or software folders while ensuring security and proper access control.
This detailed technical guide explains how to:
Windows Server uses the NTFS permission system to control:
Common permissions include:
| Permission | Description |
|---|---|
| Full Control | Complete access including delete/change permissions |
| Modify | Read, write, modify, delete |
| Read & Execute | Open and run files |
| Read | View files/folders |
| Write | Create or edit files |
Suppose your server contains:
D:\
├── DATA
├── MAGCLOUD
├── mysql
├── mysql123
└── SAG Infotech
And users/groups like:
You may want:
mag group → access to MAGCLOUD
trainee group → access to SAG Infotech
You will see:
Give Full Control to user mag1
mag1
✅ Full Control
Instead of assigning permissions individually:
Example:
mag
Assign permissions once to mag.
Benefits:
Run:
lusrmgr.msc
You can:
Windows provides icacls for advanced permission management.
icacls "D:\DATA"
Example output:
D:\DATA BUILTIN\Administrators:(F)
mag:(M)
trainee:(RX)
icacls "D:\DATA" /grant mag1:(OI)(CI)F
icacls "D:\MAGCLOUD" /grant mag:(OI)(CI)F
| Flag | Meaning |
|---|---|
| F | Full Control |
| M | Modify |
| RX | Read + Execute |
| R | Read |
| W | Write |
| Flag | Meaning |
|---|---|
| OI | Object Inherit |
| CI | Container Inherit |
These ensure:
icacls "D:\DATA" /grant mag:(OI)(CI)F /T
/T applies permissions to:
icacls "D:\DATA" /remove mag1
icacls "D:\DATA" /reset /T
Use carefully.
PowerShell provides more administrative flexibility.
Get-Acl "D:\DATA"
Readable format:
(Get-Acl "D:\DATA").Access
icacls "D:\DATA" /grant mag:(OI)(CI)F
Get-LocalGroupMember "mag"
Add-LocalGroupMember -Group "mag" -Member "mag1"
Remove-LocalGroupMember -Group "mag" -Member "mag1"
Windows Server uses:
Final access is the most restrictive combination.
Example:
Result:
| Folder | Recommended Access |
|---|---|
| D:\DATA | Admins only |
| D:\MAGCLOUD | mag group |
| D:\SAG Infotech | trainee group |
| D:\mysql | Administrators only |
Everyone = Full Control
Unless absolutely necessary.
Possible causes:
taskkill /f /im explorer.exe && start explorer.exe
Proper folder permission management in Windows Server 2019 is essential for maintaining security, stability, and controlled access in multi-user environments. By using groups, inheritance, PowerShell, and icacls, administrators can efficiently manage large numbers of users and folders while maintaining centralized control.
Using best practices such as group-based permissions and avoiding unrestricted Full Control access helps ensure better server security and easier long-term maintenance.