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 have a computer that is running Subsystem for UNIX-based Applications (SUA). The computer is running one of the following operating systems:

  • Windows 7 Service Pack 1 (SP1)

  • Windows Server 2008 R2 Service Pack 1 (SP1)

  • Windows 8

  • Windows Server 2012

When you try to run a shell script to create many environment variables, the script fails and you receive an error message that resembles the following:

Cannot Allocate Memory


Note This issue only occurs when the environment variable block size is over 64 kilobytes (KB).

Cause

This issue occurs because the string length that is specified for the RtlSetEnvironmentVar API is incorrect when the environment variable block size is over 64 KB.

Resolution

This hotfix is also available at Microsoft Update Catalog

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 one of the following operating systems:

  • Windows 7 Service Pack 1 (SP1)

  • Windows Server 2008 R2 Service Pack 1 (SP1)

  • Windows 8

  • Windows Server 2012

Additionally, you must have Utilities and Software Development Kit (SDK) for Subsystem for UNIX-based Applications installed.

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

976932Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

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.

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 7 and Windows Server 2008 R2 file information notes
Important 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 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

    Milestone

    Service branch

    6.1.760
    1.22xxx

    Windows 7 and Windows Server 2008 R2

    SP1

    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 7 and for Windows Server 2008 R2" section. MUM 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 7

File name

File version

File size

Date

Time

Platform

Psxdll.dll

6.1.7601.22195

309,248

16-Dec-2012

18:37

x86

Psxdllsvr.dll

6.1.7601.22195

357,888

16-Dec-2012

18:37

x86

Psxss.exe

6.1.7601.22195

656,896

16-Dec-2012

14:43

x86

Sua-ppdlic.xrm-ms

Not applicable

2,981

16-Dec-2012

18:57

Not applicable

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

File name

File version

File size

Date

Time

Platform

Psxdll.dll

6.1.7601.22195

330,240

16-Dec-2012

17:41

x64

Psxdllsvr.dll

6.1.7601.22195

378,368

16-Dec-2012

17:41

x64

Psxss.exe

6.1.7601.22195

849,408

16-Dec-2012

15:04

x64

Sua-ppdlic.xrm-ms

Not applicable

2,981

16-Dec-2012

18:07

Not applicable

Psxdll.dll

6.1.7601.22195

328,192

16-Dec-2012

18:37

x86

Psxdllsvr.dll

6.1.7601.22195

376,832

16-Dec-2012

18:37

x86

Psxdll.dll

6.1.7601.22195

328,192

16-Dec-2012

18:37

x86

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

File name

File version

File size

Date

Time

Platform

Psxdll.dll

6.1.7601.22195

718,848

16-Dec-2012

16:17

IA-64

Psxdllsvr.dll

6.1.7601.22195

744,448

16-Dec-2012

16:17

IA-64

Psxss.exe

6.1.7601.22195

1,649,664

16-Dec-2012

14:26

IA-64

Posixsscom.dll

6.1.7601.22195

5,632

16-Dec-2012

14:42

x86

Psxdll.dll

6.1.7601.22195

328,192

16-Dec-2012

18:37

x86

Psxdllsvr.dll

6.1.7601.22195

376,832

16-Dec-2012

18:37

x86

Windows 8 and Windows Server 2012 file information notesImportant Windows 8 and Windows Server 2012 hotfixes are included in the same packages. However, only "Windows 8" 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 8" 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, milestone (RTM,SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table:

    Version

    Product

    Milestone

    Service branch

    6.2.920 0.20 xxx

    Windows 8 and Windows Server 2012

    RTM

    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 8 and for Windows Server 2012" 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 8

File name

File version

File size

Date

Time

Platform

Psxdll.dll

6.2.9200.20657

289,280

09-Mar-2013

04:24

x86

Psxdllsvr.dll

6.2.9200.20657

339,456

09-Mar-2013

04:24

x86

Psxss.exe

6.2.9200.20657

650,240

09-Mar-2013

04:25

x86

Sua-ppdlic.xrm-ms

Not Applicable

2,873

09-Mar-2013

07:43

Not Applicable

For all supported x64-based versions of Windows 8 and of Windows Server 2012

File name

File version

File size

Date

Time

Platform

Psxdll.dll

6.2.9200.20657

315,904

09-Mar-2013

04:59

x64

Psxdllsvr.dll

6.2.9200.20657

364,032

09-Mar-2013

04:59

x64

Psxss.exe

6.2.9200.20657

837,120

09-Mar-2013

05:00

x64

Sua-ppdlic.xrm-ms

Not Applicable

2,873

10-Mar-2013

01:19

Not Applicable

Psxdll.dll

6.2.9200.20657

305,152

09-Mar-2013

04:24

x86

Psxdllsvr.dll

6.2.9200.20657

354,304

09-Mar-2013

04:24

x86


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 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 for Windows 7 and for Windows Server 2008 R2

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

File name

X86_d1d3e2cfd1573a5086cbc1ae0e34227d_31bf3856ad364e35_6.1.7601.22195_none_d6235662a99095b7.manifest

File version

Not applicable

File size

707

Date (UTC)

18-Dec-2012

Time (UTC)

06:33

Platform

Not applicable

File name

X86_subsystem-for-unix-based-applications_31bf3856ad364e35_6.1.7601.22195_none_7623bf20678f756b.manifest

File version

Not applicable

File size

62,446

Date (UTC)

18-Dec-2012

Time (UTC)

06:36

Platform

Not applicable

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

File name

Amd64_2fb9030afc4f5a84d5c70e7814b63899_31bf3856ad364e35_6.1.7601.22195_none_bd77bdfff55d7104.manifest

File version

Not applicable

File size

716

Date (UTC)

18-Dec-2012

Time (UTC)

06:33

Platform

Not applicable

File name

Amd64_ee855c5f7f3358d37718528ea64d446f_31bf3856ad364e35_6.1.7601.22195_none_853cef94ff17f9a6.manifest

File version

Not applicable

File size

716

Date (UTC)

18-Dec-2012

Time (UTC)

06:33

Platform

Not applicable

File name

Amd64_eeab6e1f12351a34357a45d41ea85445_31bf3856ad364e35_6.1.7601.22195_none_3feb26a91c44d31e.manifest

File version

Not applicable

File size

1,064

Date (UTC)

18-Dec-2012

Time (UTC)

06:33

Platform

Not applicable

File name

Amd64_subsystem-for-unix-..d-applications-core_31bf3856ad364e35_6.1.7601.22195_none_52b77cb1d0692a3f.manifest

File version

Not applicable

File size

58,151

Date (UTC)

18-Dec-2012

Time (UTC)

06:39

Platform

Not applicable

File name

Amd64_subsystem-for-unix-based-applications_31bf3856ad364e35_6.1.7601.22195_none_d2425aa41fece6a1.manifest

File version

Not applicable

File size

63,787

Date (UTC)

18-Dec-2012

Time (UTC)

06:40

Platform

Not applicable

File name

Wow64_subsystem-for-unix-..d-applications-core_31bf3856ad364e35_6.1.7601.22195_none_5d0c270404c9ec3a.manifest

File version

Not applicable

File size

42,861

Date (UTC)

18-Dec-2012

Time (UTC)

06:39

Platform

Not applicable

File name

Wow64_subsystem-for-unix-based-applications_31bf3856ad364e35_6.1.7601.22195_none_dc9704f6544da89c.manifest

File version

Not applicable

File size

42,787

Date (UTC)

18-Dec-2012

Time (UTC)

06:39

Platform

Not applicable

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

File name

Ia64_7604db672cbb1af03eb08856158462fa_31bf3856ad364e35_6.1.7601.22195_none_a88f90d733ea8a5e.manifest

File version

Not applicable

File size

1,062

Date (UTC)

18-Dec-2012

Time (UTC)

06:33

Platform

Not applicable

File name

Ia64_subsystem-for-unix-based-applications_31bf3856ad364e35_6.1.7601.22195_none_76256316678d7e67.manifest

File version

Not applicable

File size

63,784

Date (UTC)

18-Dec-2012

Time (UTC)

06:33

Platform

Not applicable

File name

Wow64_subsystem-for-unix-based-applications_31bf3856ad364e35_6.1.7601.22195_none_dc9704f6544da89c.manifest

File version

Not applicable

File size

41,411

Date (UTC)

16-Dec-2012

Time (UTC)

18:54

Platform

Not applicable

Additional file information for Windows 8 and for Windows Server 2012

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

File name

Update.mum

File version

Not Applicable

File size

1,808

Date (UTC)

11-Mar-2013

Time (UTC)

08:46

Platform

Not Applicable

File name

X86_abc6db3707e75a09460f94e1d26eafff_31bf3856ad364e35_6.2.9200.20657_none_02b4f29ac0374f57.manifest

File version

Not Applicable

File size

707

Date (UTC)

11-Mar-2013

Time (UTC)

08:46

Platform

Not Applicable

File name

X86_subsystem-for-unix-based-applications_31bf3856ad364e35_6.2.9200.20657_none_714074dfda58f2e4.manifest

File version

Not Applicable

File size

65,697

Date (UTC)

11-Mar-2013

Time (UTC)

08:46

Platform

Not Applicable

Additional files for all supported x64-based versions of Windows 8 and of Windows Server 2012

File name

Amd64_9a8f20613198143a7d8884742138d897_31bf3856ad364e35_6.2.9200.20657_none_5262302ca9ad9685.manifest

File version

Not Applicable

File size

1,064

Date (UTC)

11-Mar-2013

Time (UTC)

08:47

Platform

Not Applicable

File name

Amd64_subsystem-for-unix-based-applications_31bf3856ad364e35_6.2.9200.20657_none_cd5f106392b6641a.manifest

File version

Not Applicable

File size

66,813

Date (UTC)

11-Mar-2013

Time (UTC)

08:47

Platform

Not Applicable

File name

Update.mum

File version

Not Applicable

File size

1,818

Date (UTC)

11-Mar-2013

Time (UTC)

08:47

Platform

Not Applicable

File name

Wow64_subsystem-for-unix-based-applications_31bf3856ad364e35_6.2.9200.20657_none_d7b3bab5c7172615.manifest

File version

Not Applicable

File size

41,529

Date (UTC)

11-Mar-2013

Time (UTC)

08:47

Platform

Not Applicable


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!

×