8,330 questions
You can do it with icacls.exe.
icacls.exe F:\ /grant "Tree:(OI)(CI)(RX)"
Or with Powershell cmdlets.
$Folder = 'F:\'
$ACL = Get-Acl $Folder
$ACL_Rule = new-object System.Security.AccessControl.FileSystemAccessRule ('Tree', "ReadAndExecute",”ContainerInherit,ObjectInherit”,”None”,”Allow”)
$ACL.SetAccessRule($ACL_Rule)
Set-Acl -Path $Folder -AclObject $ACL
If you have folders that do not inherit permissions from their parent folder, the access will not be applied to them.
As always, try this on a test folder first.