Microsoft KB Archive/932142

= You cannot install some programs after you restore Windows Vista by using a &quot;Windows Complete PC Backup and Restore Image&quot; =

Article ID: 932142

Article Last Modified on 8/29/2007

-

APPLIES TO


 * Windows Vista Ultimate
 * Windows Vista Enterprise
 * Windows Vista Business
 * Windows Vista Ultimate 64-bit Edition
 * Windows Vista Enterprise 64-bit Edition

-



SYMPTOMS
After you restore a Windows Vista-based computer by using a &quot;Windows Complete PC Backup and Restore Image,&quot; you may be unable to install certain programs. When this problem occurs, you may receive the following error message:

The Directory Name is Invalid.



CAUSE
This problem occurs because the Temp folder (%temp%) is not restored after you restore the backup. Typically, the Temp folder is found in the following location:

C:\Windows\Temp



To resolve this problem after the problem has occurred
To resolve this problem after the problem has occurred, you must re-create the Temp folder. Also, you must make sure that the Temp folder has the correct permissions. To do this, follow these steps:  Click Start, click All Programs, and then click Accessories. Right-click Command Prompt, and then click Run as Administrator.

If you are prompted for an administrator password or confirmation, type your password or click Continue. Type the following command at the command prompt, and then press ENTER:

md %windir%\temp

Note Leave the Command Prompt window open, because you must use it again. Click Start, type %windir% in the Start Search box, and then click Windows in the Programs list. Right-click the Temp folder, and then click Properties. Click the Security tab, click Advanced, and then click Edit.

If you are prompted for an administrator password or confirmation, type your password or click Continue. Click to clear the Include inheritable permissions from this object's parent check box.</li> Click Remove, and then click OK.</li> You will receive two warning messages. Click Yes in each warning message.</li> Click OK two times to close the Advanced Security Settings dialog box and the folder properties dialog box.</li> Open the Command Prompt window again.</li> Type the following command at the command prompt, and then press ENTER:

icacls %windir%\temp /grant &quot;BUILTIN\Users:(CI)(S,WD,AD,X)&quot; &quot;BUILTIN\Administrators:(F)&quot; &quot;BUILTIN\Administrators:(OI)(CI)(IO)(F)&quot; &quot;NT AUTHORITY\SYSTEM:(F)&quot; &quot;NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)&quot; &quot;CREATOR OWNER:(OI)(CI)(IO)(F)&quot;

Note you must type the command on a single line exactly as it appears here, and you must include all quotation marks.</li></ol>

To prevent this problem
To prevent this problem, install the hotfix that is mentioned in this Microsoft Knowledge Base article.

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 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

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

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, 64-bit versions
<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
For more information about how hotfix packages are named, click the following article number to view the article in the Microsoft Knowledge Base:

816915 New file naming schema for Microsoft Windows software update packages

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

Additional query words: Winx64 Windowsx64 64bit 64-bit

Keywords: kbfix kbqfe kbexpertiseinter kbexpertisebeginner kbhotfixserver KB932142

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.