Remote Administration Behavior Matrix
February 14, 2008
Introduction
This document contains the matrix of scenarios for remote administration for IIS Manager and the runtime behavior for each one. It helps understand the different administration scenarios and troubleshooting issues (401s).
A prerequisite for remote administration via the IIS UI is starting the remote administration service (WMSVC) on the server machine. A good article for this information is Remote Administration for IIS Manager.
General rules of thumb which are valid for every item in the matrix:
- Redirection.config, applicationHost.config and administration.config are always read (even for site and app connections).
- Redirection.config is always read using the identity in which the service WMSVC runs (by default: NT Service\WMSVC).
- If configurationRedirection is enabled in Redirection.config, then:
- Server Config files (applicationHost.config, administration.config) are always read using the username and password specified in redirection.config
- If configurationRedirection is disabled, then:
- Server Config files (applicationHost.config, administration.config) are always read using the identity in which WMSVC runs (NT Service\WMSVC by default)
- UI does nothing special when trying to read Root web.config, the ASP.NET counterpart of applicationHost.config
Remote Administration Behavior Matrix
| Connect As: |
Windows Administrator |
Windows User |
IIS Manager User |
|---|---|---|---|
| Default Experience |
Server Connection:
|
Server Connection:
|
Server Connection:
|
Site Connection:
|
Site Connection:
|
Site Connection:
| |
App Connection:
|
App Connection:
|
App Connection:
| |
| Site or App on UNC |
Server Connection:
|
Server Connection:
|
Server Connection:
|
Site Connection:
|
Site Connection:
|
Site Connection:
| |
App Connection:
|
App Connection:
|
App Connection:
| |
|
Configuration Redirection is enabled in Redirection.Config Config files: |
Server Connection:
|
Server Connection:
|
Server Connection:
|
Site Connection:
|
Site Connection:
|
Site Connection:
| |
App Connection:
|
App Connection:
|
App Connection:
|
*Note: If NT Service\WMSVC does not have permissions to the UNC share -- which will be the case for UNC shares on another machine -- (WMSVC means nothing outside the realm of a local machine), update the identity of Web Management Service (services.msc) to be a domain user that has access to the server as well as the UNC share.
IMPORTANT: Do not use a Network Service identity – it is a possible security risk, since that is the identity under which ASP.NET applications run. If you use ACLs to this account, you will open your content/configuration up for anyone to access via an aspx page.
Discuss in IIS Forums