FIX: Local profile folder is not created when you configure an application pool identity to use an account that uses the "domain\user" format in IIS 7.0 or in IIS 7.5

Applies to: Windows Vista Service Pack 2Windows Server 2008 R2Windows 7

Symptoms


Consider the following scenario:
  • You configure the identity of an application pool to use an account on a computer that has Microsoft Internet Information Services (IIS) 7.0 or Microsoft IIS 7.5 installed.
  • The account uses the "domain\user" format, and the Load User Profile option is set to true in the advanced settings of the application pool.
  • The user account has never been used to log on to this computer. Therefore, the user's profile directory was not created in Drive:\users.
  • A client request is sent to a site that is hosted by the server running IIS. 
In this scenario, no local profile folder is created for the custom identity that you configured for the application pool.

Note When this issue occurs, a temporary folder that is named TEMP is created in Drive:\Users, and this temporary folder is deleted when the IIS worker process (W3wp.exe) exits.

Cause


The issue occurs because IIS passes a "domain\user" formatted value into the LoadUserProfile API, and this API attempts to create the user profile folder. However, the "domain\user" format is not a valid format for the folder name. Therefore, the folder creation attempt fails, and the issue that is described in "Symptoms" section occurs.

Resolution


Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

You must have IIS 7.0 or IIS 7.5 installed to apply this hotfix. This hotfix can be installed on a computer that is running one of the following operating systems:
  • Windows Vista Service Pack 2 (SP2)
  • Windows Server 2008 SP2
  • Windows 7
  • Windows 7 Service Pack 1 (SP1)
  • Windows Server 2008 R2
  • Windows Server 2008 R2 SP1

Restart requirement

You must restart the computer if IIS is running when you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English (United States) version of this hotfix uses a Microsoft Windows Installer package to install the hotfix. The dates and the times for these files are listed in Coordinated Universal Time (UTC) in the following table. When you view the file information, the date is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

For Windows Vista and for Windows Server 2008

For all supported x86-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Iisw3adm.dll7.0.6002.22813375,80807-Mar-201214:43x86
Apphostsvc.dll7.0.6002.2281352,22407-Mar-201214:42x86
For all supported x64-based versions of Windows Server 2008 and of Windows Vista
File nameFile versionFile sizeDateTimePlatform
Iisw3adm.dll7.0.6002.22813429,05607-Mar-201215:39x64
Apphostsvc.dll7.0.6002.2281358,88007-Mar-201215:38x64
For all supported IA-64-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Iisw3adm.dll7.0.6002.22813903,68007-Mar-201214:12IA-64
Apphostsvc.dll7.0.6002.22813117,24807-Mar-201214:11IA-64

For Windows 7 and of Windows Server 2008 R2

For all supported x86-based versions of Windows 7
File nameFile versionFile sizeDateTimePlatform
Iisw3adm.dll7.5.7600.21158397,31228-Feb-201205:39x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Iisw3adm.dll7.5.7600.21158452,60828-Feb-201206:46x64
For all supported IA-64-based versions of Windows Server 2008 R2
File nameFile versionFile sizeDateTimePlatform
Iisw3adm.dll7.5.7600.21158943,61628-Feb-201205:35IA-64
W3tp.dll7.5.7600.2115840,96028-Feb-201205:40IA-64

Additional file information

Additional file information for Windows Vista and for Windows Server 2008

Additional files for all supported x86-based versions of Windows Vista and of Windows Server 2008
File nameUpdate.mum
File versionNot Applicable
File size3,858
Date (UTC)07-Mar-2012
Time (UTC)21:48
PlatformNot Applicable
File nameX86_3e59aca9ac191881a50bac768b487e83_31bf3856ad364e35_6.0.6002.22813_none_8c59d1ca9875448d.manifest
File versionNot Applicable
File size1,060
Date (UTC)07-Mar-2012
Time (UTC)21:48
PlatformNot Applicable
File nameX86_5e67f2f3c239aa21db6794213c05931e_31bf3856ad364e35_6.0.6002.22813_none_8ee973457360547b.manifest
File versionNot Applicable
File size700
Date (UTC)07-Mar-2012
Time (UTC)21:48
PlatformNot Applicable
File nameX86_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.22813_none_1351c565cb1b97b6.manifest
File versionNot Applicable
File size342,561
Date (UTC)07-Mar-2012
Time (UTC)15:02
PlatformNot Applicable
File nameX86_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.0.6002.22813_none_dd04af72c12b9b77.manifest
File versionNot Applicable
File size22,611
Date (UTC)07-Mar-2012
Time (UTC)15:02
PlatformNot Applicable
File nameX86_microsoft-windows-processmodel_31bf3856ad364e35_6.0.6002.22813_none_b929e0cfbb0c953c.manifest
File versionNot Applicable
File size19,871
Date (UTC)07-Mar-2012
Time (UTC)15:03
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008
File nameAmd64_377c38085529ff15f98bdc7096b12c9e_31bf3856ad364e35_6.0.6002.22813_none_3ceed26d04fc5ea1.manifest
File versionNot Applicable
File size1,774
Date (UTC)07-Mar-2012
Time (UTC)21:49
PlatformNot Applicable
File nameAmd64_379cfedd69f1f190ffa95078ca3f5b08_31bf3856ad364e35_6.0.6002.22813_none_6ff196e45ad55710.manifest
File versionNot Applicable
File size1,050
Date (UTC)07-Mar-2012
Time (UTC)21:49
PlatformNot Applicable
File nameAmd64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.22813_none_6f7060e9837908ec.manifest
File versionNot Applicable
File size342,599
Date (UTC)07-Mar-2012
Time (UTC)15:56
PlatformNot Applicable
File nameAmd64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.0.6002.22813_none_39234af679890cad.manifest
File versionNot Applicable
File size22,643
Date (UTC)07-Mar-2012
Time (UTC)15:56
PlatformNot Applicable
File nameAmd64_microsoft-windows-processmodel_31bf3856ad364e35_6.0.6002.22813_none_15487c53736a0672.manifest
File versionNot Applicable
File size19,895
Date (UTC)07-Mar-2012
Time (UTC)15:59
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size3,890
Date (UTC)07-Mar-2012
Time (UTC)21:49
PlatformNot Applicable
File nameWow64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.22813_none_79c50b3bb7d9cae7.manifest
File versionNot Applicable
File size329,795
Date (UTC)07-Mar-2012
Time (UTC)14:51
PlatformNot Applicable
File nameWow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.0.6002.22813_none_4377f548ade9cea8.manifest
File versionNot Applicable
File size18,467
Date (UTC)07-Mar-2012
Time (UTC)14:51
PlatformNot Applicable
File nameWow64_microsoft-windows-processmodel_31bf3856ad364e35_6.0.6002.22813_none_1f9d26a5a7cac86d.manifest
File versionNot Applicable
File size11,761
Date (UTC)07-Mar-2012
Time (UTC)14:51
PlatformNot Applicable
Additional files for all supported IA-64-based versions of Windows Vista and of Windows Server 2008
File nameIa64_2a15f6c38cab4122d2875fb5c9bdb5ee_31bf3856ad364e35_6.0.6002.22813_none_12264f658a1d1a81.manifest
File versionNot Applicable
File size1,771
Date (UTC)07-Mar-2012
Time (UTC)21:48
PlatformNot Applicable
File nameIa64_854ae4c29de2510682601eff1f3f8514_31bf3856ad364e35_6.0.6002.22813_none_fbec27488c83bdbf.manifest
File versionNot Applicable
File size1,048
Date (UTC)07-Mar-2012
Time (UTC)21:48
PlatformNot Applicable
File nameIa64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.22813_none_1353695bcb19a0b2.manifest
File versionNot Applicable
File size342,580
Date (UTC)07-Mar-2012
Time (UTC)14:23
PlatformNot Applicable
File nameIa64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.0.6002.22813_none_dd065368c129a473.manifest
File versionNot Applicable
File size22,627
Date (UTC)07-Mar-2012
Time (UTC)14:23
PlatformNot Applicable
File nameIa64_microsoft-windows-processmodel_31bf3856ad364e35_6.0.6002.22813_none_b92b84c5bb0a9e38.manifest
File versionNot Applicable
File size19,883
Date (UTC)07-Mar-2012
Time (UTC)14:24
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size1,993
Date (UTC)07-Mar-2012
Time (UTC)21:48
PlatformNot Applicable
File nameWow64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.22813_none_79c50b3bb7d9cae7.manifest
File versionNot Applicable
File size329,795
Date (UTC)07-Mar-2012
Time (UTC)14:51
PlatformNot Applicable
File nameWow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.0.6002.22813_none_4377f548ade9cea8.manifest
File versionNot Applicable
File size18,467
Date (UTC)07-Mar-2012
Time (UTC)14:51
PlatformNot Applicable
File nameWow64_microsoft-windows-processmodel_31bf3856ad364e35_6.0.6002.22813_none_1f9d26a5a7cac86d.manifest
File versionNot Applicable
File size11,761
Date (UTC)07-Mar-2012
Time (UTC)14:51
PlatformNot Applicable

Additional file information for Windows 7 and of Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7
File nameUpdate.mum
File versionNot Applicable
File size3,295
Date (UTC)28-Feb-2012
Time (UTC)10:37
PlatformNot Applicable
File nameX86_458a2cb7d5125c66be164dace7ac15fa_31bf3856ad364e35_6.1.7601.21931_none_735a5ecea6f08cc7.manifest
File versionNot Applicable
File size709
Date (UTC)28-Feb-2012
Time (UTC)10:37
PlatformNot Applicable
File nameX86_6e3459de9bc3723e74a6d3c8c96f27d2_31bf3856ad364e35_6.1.7600.21158_none_068f08e0c3e0ccec.manifest
File versionNot Applicable
File size709
Date (UTC)28-Feb-2012
Time (UTC)10:37
PlatformNot Applicable
File nameX86_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7600.21158_none_db1fa3e82538aaa6.manifest
File versionNot Applicable
File size12,568
Date (UTC)28-Feb-2012
Time (UTC)06:14
PlatformNot Applicable
File nameX86_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7601.21931_none_dd14c8842254f734.manifest
File versionNot Applicable
File size12,568
Date (UTC)28-Feb-2012
Time (UTC)05:50
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
File nameAmd64_234c8df75523caa92a10de87fc1c04e8_31bf3856ad364e35_6.1.7600.21158_none_a6f8685565dbdde6.manifest
File versionNot Applicable
File size1,068
Date (UTC)28-Feb-2012
Time (UTC)10:37
PlatformNot Applicable
File nameAmd64_a24a620ed92b4007365fe5bd53797434_31bf3856ad364e35_6.1.7601.21931_none_102dadb2767b89c5.manifest
File versionNot Applicable
File size1,068
Date (UTC)28-Feb-2012
Time (UTC)10:37
PlatformNot Applicable
File nameAmd64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7600.21158_none_373e3f6bdd961bdc.manifest
File versionNot Applicable
File size12,574
Date (UTC)28-Feb-2012
Time (UTC)07:44
PlatformNot Applicable
File nameAmd64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7601.21931_none_39336407dab2686a.manifest
File versionNot Applicable
File size12,574
Date (UTC)28-Feb-2012
Time (UTC)06:59
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size3,737
Date (UTC)28-Feb-2012
Time (UTC)10:37
PlatformNot Applicable
File nameWow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7600.21158_none_4192e9be11f6ddd7.manifest
File versionNot Applicable
File size12,249
Date (UTC)28-Feb-2012
Time (UTC)06:02
PlatformNot Applicable
File nameWow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7601.21931_none_43880e5a0f132a65.manifest
File versionNot Applicable
File size12,249
Date (UTC)28-Feb-2012
Time (UTC)05:41
PlatformNot Applicable
Additional files for all supported IA-64-based versions of Windows Server 2008 R2
File nameIa64_5e4091394ceae09e20e699c73fa01f2c_31bf3856ad364e35_6.1.7601.21931_none_19332c932ddd6de5.manifest
File versionNot Applicable
File size1,066
Date (UTC)28-Feb-2012
Time (UTC)10:37
PlatformNot Applicable
File nameIa64_fe49061a68fe7c53177c3415a8ee951a_31bf3856ad364e35_6.1.7600.21158_none_f1d806cf2320444b.manifest
File versionNot Applicable
File size1,066
Date (UTC)28-Feb-2012
Time (UTC)10:37
PlatformNot Applicable
File nameIa64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7600.21158_none_db2147de2536b3a2.manifest
File versionNot Applicable
File size12,571
Date (UTC)28-Feb-2012
Time (UTC)06:58
PlatformNot Applicable
File nameIa64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7601.21931_none_dd166c7a22530030.manifest
File versionNot Applicable
File size12,571
Date (UTC)28-Feb-2012
Time (UTC)06:48
PlatformNot Applicable
File nameUpdate.mum
File versionNot Applicable
File size2,767
Date (UTC)28-Feb-2012
Time (UTC)10:37
PlatformNot Applicable
File nameWow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7600.21158_none_4192e9be11f6ddd7.manifest
File versionNot Applicable
File size12,249
Date (UTC)28-Feb-2012
Time (UTC)06:02
PlatformNot Applicable
File nameWow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7601.21931_none_43880e5a0f132a65.manifest
File versionNot Applicable
File size12,249
Date (UTC)28-Feb-2012
Time (UTC)05:41
PlatformNot Applicable


Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Workaround


To work around this issue, use the "user@domain.com" format for the account.