nant/nantcontrib — Issue #6: execution of iisapppool task on remote machine fails with "access denied"
Author: spanevin
Created: 2011-12-16 08:02:30+00:00
State: open

I don't know is it bug of nant-0.91 or nantcontrib-0.91, but it works fine with nant-0.85 + nantcontrib-0.85, and task is a part of nantcontrib project.

Failed stopping application pool "PoolName" on "machinename".
Access denied

In event log of remote machine there is:

------------------------------------
Event Type:	Error
Event Source:	WinMgmt
Event Category:	None
Event ID:	5605
Date:	16.12.2011
Time:	11:47:10
User:	N/A
Computer:	computername
Description:
Access to the root\MicrosoftIISv2 namespace was denied. The namespace is marked with RequiresEncryption but the client connection was attempted with an authentication level below Pkt_Privacy. Re try the connection using Pkt_Privacy authentication level.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
----------------------------

I think it refers to the old one unresolved issue http://sourceforge.net/tracker/index.php?func=detail&aid=1729572&group_id=31650&atid=402868