Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Symptoms

Assume that you use a Microsoft Visual Basic Scripting Edition (VBScript) script or a JScript script on a computer that is running Windows Vista or Windows Server 2008. The VBScript or Jscript script uses Windows Script Host (WSH) 5.7 objects to run an application. When WSH 5.7 exits, the Wscript.exe or Cscript.exe process stops unexpectedly, and an incorrect exit code is returned.

Cause

This issue is caused by an access violation that occurs in WSH 5.7. When you use a VBScript or Jscript script that uses WSH 5.7 objects to run an application, the Wshom.ocx module creates a background thread to monitor the status of the application. When the script ends, WSH 5.7 unloads the Wshom.ocx module. However, the Wshom.ocx module does not stop the background thread. Therefore, an access violation occurs in WSH 5.7, and then the Wscript.exe or Cscript.exe process exits. Additionally, an incorrect error code is returned to the script in some cases.

Resolution

To resolve this issue, we have released a hotfix for Windows Vista or Windows Server 2008.

Note After you download the hotfix package, decompress the package into a folder, and then double-click the Windows6.0-KB2706530-x86.msu, Windows6.0-KB2706530-x64.msu, or Windows6.0-KB2706530-ia64.msu file to install the fix.

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=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 be running Windows Vista Service Pack 2 (SP2) or Windows Server 2008 SP2.

For more information about how to obtain a Windows Vista service pack, click the following article number to view the article in the Microsoft Knowledge Base:

935791How to obtain the latest Windows Vista service pack

For more information about how to obtain a Windows Server 2008 service pack, click the following article number to view the article in the Microsoft Knowledge Base:

968849How to obtain the latest service pack for Windows Server 2008

Registry information

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

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The global 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 Vista and Windows Server 2008 file information notes

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

  • The files that apply to a specific product, SR_Level (RTM, SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.

    Version

    Product

    SR_Level

    Service branch

    6.0.600
    2.
    22xxx

    Windows Vista and Windows Server 2008

    SP2

    LDR

  • 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 Vista and for Windows Server 2008" section. MUM files and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintaining the state of the updated component. 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 Vista and of Windows Server 2008


File name

File version

File size

Date

Time

Cscript.exe

5.7.6002.18653

135,168

15-Jun-2012

13:50

Dispex.dll

5.7.0.18000

32,768

19-Jan-2008

07:34

Scrobj.dll

5.7.0.18005

180,224

11-Apr-2009

06:28

Scrrun.dll

5.7.0.18005

172,032

11-Apr-2009

06:28

Wscript.exe

5.7.6002.18653

155,648

15-Jun-2012

13:50

Wshcon.dll

5.7.6002.18653

36,864

15-Jun-2012

15:52

Wshom.ocx

5.7.6002.18653

131,072

15-Jun-2012

15:52

Cscript.exe

5.7.6002.22882

135,168

15-Jun-2012

13:33

Dispex.dll

5.7.6002.22882

32,768

15-Jun-2012

14:40

Scrobj.dll

5.7.6002.22882

180,224

15-Jun-2012

14:42

Scrrun.dll

5.7.6002.22882

172,032

15-Jun-2012

14:42

Wscript.exe

5.7.6002.22882

155,648

15-Jun-2012

13:33

Wshcon.dll

5.7.6002.22882

36,864

15-Jun-2012

14:43

Wshom.ocx

5.7.6002.22882

135,168

15-Jun-2012

14:43

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


File name

File version

File size

Date

Time

Cscript.exe

5.7.6002.18653

147,968

15-Jun-2012

14:14

Dispex.dll

5.7.0.18000

18,944

19-Jan-2008

08:01

Scrobj.dll

5.7.0.18005

227,328

11-Apr-2009

07:11

Scrrun.dll

5.7.0.18005

198,656

11-Apr-2009

07:11

Wscript.exe

5.7.6002.18653

166,912

15-Jun-2012

14:14

Wshcon.dll

5.7.0.18000

28,160

19-Jan-2008

08:04

Wshom.ocx

5.7.6002.18653

144,384

15-Jun-2012

16:17

Cscript.exe

5.7.6002.22882

148,480

15-Jun-2012

14:11

Dispex.dll

5.7.6002.22882

18,944

15-Jun-2012

15:33

Scrobj.dll

5.7.6002.22882

227,328

15-Jun-2012

15:36

Scrrun.dll

5.7.6002.22882

199,168

15-Jun-2012

15:36

Wscript.exe

5.7.6002.22882

167,424

15-Jun-2012

14:11

Wshcon.dll

5.7.6002.22882

28,160

15-Jun-2012

15:38

Wshom.ocx

5.7.6002.22882

144,384

15-Jun-2012

15:38

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


File name

File version

File size

Date

Time

Cscript.exe

5.7.6002.18653

304,640

15-Jun-2012

13:49

Dispex.dll

5.7.0.18000

35,840

19-Jan-2008

08:26

Scrobj.dll

5.7.0.18005

491,008

11-Apr-2009

06:59

Scrrun.dll

5.7.6002.18653

406,016

15-Jun-2012

15:31

Wscript.exe

5.7.6002.18653

343,552

15-Jun-2012

13:50

Wshcon.dll

5.7.0.18000

71,680

19-Jan-2008

08:29

Wshom.ocx

5.7.6002.18653

276,992

15-Jun-2012

15:32

Cscript.exe

5.7.6002.22882

304,640

15-Jun-2012

13:16

Dispex.dll

5.7.6002.22882

35,840

15-Jun-2012

14:12

Scrobj.dll

5.7.6002.22882

491,008

15-Jun-2012

14:15

Scrrun.dll

5.7.6002.22882

406,528

15-Jun-2012

14:15

Wscript.exe

5.7.6002.22882

344,064

15-Jun-2012

13:16

Wshcon.dll

5.7.6002.22882

71,680

15-Jun-2012

14:16

Wshom.ocx

5.7.6002.22882

277,504

15-Jun-2012

14:16


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 Wscript.exe process issue or the Cscript.exe process issue, click the following article number to view the article in the Microsoft Knowledge Base:

2706051 Wscript.exe process or the Cscript.exe process stops unexpectedly when WSH 5.8 exits on a computer that is running Windows 7 or Windows Server 2008 R2 For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684Description of the standard terminology that is used to describe Microsoft software updates

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

X86_21173003d21acabdcc5d3ee26251402f_31bf3856ad364e35_6.0.6002.18653_none_fb41207cda2bce45.manifest

File version

Not applicable

File size

697

Date (UTC)

19-Jun-2012

Time (UTC)

07:09

File name

X86_5f20fbc3e74f314a9a879affec8b97f4_31bf3856ad364e35_6.0.6002.22882_none_71bdac9ec5f2dd1e.manifest

File version

Not applicable

File size

697

Date (UTC)

19-Jun-2012

Time (UTC)

07:09

File name

X86_microsoft-windows-scripting_31bf3856ad364e35_6.0.6002.18653_none_4a1bc755fda604b8.manifest

File version

Not applicable

File size

181,385

Date (UTC)

19-Jun-2012

Time (UTC)

07:09

File name

X86_microsoft-windows-scripting_31bf3856ad364e35_6.0.6002.22882_none_4a83f5f916dcdc25.manifest

File version

Not applicable

File size

168,929

Date (UTC)

15-Jun-2012

Time (UTC)

14:57

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


File name

Amd64_10b0fec0b001366151b77150f3bb8a81_31bf3856ad364e35_6.0.6002.22882_none_775ebb837fd2fc82.manifest

File version

Not applicable

File size

1,042

Date (UTC)

19-Jun-2012

Time (UTC)

07:09

File name

Amd64_f324913ef8ec791ee07905c9054081b6_31bf3856ad364e35_6.0.6002.18653_none_1cc6a5b7e0575349.manifest

File version

Not applicable

File size

1,042

Date (UTC)

19-Jun-2012

Time (UTC)

07:09

File name

Amd64_microsoft-windows-scripting_31bf3856ad364e35_6.0.6002.18653_none_a63a62d9b60375ee.manifest

File version

Not applicable

File size

181,411

Date (UTC)

19-Jun-2012

Time (UTC)

07:10

File name

Amd64_microsoft-windows-scripting_31bf3856ad364e35_6.0.6002.22882_none_a6a2917ccf3a4d5b.manifest

File version

Not applicable

File size

168,955

Date (UTC)

15-Jun-2012

Time (UTC)

15:52

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


File name

Ia64_df84ad55a0753c333cc3e28553aa5265_31bf3856ad364e35_6.0.6002.22882_none_2ed8955685335e91.manifest

File version

Not applicable

File size

1,040

Date (UTC)

19-Jun-2012

Time (UTC)

07:09

File name

Ia64_fc8dc21cbe9417ce41205d37ec753f3a_31bf3856ad364e35_6.0.6002.18653_none_3228a4f811daa33b.manifest

File version

Not applicable

File size

1,040

Date (UTC)

19-Jun-2012

Time (UTC)

07:09

File name

Ia64_microsoft-windows-scripting_31bf3856ad364e35_6.0.6002.18653_none_4a1d6b4bfda40db4.manifest

File version

Not applicable

File size

181,398

Date (UTC)

19-Jun-2012

Time (UTC)

07:10

File name

Ia64_microsoft-windows-scripting_31bf3856ad364e35_6.0.6002.22882_none_4a8599ef16dae521.manifest

File version

Not applicable

File size

168,942

Date (UTC)

15-Jun-2012

Time (UTC)

14:26

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×