On a Windows Vista-based computer, an application that uses the EnableStatic method of the Win32_NetworkAdapterConfiguration class may not always set a static IP address for a network adapter

Article translations Article translations
Article ID: 950134 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

Consider the following scenario:
  • You are running a Windows Vista-based computer.
  • You use an application to programmatically set a static IP address for a network adapter.
  • This application uses the EnableStatic method of the Win32_NetworkAdapterConfiguration class.
In this scenario, the operation may regularly fail.

Note For example, you can use some virtual private networking (VPN) tools to programmatically set a static IP address for a network adapter.

CAUSE

This issue may occur because the EnableStatic method may occasionally fail with error code "NETCFG_E_NO_WRITE_LOCK (0x8004A024)" in a Windows Vista environment. If the application does not capture the error code, the operation fails.

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 this specific problem. 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 Web site:
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

No prerequisites are required.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other previously released hotfixes.

Registry information

To use this hotfix, you do not have to make any changes to the registry.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it 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.
Windows Vista, x86-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Package_1_for_kb950134~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,96610-Mar-200817:29Not Applicable
Package_2_for_kb950134~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,80410-Mar-200817:29Not Applicable
Package_3_for_kb950134~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,80410-Mar-200817:29Not Applicable
Package_4_for_kb950134~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,80410-Mar-200817:29Not Applicable
Package_5_for_kb950134~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,74310-Mar-200817:29Not Applicable
Package_for_kb950134_client_0~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,42510-Mar-200817:29Not Applicable
Package_for_kb950134_client_1~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,36710-Mar-200817:29Not Applicable
Package_for_kb950134_client~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,71310-Mar-200817:29Not Applicable
Package_for_kb950134_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,42110-Mar-200817:29Not Applicable
Package_for_kb950134_sc~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,42310-Mar-200817:29Not Applicable
Package_for_kb950134_server_0~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,42510-Mar-200817:29Not Applicable
Package_for_kb950134_server~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,43110-Mar-200817:29Not Applicable
Package_for_kb950134_winpe_0~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,36410-Mar-200817:29Not Applicable
Package_for_kb950134_winpe~31bf3856ad364e35~x86~~6.0.1.0.mumNot Applicable1,42410-Mar-200817:29Not Applicable
Update.mumNot Applicable3,01810-Mar-200817:29Not Applicable
X86_cd07bcfcf1b7f1b4f319aa85b9cc4d54_31bf3856ad364e35_6.0.6001.22132_none_1ddfc88886f11cc1.manifestNot Applicable71910-Mar-200817:29Not Applicable
X86_d50d1f1f088634ec6f92d47fb0d1d288_31bf3856ad364e35_6.0.6000.20788_none_824ca1625a0d1e6b.manifestNot Applicable71910-Mar-200817:29Not Applicable
X86_microsoft-windows-w..ovider-cimwin32-dll_31bf3856ad364e35_6.0.6000.20788_none_cdffd2462240849e.manifestNot Applicable14,65808-Mar-200804:46Not Applicable
X86_microsoft-windows-w..ovider-cimwin32-dll_31bf3856ad364e35_6.0.6001.22132_none_d0161ecc1f43f1d0.manifestNot Applicable14,65808-Mar-200804:59Not Applicable
Cimwin32.dll6.0.6000.207881,364,48008-Mar-200804:15x86
Cimwin32.dll6.0.6001.221321,364,48008-Mar-200804:09x86
Windows Vista, x64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Amd64_4da9590745c69612d04f2c0b3db2125e_31bf3856ad364e35_6.0.6000.20788_none_54b6c59cd2703aec.manifestNot Applicable72310-Mar-200817:29Not Applicable
Amd64_5abb8b545b194c59aca3f2002d20b9e2_31bf3856ad364e35_6.0.6001.22132_none_84677189f5e7e0f3.manifestNot Applicable72310-Mar-200817:29Not Applicable
Amd64_microsoft-windows-w..ovider-cimwin32-dll_31bf3856ad364e35_6.0.6000.20788_none_2a1e6dc9da9df5d4.manifestNot Applicable14,67908-Mar-200804:57Not Applicable
Amd64_microsoft-windows-w..ovider-cimwin32-dll_31bf3856ad364e35_6.0.6001.22132_none_2c34ba4fd7a16306.manifestNot Applicable14,67908-Mar-200806:00Not Applicable
Package_1_for_kb950134~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,97810-Mar-200817:29Not Applicable
Package_2_for_kb950134~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,81410-Mar-200817:29Not Applicable
Package_3_for_kb950134~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,81410-Mar-200817:29Not Applicable
Package_4_for_kb950134~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,81410-Mar-200817:29Not Applicable
Package_5_for_kb950134~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,75310-Mar-200817:29Not Applicable
Package_for_kb950134_client_0~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,43310-Mar-200817:29Not Applicable
Package_for_kb950134_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,37510-Mar-200817:29Not Applicable
Package_for_kb950134_client~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,72310-Mar-200817:29Not Applicable
Package_for_kb950134_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,42910-Mar-200817:29Not Applicable
Package_for_kb950134_sc~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,43110-Mar-200817:29Not Applicable
Package_for_kb950134_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,43310-Mar-200817:29Not Applicable
Package_for_kb950134_server~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,43910-Mar-200817:29Not Applicable
Package_for_kb950134_winpe_0~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,37210-Mar-200817:29Not Applicable
Package_for_kb950134_winpe~31bf3856ad364e35~amd64~~6.0.1.0.mumNot Applicable1,43210-Mar-200817:29Not Applicable
Update.mumNot Applicable3,04010-Mar-200817:29Not Applicable
Cimwin32.dll6.0.6000.207882,076,16008-Mar-200804:23x64
Cimwin32.dll6.0.6001.221322,083,32808-Mar-200804:49x64
Windows Vista, IA-64-based versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Ia64_c2847c9881fe282ce6735487a2328ab1_31bf3856ad364e35_6.0.6001.22132_none_195c342d06950cea.manifestNot Applicable72110-Mar-200817:29Not Applicable
Ia64_microsoft-windows-w..ovider-cimwin32-dll_31bf3856ad364e35_6.0.6001.22132_none_d017c2c21f41facc.manifestNot Applicable14,64808-Mar-200805:32Not Applicable
Package_1_for_kb950134~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,80910-Mar-200817:29Not Applicable
Package_2_for_kb950134~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,80910-Mar-200817:29Not Applicable
Package_for_kb950134_sc_0~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,42510-Mar-200817:29Not Applicable
Package_for_kb950134_sc~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,42610-Mar-200817:29Not Applicable
Package_for_kb950134_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,42910-Mar-200817:29Not Applicable
Package_for_kb950134_server~31bf3856ad364e35~ia64~~6.0.1.0.mumNot Applicable1,43410-Mar-200817:29Not Applicable
Update.mumNot Applicable1,92210-Mar-200817:29Not Applicable
Cimwin32.dll6.0.6001.221324,267,00808-Mar-200804:27IA-64

STATUS

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

MORE INFORMATION

For more information about the EnableStatic method, visit the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa390383(VS.85).aspx
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Properties

Article ID: 950134 - Last Review: October 8, 2011 - Revision: 2.0
APPLIES TO
  • Windows Vista Enterprise 64-bit Edition
  • Windows Vista Home Basic 64-bit Edition
  • Windows Vista Home Premium 64-bit Edition
  • Windows Vista Ultimate 64-bit Edition
  • Windows Vista Business
  • Windows Vista Business 64-bit Edition
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
Keywords: 
kbautohotfix kbexpertiseadvanced kbfix kbqfe kbHotfixServer KB950134

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com