Reading NTFS Permissions

by Jul 21, 2016

PowerShell 2+

NTFS permissions are represented by complex object hierarchies that are hard to read. A much simpler way is to output the structure in an SDDL (Security Descriptor Definition Language) format:

$sd = Get-Acl -Path c:windows

The result looks similar to this:


Admitted, this does not look very friendly, either. But now you can analyze the security settings with pure text methods, for example using regular expressions.

Twitter This Tip! ReTweet this Tip!