Exchange 2007: IIS Access Denied
Oct 21st 2009webmasterWindows Server 200x/ 2008/ Server Core/ R2 & Exchange 2003/ 2007/ 2010/E14 /Forefront & PowerShell
[PS] C:\Windows\System32>Get-ExchangeCertificate
Get-ExchangeCertificate : Unable to create Internet Information Services (IIS)
directory entry. Error message is: Access is denied.
. HResult = -2147024891.
At line:1 char:23
+ Get-ExchangeCertificate <<<<
On a machine running Exchange Server 2007 SP1 and Windows Server 2008, this error appears despite the fact that the PowerShell cmdlet is executed using an log-in account with Domain Admins membership. A similar error occurs with the following cmdlet:
[PS] C:\Windows\System32>Get-WebServicesVirtualDirectory
Get-WebServicesVirtualDirectory : Unable to create Internet Information Service
s (IIS) directory entry. Error message is: Access is denied.
. HResult = -2147024891.
At line:1 char:31
+ Get-WebServicesVirtualDirectory <<<<
[PS] C:\Windows\System32>
To resolve this issue, explicitly start the Exchange Management Shell (EMS) with the “Run as administrator” option.
Technorati tags: Windows Server 2008, Exchange Server, PowerShell
No Comments »
Leave a Reply
You must be logged in to post a comment.