I'm unable to add the user, ALL RESTRICTED APPLICATION PACKAGES, to the permissions list on a folder that was created in Windows 10. How can this be done using Windows Explorer (Security ——> Advanced)?
It appears to be impossible to add
ALL RESTRICTED APPLICATION PACKAGES via Windows Explorer, but this can easily be achieved via a little PowerShell:
$user = [Security.Principal.NTAccount]::new("ALL RESTRICTED APPLICATION PACKAGES").Translate([System.Security.Principal.SecurityIdentifier]) $rule = [Security.AccessControl.FileSystemAccessRule]::new($user, "ReadAndExecute", "Allow") # or whatever permissions you require, you can change them later via Explorer $directory = "path/to/your/directory" $acl = Get-Acl $directory $acl.SetAccessRule($rule) Set-Acl -Path $directory -AclObject $acl
However, for your case - wanting to bulk copy the permissions from one directory to another - you're better off, well, copying the permissions, instead of trying to add them manually. For that task you can use the
Copy-Acl PowerShell script:
Copy-ACL -SourcePath "C:\Windows\System32\spool" -DestinationPath "my_new_spool_directory_location" -BreakInheritance -KeepInherited