The following command:
icacls c:\inetpub\wwwroot\ /grant "IIS AppPool\DefaultAppPool":F
Constantly returns
Invalid parameter "IIS AppPool\DefaultAppPool"
For any app pool name on any folder, I'm running this from powershell as admin.
I'm sure this has worked before?
Any suggestions much appreciated!
Dan
You need to wrap the whole of the grant argument in quotes: