Error message when you start a program that must run with elevated permissions on a Windows Vista-based computer: The directory name is invalid

Error message when you start a program that must run with elevated permissions on a Windows Vista-based computer: The directory name is invalid

Article ID : 945802
Last Review : March 31, 2008
Revision : 1.0
On This Page

SYMPTOMS

When you try to start a program that must run with elevated permissions on a Windows Vista-based computer, you may receive an error message that resembles the following:

The directory name is invalid.

This issue occurs if the following conditions are true:

• User Access Control (UAC) is enabled.
• The system Temp folder does not exist.

Note Typically, the system Temp folder resides in the following location

%windir% Temp directory

Back to the top

RESOLUTION

Service pack information

To resolve this problem, obtain the latest service pack for Windows Vista.

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

935791 (/Feedback.aspx?kbNumber=935791/) How to obtain the latest Windows Vista service pack

Back to the top

Hotfix information

A supported hotfix is now 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 Windows Vista service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451 (http://go.microsoft.com/?linkid=6294451)

Note If additional issues occur or 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. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)

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
File name File version File size Date Time Platform
Update.mum Not Applicable 2,002 07-Mar-2008 18:31 Not Applicable
X86_fc3924aa3dd493dac8ffe8898bb05640_31bf3856ad364e35_6.0.6000.20787_none_c1ba08403eb9572e.manifest Not Applicable 695 07-Mar-2008 18:31 Not Applicable
X86_microsoft-windows-wininit_31bf3856ad364e35_6.0.6000.20787_none_2f46999a20824664.manifest Not Applicable 10,777 07-Mar-2008 05:44 Not Applicable
Wininit.exe 6.0.6000.20787 97,280 07-Mar-2008 02:03 x86
Wmsgapi.dll 6.0.6000.20787 10,752 07-Mar-2008 04:19 x86
Windows Vista, x64-based versions
File name File version File size Date Time Platform
Amd64_a99a75f069eaa971fc39b8ef9014e63b_31bf3856ad364e35_6.0.6000.20787_none_7e9b69119fe30bc8.manifest Not Applicable 699 07-Mar-2008 18:31 Not Applicable
Amd64_fc3924aa3dd493dac8ffe8898bb05640_31bf3856ad364e35_6.0.6000.20787_none_1dd8a3c3f716c864.manifest Not Applicable 697 07-Mar-2008 18:31 Not Applicable
Amd64_microsoft-windows-wininit_31bf3856ad364e35_6.0.6000.20787_none_8b65351dd8dfb79a.manifest Not Applicable 10,807 07-Mar-2008 05:42 Not Applicable
Package_1_for_kb945802~31bf3856ad364e35~amd64~~6.0.1.0.mum Not Applicable 1,794 07-Mar-2008 18:31 Not Applicable
Package_2_for_kb945802~31bf3856ad364e35~amd64~~6.0.1.0.mum Not Applicable 2,013 07-Mar-2008 18:31 Not Applicable
Update.mum Not Applicable 1,925 07-Mar-2008 18:31 Not Applicable
Wininit.exe 6.0.6000.20787 123,904 07-Mar-2008 02:16 x64
Wmsgapi.dll 6.0.6000.20787 14,336 07-Mar-2008 04:25 x64

Back to the top

WORKAROUND

To work around this problem, manually re-create the Temp folder, and make sure that this folder is assigned the correct permissions.

For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:

932142 (/Feedback.aspx?kbNumber=932142/) You cannot install some programs after you restore Windows Vista by using a Windows Complete PC Backup and Restore image

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, click the following article number to view the article in the Microsoft Knowledge Base:

824684 (/Feedback.aspx?kbNumber=824684/) Description of the standard terminology that is used to describe Microsoft software updates

Back to the top


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

Back to the top

Keywords: 
kbexpertiseinter kbfix kbpubtypekc kbqfe kbhotfixserver KB945802

Back to the top

 

Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
Microsoft Corporation. All rights reserved. Terms of Use | Trademarks


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

AddThis Social Bookmark Button

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image