Error 0x800004005 occurs when an IUIAutomation method is called for a node that has many descendant nodes in Windows 7 and Windows Server 2008 R2

Symptoms

Consider the following scenario:

In this scenario, the call fails because of a time-out condition. Additionally, a "0x800004005" error is generated.

Note This problem also occurs when the IUIAutomation::ElementFromHandleBuildCache method is called.

Resolution

Hotfix information

A supported hotfix is available from Microsoft Support. 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, go to the following Microsoft website:

http://support.microsoft.com/contactus/?ws=supportNote 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

To apply this hotfix, you must have Service Pack 1 for Windows 7 or Windows Server 2008 R2 installed.

Registry information

To enable this fix, you must create or modify the following registry subkeys.

Registry subkeys

On x86-based and on x64-based systems: HKEY_CURRENT_USER\Software\Microsoft\UIA
On x64-based systems only: HKEY_CURRENT_USER\Software\wow6432Node\Microsoft\UIA
DWORD name: Timeout
DWORD value: Set to a value in milliseconds (ms)

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any previously released hotfix.

The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows 7 and Windows Server 2008 R2 file information and notesImportant Windows 7 hotfixes and Windows Server 2008 R2 hotfixes are included in the same packages. However, hotfixes on the Hotfix Request page are listed under both operating systems. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 7/Windows Server 2008 R2" on the page. Always refer to the "Applies to" section in articles to determine the actual operating system that each hotfix applies to.

  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows 7 and Windows Server 2008 R2" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.

For all supported x86-based versions of Windows 7

File name

File version

File size

Date

Time

Platform

Uiautomationcore.dll

7.0.0.0

562,176

05-Feb-2014

02:04

x86

Uiautomationcore.ptxml

Not Applicable

1,054

13-Jul-2009

20:31

Not Applicable

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

File name

File version

File size

Date

Time

Platform

Uiautomationcore.dll

7.0.0.0

752,640

05-Feb-2014

02:42

x64

Uiautomationcore.ptxml

Not Applicable

1,054

13-Jul-2009

20:25

Not Applicable

Uiautomationcore.dll

7.0.0.0

562,176

05-Feb-2014

02:04

x86

Wow64_uiautomationcore.ptxml

Not Applicable

1,054

13-Jul-2009

20:31

Not Applicable

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

File name

File version

File size

Date

Time

Platform

Uiautomationcore.dll

7.0.0.0

1,423,872

05-Feb-2014

01:48

IA-64

Uiautomationcore.ptxml

Not Applicable

1,054

13-Jul-2009

20:28

Not Applicable

Uiautomationcore.dll

7.0.0.0

562,176

05-Feb-2014

02:04

x86

Wow64_uiautomationcore.ptxml

Not Applicable

1,054

13-Jul-2009

20:31

Not Applicable

Additional file information

Additional file information for Windows 7 and Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7

File name

X86_6e5912394b0e04a860abe46caaf72a40_31bf3856ad364e35_6.1.7601.22590_none_aa66648a9a90e1b5.manifest

File version

Not Applicable

File size

704

Date (UTC)

05-Feb-2014

Time (UTC)

06:34

SHA-1 hash

Not Applicable

MD5 hash

Not Applicable

File name

X86_microsoft-windows-uiautomationcore_31bf3856ad364e35_6.1.7601.22590_none_b24f011fb9c0340b.manifest

File version

Not Applicable

File size

170,525

Date (UTC)

05-Feb-2014

Time (UTC)

02:34

SHA-1 hash

Not Applicable

MD5 hash

Not Applicable

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

File name

Amd64_521e7fdd5e29eff58f2ee38978ab18bf_31bf3856ad364e35_6.1.7601.22590_none_0084a783ce271f92.manifest

File version

Not Applicable

File size

708

Date (UTC)

05-Feb-2014

Time (UTC)

06:34

SHA-1 hash

Not Applicable

MD5 hash

Not Applicable

File name

Amd64_962ef1b39717dbd1ec902c6c0f8365c2_31bf3856ad364e35_6.1.7601.22590_none_530ea803db7addb5.manifest

File version

Not Applicable

File size

1,058

Date (UTC)

05-Feb-2014

Time (UTC)

06:34

SHA-1 hash

Not Applicable

MD5 hash

Not Applicable

File name

Amd64_microsoft-windows-uiautomationcore_31bf3856ad364e35_6.1.7601.22590_none_0e6d9ca3721da541.manifest

File version

Not Applicable

File size

170,529

Date (UTC)

05-Feb-2014

Time (UTC)

03:12

SHA-1 hash

Not Applicable

MD5 hash

Not Applicable

File name

Wow64_microsoft-windows-uiautomationcore_31bf3856ad364e35_6.1.7601.22590_none_18c246f5a67e673c.manifest

File version

Not Applicable

File size

169,200

Date (UTC)

05-Feb-2014

Time (UTC)

02:17

SHA-1 hash

Not Applicable

MD5 hash

Not Applicable

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

File name

Ia64_19d946463ed8ca05f98e75298e6fee1d_31bf3856ad364e35_6.1.7601.22590_none_7fbc93a86d24a1c1.manifest

File version

Not Applicable

File size

1,056

Date (UTC)

05-Feb-2014

Time (UTC)

06:34

SHA-1 hash

Not Applicable

MD5 hash

Not Applicable

File name

Ia64_microsoft-windows-uiautomationcore_31bf3856ad364e35_6.1.7601.22590_none_b250a515b9be3d07.manifest

File version

Not Applicable

File size

170,527

Date (UTC)

05-Feb-2014

Time (UTC)

02:21

SHA-1 hash

Not Applicable

MD5 hash

Not Applicable

File name

Wow64_microsoft-windows-uiautomationcore_31bf3856ad364e35_6.1.7601.22590_none_18c246f5a67e673c.manifest

File version

Not Applicable

File size

169,200

Date (UTC)

05-Feb-2014

Time (UTC)

02:17

SHA-1 hash

Not Applicable

MD5 hash

Not Applicable

Status

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

References

Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×