Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
1 7
Impact
~4k people reached

Feb
5
awarded  Notable Question
Aug
5
revised How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
correctly translate SID into account
Aug
5
awarded  Commentator
Aug
5
comment How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
I've updated the code in the answer to do the translation. Also, for those trying to take advantage of this, call Import-Module WebAdministration to get the IIS drive from the IIS provider.
Aug
5
suggested approved edit on How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
Aug
5
comment How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
Using the link from @Mathias R. Jessen's answer to translate the SID into a real NTAccount worked.
Aug
5
awarded  Editor
Aug
5
revised How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
fix typo in title
Aug
5
comment How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
I tried to use this approach (on Windows 8), but got this error: "Exception calling 'AddAccessRule' with '1' argument(s): 'Some or all identity references could not be translated.'"
Nov
16
awarded  Popular Question
Sep
21
comment How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
Set-AclOnPath .\Website "IIS APPPOOL\website.dev", though when I try it again, I get a different error, "The trust relationship between this workstation and the primary domain failed."
Sep
19
comment How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
I get an exception calling SetAccessRule: "Some or all identity references could not be translated."
Dec
29
awarded  Scholar
Dec
29
comment How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
I was able to get icacls working great for me, thanks for the help! I ended up with the body of the function (same parameters as above) being cmd /c icacls "$directory" /grant ("$domain\$username" + ':(OI)(CI)M') /t /c /q (with /t to work recursively on the directory, /c to keep going after any errors, and /q to suppress success messages for each file).
Dec
29
accepted How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
Dec
29
comment How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
Local system resources. I'm trying to streamline setting/resetting permissions for local development websites that I setup. So, I'd unzip a website package to the file system, set it up in IIS, then run this command to give IIS modify permission. Or, run into a permission issue in the site, run this to make sure something I've added after the site was created has modify permission.
Dec
27
comment How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
Thanks for the help. Doing that, I get an exception calling AddAccessRule: "Some or all identity references could not be translated." Any ideas what that might be?
Aug
19
awarded  Student
Aug
19
asked How can I add ACL permissions for IIS APPPOOL\* accounts via Powershell?
May
29
comment How do you find what process is holding a file open in Windows?
If only it worked in 64-bit, it'd be perfect. Had to move over to Process Explorer when I upgraded my OS.