Make IIS 7.5 application pools run as NETWORK SERVICE

There is a break change in IIS 7.5 on Windows 7 and Windows Server 2008 R2. The default identity for running an application pool is "ApplicationPoolIdentity".  If you have a web application developed against application pools running with NETWORK SERVICE on IIS6/7, it might break after migrated to IIS 7.5 due to default application pool identity change.

You can follow following steps to make IIS application pools run as NETWORK SERVICE

  1. Launch Internet Information Services (IIS) Manager tool, in the left-hand pane of the IIS Manager tool expand the machine node, and then click on the "Application Pools" node so that the application pools display in the main window of the management tool.
  2. For ASP.NET 2.0/3.0/3.5 application select the "DefaultAppPool" application pool.  For ASP.NET v4 select the "ASP.NET v4.0" application pool.
  3. Right-click on the selected application pool and choose "Advanced Settings"
  4. Find the "Identity" row and then click "…" button
  5. A dialog box called "Application Pool Identity" will popup.  Make sure Build in Account radio is checked and choose "Network Service" for the identity.
  6. Click "Ok" to save the change.

image


Comments

41 responses to “Make IIS 7.5 application pools run as NETWORK SERVICE”

Leave a Reply