Monday, April 4, 2011

Access Denied On IISReset

Problem:

“Access denied, you must be an administrator of the remote computer to use this command. Either have your account added to the administrator local group of the remote computer or to the domain administrator group”

This is a common problem for those who have just started SharePoint 2010 development on newly installed Windows Server 2008/Windows 7 OS. Though you have the administrator rights on the computer, the default security mechanism in the OS itself enable the UAC (User Access Control) to higher level which blocks certain activities from doing deliberatively. One of such situation causes the IISRESET command to be failed, reporting the above error.

 

Solution:

Set the UAC to “Never Notify” level and make sure that you Restart the computer. Now the problem solved J

 

1 comment:

  1. Wouldn't it be better to just run the command prompt or PowerShell elevated / as administrator?

    ReplyDelete