Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

When you use the "Run as administrator" option to run an application that uses an environment variable in Windows Vista or in Windows Server 2008, you encounter various errors


View products that this article applies to.

Symptoms

When you use the Run as administrator option to run an application that uses an environment variable on a computer that is running Windows Vista or Windows Server 2008, the application encounters various errors.

For example, assume that the PATH system environment variable has a value whose length exceeds 1,024 characters. You open a Command Prompt window by using the Run as administrator option. When you run the PATH command to display the value of the PATH system environment variable, only the first 1,024 characters are displayed.

↑ Back to the top


Cause

In Windows Vista and in Windows Server 2008, the length of the value of environment variables is limited to 2,048 characters. However, when an environment variable is used by an application that is run by using the Run as administrator option, the value of the environment variable is truncated to a length of 1,024 characters.

↑ Back to the top


Resolution

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

Important Windows Vista and Windows Server 2008 hotfixes are included in the same packages. However, only one of these products may be listed on the �Hotfix Request� page. To request the hotfix package that applies to both Windows Vista and Windows Server 2008, just select the product that is listed on the page.

Prerequisites

To apply this hotfix, your computer must be running one of the following Windows operating systems:
  • Windows Vista Service Pack 1
  • Windows Vista Service Pack 2
  • Windows Server 2008
  • Windows Server 2008 Service Pack 2

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

File information

The global version of this hotfix has the file attributes (or later file attributes) that are listed in the following table.

Windows Vista and Windows Server 2008 file information notes

  • 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.
    VersionProductSR_LevelService branch
    6.0.600 0 . 16xxxWindows VistaRTMGDR
    6.0.600 0 . 20xxxWindows VistaRTMLDR
    6.0.600 1 . 18xxxWindows Vista and Windows Server 2008SP1GDR
    6.0.600 1 . 22xxxWindows Vista and Windows Server 2008SP1LDR
    6.0.600 2 . 18xxxWindows Vista and Windows Server 2008SP2GDR
    6.0.600 2 . 22xxxWindows Vista and Windows Server 2008SP2LDR
  • Service Pack 1 is integrated into the original release of Windows Server 2008.
  • The MANIFEST files (.manifest) and MUM files (.mum) installed for each environment are listed separately . MUM and MANIFEST files, and the associated security catalog (.cat) files, are critical to maintaining the state of the updated component. The security catalog files (attributes not listed) are signed with a Microsoft digital signature.
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.
For all supported x86-based versions of Windows Server 2008 and Windows Vista
File nameFile versionFile sizeDateTimePlatform
Userenv.dll6.0.6001.22496108,54413-Aug-200913:52x86
Userenv.dll6.0.6002.22198108,54413-Aug-200913:59x86
For all supported x64-based versions of Windows Server 2008 and Windows Vista
File nameFile versionFile sizeDateTimePlatform
Userenv.dll6.0.6001.22496137,21613-Aug-200913:50x64
Userenv.dll6.0.6002.22198137,72813-Aug-200914:00x64
For all supported Itanium-based versions of Windows Server 2008
File nameFile versionFile sizeDateTimePlatform
Userenv.dll6.0.6001.22496283,64813-Aug-200913:38IA-64
Userenv.dll6.0.6002.22198283,64813-Aug-200913:36IA-64

↑ Back to the top


Status

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

↑ Back to the top


More information

For more information about software update terminology, 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

Additional file information for Windows Vista and Windows Server 2008

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

File namePackage_for_kb974114_client_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,367
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_client_2~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,694
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_client~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,713
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_sc_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,421
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_sc_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,690
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_sc~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,701
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_server_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,425
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_server_1~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,694
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_server~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,713
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_winpesrv_0~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,422
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_winpesrv~31bf3856ad364e35~x86~~6.0.1.0.mum
File versionNot Applicable
File size1,430
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File nameX86_c01646d117ed16b63666aff69fead2ee_31bf3856ad364e35_6.0.6001.22496_none_367374a1132f3d65.manifest
File versionNot Applicable
File size695
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File nameX86_edcb06d63526a4debb9f95b15c8d8f1f_31bf3856ad364e35_6.0.6002.22198_none_1c059b4a133896be.manifest
File versionNot Applicable
File size695
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File nameX86_microsoft-windows-userenv_31bf3856ad364e35_6.0.6001.22496_none_906ebf6064a40464.manifest
File versionNot Applicable
File size22,566
Date (UTC)13-Aug-2009
Time (UTC)16:38
PlatformNot Applicable
File nameX86_microsoft-windows-userenv_31bf3856ad364e35_6.0.6002.22198_none_925731dc61c88c36.manifest
File versionNot Applicable
File size22,566
Date (UTC)13-Aug-2009
Time (UTC)16:31
PlatformNot Applicable

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

File nameAmd64_0dd1907f20182e1840492160f70a6b94_31bf3856ad364e35_6.0.6001.22496_none_800ddbf108933282.manifest
File versionNot Applicable
File size699
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File nameAmd64_97ec612ae0defcd95a58291a52751370_31bf3856ad364e35_6.0.6002.22198_none_9b9a36777f412a71.manifest
File versionNot Applicable
File size1,038
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File nameAmd64_c025e8559b9c8a6af32bb93040ed8edf_31bf3856ad364e35_6.0.6001.22496_none_b5e90b322454a72a.manifest
File versionNot Applicable
File size1,038
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File nameAmd64_microsoft-windows-userenv_31bf3856ad364e35_6.0.6001.22496_none_ec8d5ae41d01759a.manifest
File versionNot Applicable
File size22,608
Date (UTC)13-Aug-2009
Time (UTC)16:34
PlatformNot Applicable
File nameAmd64_microsoft-windows-userenv_31bf3856ad364e35_6.0.6002.22198_none_ee75cd601a25fd6c.manifest
File versionNot Applicable
File size22,608
Date (UTC)13-Aug-2009
Time (UTC)16:33
PlatformNot Applicable
File namePackage_for_kb974114_client_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,375
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_client_2~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,706
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_client~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,723
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_sc_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,429
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_sc_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,702
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_sc~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,711
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_server_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,433
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_server_1~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,706
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_server~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,723
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_winpesrv_0~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,430
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_winpesrv~31bf3856ad364e35~amd64~~6.0.1.0.mum
File versionNot Applicable
File size1,438
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable

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

File nameIa64_18451173fb801f573a10fd879804320a_31bf3856ad364e35_6.0.6001.22496_none_0cbc466478c23e55.manifest
File versionNot Applicable
File size697
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File nameIa64_2161092ddad9a706ef938a0cf4b23de6_31bf3856ad364e35_6.0.6002.22198_none_7f0ecb7a9f332513.manifest
File versionNot Applicable
File size1,036
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File nameIa64_44de826bbe65dca99e8332cee9764dad_31bf3856ad364e35_6.0.6001.22496_none_9f5e9ab53f430075.manifest
File versionNot Applicable
File size1,036
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File nameIa64_microsoft-windows-userenv_31bf3856ad364e35_6.0.6001.22496_none_9070635664a20d60.manifest
File versionNot Applicable
File size22,587
Date (UTC)13-Aug-2009
Time (UTC)16:15
PlatformNot Applicable
File nameIa64_microsoft-windows-userenv_31bf3856ad364e35_6.0.6002.22198_none_9258d5d261c69532.manifest
File versionNot Applicable
File size22,587
Date (UTC)13-Aug-2009
Time (UTC)15:58
PlatformNot Applicable
File namePackage_for_kb974114_sc_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,425
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_sc_1~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,530
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_sc~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,706
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_server_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,429
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_server_1~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,533
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_server~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,718
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_winpesrv_0~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,426
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable
File namePackage_for_kb974114_winpesrv~31bf3856ad364e35~ia64~~6.0.1.0.mum
File versionNot Applicable
File size1,434
Date (UTC)14-Aug-2009
Time (UTC)08:44
PlatformNot Applicable

↑ Back to the top


Keywords: kbsurveynew, kbexpertiseadvanced, kbhotfixserver, kbautohotfix, kbqfe, kbfix, KB974114

↑ Back to the top

Article Info
Article ID : 974114
Revision : 2
Created on : 9/3/2009
Published on : 9/3/2009
Exists online : False
Views : 316