Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Set-Acl removing inherited permissions

$
0
0

Hi,

I am trying to set permissions on a remote share.  However, using Set-Acl removes the inherited permissions from the share.

i.e. F:\SHARE inherits permissions from F:\

Using Set-Acl in any way, removes the permissions inherited from F:\.

i.e. (Get-Acl \\SERVER\SHARE) | Set-Acl \\SERVER\SHARE

After running that command, the inherited permissions from F:\ will no longer be applied to F:\SHARE

Ideas?

Another thread suggested this was a UAC issue.  UAC is turned off on both the computer running Set-Acl, and the computer with the share.  UAC was turned off by changing the value of EnableLUA  from 1 to 0 in "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system".


Viewing all articles
Browse latest Browse all 15028

Trending Articles