📎 AI Summary:
The thread discusses an issue with granting full control permissions to a directory in Windows using PowerShell. The original poster struggles to properly apply the permission change, despite attempting specific commands. A contributor advises correctly modifying the ACL object before reapplying it, but the original poster still reports that permissions are not fully applied, indicating ongoing difficulties.

michelbdec29

New Member
Joined
May 13, 2019
Messages
2
Thread Author #1
I try to give permission in with the commands:
New-Object DirectorySecurity.FileSystemAccessRule ('User', 'FullControl', 'Allow')
acl.SetAccessRule ($)
Set-ACL c: \ windows \ system32 \ drivers -AclObject
it should changed to FullControl In PowerShell when I see in Windows I'm still without permission
 

Last edited:

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
You need to get the ACL object from the directory/file add the access rule to that ACL object and then use set-acl to reapply the ACL
 

Solution