Windows 10 Permission in folder

michelbdec29

New Member
Joined
May 13, 2019
Messages
2
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:
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
Back
Top