Windows Servers
Managing User Permissions on Windows Server the Right Way
By NileVPS Team · Published · 5 min read
اقرأ المقال بالعربيMost Windows server incidents that start with "someone changed something" end with the same finding: too many people had administrator rights. Permissions on Windows Server are layered, with accounts, groups, user rights, NTFS access lists and share permissions, and it is easy to grant too much just to make an error message go away. This guide explains each layer, shows how to give people exactly the access they need, and ends with a checklist you can apply to an existing server.
The building blocks
| Layer | What it controls | Where to manage it |
|---|---|---|
| User accounts | Who can sign in | lusrmgr.msc, New-LocalUser, or Active Directory |
| Groups | Collections of users that receive rights | lusrmgr.msc, Add-LocalGroupMember |
| User rights assignment | System-wide actions such as RDP logon or shutdown | secpol.msc or Group Policy |
| NTFS permissions | Access to folders and files | Folder Properties > Security, icacls |
| Share permissions | Network access to shared folders | New-SmbShare, Server Manager |
The golden rule is simple: assign rights to groups, then put users in groups. Individual permissions on folders are hard to audit and are almost always forgotten when someone leaves.
Create named accounts for every person
Never share one account between several people, and avoid using the built-in Administrator for daily work. Create a personal account for each administrator and operator:
$pw = Read-Host -AsSecureString "Password"
New-LocalUser -Name "omar.admin" -Password $pw -FullName "Omar Hassan" -PasswordNeverExpires:$falseNamed accounts make logs meaningful: an Event Viewer entry for omar.admin tells you who did something, while an entry for Administrator tells you nothing.
The built-in Administrator account cannot be deleted, but you can give it a long random password, store it securely and use it only for emergencies. On domain-joined servers, Windows LAPS can rotate the local administrator password automatically.
Use built-in groups carefully
Some built-in local groups matter more than others:
- Administrators: full control of the server. Keep this list as short as possible.
- Remote Desktop Users: allowed to sign in over RDP, with no administrative rights.
- Users: standard accounts; can run programs but not change system settings.
- Backup Operators: can back up and restore files regardless of NTFS permissions, which makes it a powerful group. Treat membership as sensitive.
- Event Log Readers and Performance Monitor Users: read-only monitoring access without admin rights.
To let a user connect over Remote Desktop without making them an administrator:
Add-LocalGroupMember -Group "Remote Desktop Users" -Member "sara"List current administrators regularly:
Get-LocalGroupMember -Group "Administrators"User rights assignment
Some permissions are not about files but about actions on the system. Open secpol.msc > Local Policies > User Rights Assignment. Important entries include:
- Allow log on through Remote Desktop Services: by default Administrators and Remote Desktop Users.
- Deny log on through Remote Desktop Services: use it to block service accounts from interactive RDP logons.
- Shut down the system and Change the system time: restrict to administrators.
Deny entries always win over allow entries, so use them deliberately.
NTFS permissions with icacls
NTFS permissions decide who can read, write or modify files. The common levels are Read (R), Read and Execute (RX), Modify (M) and Full Control (F). Ordinary users rarely need more than Modify, since Full Control also lets them change permissions and take ownership.
View permissions on a folder:
icacls "D:\Apps\Reports"Grant a group modify rights that inherit to subfolders and files:
icacls "D:\Apps\Reports" /grant "Reports-Editors:(OI)(CI)M"Remove a broad group that should not be there:
icacls "D:\Apps\Reports" /remove "Everyone"Save permissions before large changes so you can roll back:
icacls "D:\Apps" /save C:\acl-backup.txt /t
icacls "D:\" /restore C:\acl-backup.txtWhen a user reports access denied, use the Effective Access tab in the folder's Advanced Security Settings to see exactly what they get from all their group memberships combined. If the folder is also shared on the network, remember that share permissions apply as well; our guide to setting up a Windows file server explains how the two layers combine.
Keep UAC enabled
User Account Control means even administrators run with standard rights until an action needs elevation. Disabling UAC removes that safety net and breaks some modern applications. Leave it on, and open elevated tools only when needed.
Service accounts
Applications and scheduled tasks should run under dedicated accounts with only the rights they need, not under an administrator's personal account. For built-in services, LocalService and NetworkService have fewer privileges than LocalSystem. On a domain, group Managed Service Accounts (gMSA) handle password rotation automatically.
Permissions audit checklist
- Review the Administrators group and remove anyone who does not need it.
- Confirm every person uses a named account, with no shared logins.
- Check who is in Remote Desktop Users and Backup Operators.
- Remove
Everyoneand broadUsersgrants from data folders. - Disable accounts of people who have left immediately; delete them later.
- Enable auditing of logon events and sensitive folders.
- Repeat the review every quarter.
Permissions are only one part of hardening; pair them with strong passwords, restricted RDP exposure and regular updates. If you are starting fresh, you can deploy a Windows VPS and set up named accounts from day one.
FAQ
What is the difference between share permissions and NTFS permissions?
Share permissions apply only when a folder is accessed over the network, while NTFS permissions apply both locally and over the network. When both exist, the more restrictive result wins.
Can I give a user RDP access without admin rights?
Yes. Add the user to the Remote Desktop Users group. They can sign in and run applications, but cannot install software or change system settings.
Should I rename the built-in Administrator account?
Renaming adds a small hurdle against automated password guessing, but it is not real protection. A long unique password, limited RDP exposure and account lockout policies matter much more.