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 2 Windows Server 2008 R2 Windows 7 Windows 7 Service Pack 1 Windows Server 2008 R2 Service Pack 1 Windows Server 2008 Service Pack 2

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:

http:⁠//support.microsoft.com/contactus/?ws=support 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 name File version File size Date Time Platform
Iisw3adm.dll 7.0.6002.22813 375,808 07-Mar-2012 14:43 x86
Apphostsvc.dll 7.0.6002.22813 52,224 07-Mar-2012 14:42 x86

For all supported x64-based versions of Windows Server 2008 and of Windows Vista

File name File version File size Date Time Platform
Iisw3adm.dll 7.0.6002.22813 429,056 07-Mar-2012 15:39 x64
Apphostsvc.dll 7.0.6002.22813 58,880 07-Mar-2012 15:38 x64

For all supported IA-64-based versions of Windows Server 2008

File name File version File size Date Time Platform
Iisw3adm.dll 7.0.6002.22813 903,680 07-Mar-2012 14:12 IA-64
Apphostsvc.dll 7.0.6002.22813 117,248 07-Mar-2012 14:11 IA-64

For Windows 7 and of Windows Server 2008 R2

For all supported x86-based versions of Windows 7

File name File version File size Date Time Platform
Iisw3adm.dll 7.5.7600.21158 397,312 28-Feb-2012 05:39 x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name File version File size Date Time Platform
Iisw3adm.dll 7.5.7600.21158 452,608 28-Feb-2012 06:46 x64

For all supported IA-64-based versions of Windows Server 2008 R2

File name File version File size Date Time Platform
Iisw3adm.dll 7.5.7600.21158 943,616 28-Feb-2012 05:35 IA-64
W3tp.dll 7.5.7600.21158 40,960 28-Feb-2012 05:40 IA-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 name Update.mum
File version Not Applicable
File size 3,858
Date (UTC) 07-Mar-2012
Time (UTC) 21:48
Platform Not Applicable
File name X86_3e59aca9ac191881a50bac768b487e83_31bf3856ad364e35_6.0.6002.22813_none_8c59d1ca9875448d.manifest
File version Not Applicable
File size 1,060
Date (UTC) 07-Mar-2012
Time (UTC) 21:48
Platform Not Applicable
File name X86_5e67f2f3c239aa21db6794213c05931e_31bf3856ad364e35_6.0.6002.22813_none_8ee973457360547b.manifest
File version Not Applicable
File size 700
Date (UTC) 07-Mar-2012
Time (UTC) 21:48
Platform Not Applicable
File name X86_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.22813_none_1351c565cb1b97b6.manifest
File version Not Applicable
File size 342,561
Date (UTC) 07-Mar-2012
Time (UTC) 15:02
Platform Not Applicable
File name X86_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.0.6002.22813_none_dd04af72c12b9b77.manifest
File version Not Applicable
File size 22,611
Date (UTC) 07-Mar-2012
Time (UTC) 15:02
Platform Not Applicable
File name X86_microsoft-windows-processmodel_31bf3856ad364e35_6.0.6002.22813_none_b929e0cfbb0c953c.manifest
File version Not Applicable
File size 19,871
Date (UTC) 07-Mar-2012
Time (UTC) 15:03
Platform Not Applicable

Additional files for all supported x64-based versions of Windows Vista and of Windows Server 2008

File name Amd64_377c38085529ff15f98bdc7096b12c9e_31bf3856ad364e35_6.0.6002.22813_none_3ceed26d04fc5ea1.manifest
File version Not Applicable
File size 1,774
Date (UTC) 07-Mar-2012
Time (UTC) 21:49
Platform Not Applicable
File name Amd64_379cfedd69f1f190ffa95078ca3f5b08_31bf3856ad364e35_6.0.6002.22813_none_6ff196e45ad55710.manifest
File version Not Applicable
File size 1,050
Date (UTC) 07-Mar-2012
Time (UTC) 21:49
Platform Not Applicable
File name Amd64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.22813_none_6f7060e9837908ec.manifest
File version Not Applicable
File size 342,599
Date (UTC) 07-Mar-2012
Time (UTC) 15:56
Platform Not Applicable
File name Amd64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.0.6002.22813_none_39234af679890cad.manifest
File version Not Applicable
File size 22,643
Date (UTC) 07-Mar-2012
Time (UTC) 15:56
Platform Not Applicable
File name Amd64_microsoft-windows-processmodel_31bf3856ad364e35_6.0.6002.22813_none_15487c53736a0672.manifest
File version Not Applicable
File size 19,895
Date (UTC) 07-Mar-2012
Time (UTC) 15:59
Platform Not Applicable
File name Update.mum
File version Not Applicable
File size 3,890
Date (UTC) 07-Mar-2012
Time (UTC) 21:49
Platform Not Applicable
File name Wow64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.22813_none_79c50b3bb7d9cae7.manifest
File version Not Applicable
File size 329,795
Date (UTC) 07-Mar-2012
Time (UTC) 14:51
Platform Not Applicable
File name Wow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.0.6002.22813_none_4377f548ade9cea8.manifest
File version Not Applicable
File size 18,467
Date (UTC) 07-Mar-2012
Time (UTC) 14:51
Platform Not Applicable
File name Wow64_microsoft-windows-processmodel_31bf3856ad364e35_6.0.6002.22813_none_1f9d26a5a7cac86d.manifest
File version Not Applicable
File size 11,761
Date (UTC) 07-Mar-2012
Time (UTC) 14:51
Platform Not Applicable

Additional files for all supported IA-64-based versions of Windows Vista and of Windows Server 2008

File name Ia64_2a15f6c38cab4122d2875fb5c9bdb5ee_31bf3856ad364e35_6.0.6002.22813_none_12264f658a1d1a81.manifest
File version Not Applicable
File size 1,771
Date (UTC) 07-Mar-2012
Time (UTC) 21:48
Platform Not Applicable
File name Ia64_854ae4c29de2510682601eff1f3f8514_31bf3856ad364e35_6.0.6002.22813_none_fbec27488c83bdbf.manifest
File version Not Applicable
File size 1,048
Date (UTC) 07-Mar-2012
Time (UTC) 21:48
Platform Not Applicable
File name Ia64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.22813_none_1353695bcb19a0b2.manifest
File version Not Applicable
File size 342,580
Date (UTC) 07-Mar-2012
Time (UTC) 14:23
Platform Not Applicable
File name Ia64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.0.6002.22813_none_dd065368c129a473.manifest
File version Not Applicable
File size 22,627
Date (UTC) 07-Mar-2012
Time (UTC) 14:23
Platform Not Applicable
File name Ia64_microsoft-windows-processmodel_31bf3856ad364e35_6.0.6002.22813_none_b92b84c5bb0a9e38.manifest
File version Not Applicable
File size 19,883
Date (UTC) 07-Mar-2012
Time (UTC) 14:24
Platform Not Applicable
File name Update.mum
File version Not Applicable
File size 1,993
Date (UTC) 07-Mar-2012
Time (UTC) 21:48
Platform Not Applicable
File name Wow64_microsoft-windows-iis-sharedlibraries_31bf3856ad364e35_6.0.6002.22813_none_79c50b3bb7d9cae7.manifest
File version Not Applicable
File size 329,795
Date (UTC) 07-Mar-2012
Time (UTC) 14:51
Platform Not Applicable
File name Wow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.0.6002.22813_none_4377f548ade9cea8.manifest
File version Not Applicable
File size 18,467
Date (UTC) 07-Mar-2012
Time (UTC) 14:51
Platform Not Applicable
File name Wow64_microsoft-windows-processmodel_31bf3856ad364e35_6.0.6002.22813_none_1f9d26a5a7cac86d.manifest
File version Not Applicable
File size 11,761
Date (UTC) 07-Mar-2012
Time (UTC) 14:51
Platform Not 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 name Update.mum
File version Not Applicable
File size 3,295
Date (UTC) 28-Feb-2012
Time (UTC) 10:37
Platform Not Applicable
File name X86_458a2cb7d5125c66be164dace7ac15fa_31bf3856ad364e35_6.1.7601.21931_none_735a5ecea6f08cc7.manifest
File version Not Applicable
File size 709
Date (UTC) 28-Feb-2012
Time (UTC) 10:37
Platform Not Applicable
File name X86_6e3459de9bc3723e74a6d3c8c96f27d2_31bf3856ad364e35_6.1.7600.21158_none_068f08e0c3e0ccec.manifest
File version Not Applicable
File size 709
Date (UTC) 28-Feb-2012
Time (UTC) 10:37
Platform Not Applicable
File name X86_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7600.21158_none_db1fa3e82538aaa6.manifest
File version Not Applicable
File size 12,568
Date (UTC) 28-Feb-2012
Time (UTC) 06:14
Platform Not Applicable
File name X86_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7601.21931_none_dd14c8842254f734.manifest
File version Not Applicable
File size 12,568
Date (UTC) 28-Feb-2012
Time (UTC) 05:50
Platform Not Applicable

Additional files for all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name Amd64_234c8df75523caa92a10de87fc1c04e8_31bf3856ad364e35_6.1.7600.21158_none_a6f8685565dbdde6.manifest
File version Not Applicable
File size 1,068
Date (UTC) 28-Feb-2012
Time (UTC) 10:37
Platform Not Applicable
File name Amd64_a24a620ed92b4007365fe5bd53797434_31bf3856ad364e35_6.1.7601.21931_none_102dadb2767b89c5.manifest
File version Not Applicable
File size 1,068
Date (UTC) 28-Feb-2012
Time (UTC) 10:37
Platform Not Applicable
File name Amd64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7600.21158_none_373e3f6bdd961bdc.manifest
File version Not Applicable
File size 12,574
Date (UTC) 28-Feb-2012
Time (UTC) 07:44
Platform Not Applicable
File name Amd64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7601.21931_none_39336407dab2686a.manifest
File version Not Applicable
File size 12,574
Date (UTC) 28-Feb-2012
Time (UTC) 06:59
Platform Not Applicable
File name Update.mum
File version Not Applicable
File size 3,737
Date (UTC) 28-Feb-2012
Time (UTC) 10:37
Platform Not Applicable
File name Wow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7600.21158_none_4192e9be11f6ddd7.manifest
File version Not Applicable
File size 12,249
Date (UTC) 28-Feb-2012
Time (UTC) 06:02
Platform Not Applicable
File name Wow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7601.21931_none_43880e5a0f132a65.manifest
File version Not Applicable
File size 12,249
Date (UTC) 28-Feb-2012
Time (UTC) 05:41
Platform Not Applicable

Additional files for all supported IA-64-based versions of Windows Server 2008 R2

File name Ia64_5e4091394ceae09e20e699c73fa01f2c_31bf3856ad364e35_6.1.7601.21931_none_19332c932ddd6de5.manifest
File version Not Applicable
File size 1,066
Date (UTC) 28-Feb-2012
Time (UTC) 10:37
Platform Not Applicable
File name Ia64_fe49061a68fe7c53177c3415a8ee951a_31bf3856ad364e35_6.1.7600.21158_none_f1d806cf2320444b.manifest
File version Not Applicable
File size 1,066
Date (UTC) 28-Feb-2012
Time (UTC) 10:37
Platform Not Applicable
File name Ia64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7600.21158_none_db2147de2536b3a2.manifest
File version Not Applicable
File size 12,571
Date (UTC) 28-Feb-2012
Time (UTC) 06:58
Platform Not Applicable
File name Ia64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7601.21931_none_dd166c7a22530030.manifest
File version Not Applicable
File size 12,571
Date (UTC) 28-Feb-2012
Time (UTC) 06:48
Platform Not Applicable
File name Update.mum
File version Not Applicable
File size 2,767
Date (UTC) 28-Feb-2012
Time (UTC) 10:37
Platform Not Applicable
File name Wow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7600.21158_none_4192e9be11f6ddd7.manifest
File version Not Applicable
File size 12,249
Date (UTC) 28-Feb-2012
Time (UTC) 06:02
Platform Not Applicable
File name Wow64_microsoft-windows-processmodellibraries_31bf3856ad364e35_6.1.7601.21931_none_43880e5a0f132a65.manifest
File version Not Applicable
File size 12,249
Date (UTC) 28-Feb-2012
Time (UTC) 05:41
Platform Not 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.