You cannot install some programs after you restore Windows Vista by using a "Windows Complete PC Backup and Restore Image"
SYMPTOMS
After you restore a Windows Vista-based computer by using a "Windows Complete PC Backup and Restore Image," 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
RESOLUTION
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:1. | Click Start, click All Programs, and then click Accessories. |
2. | 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. |
3. | 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. |
4. | Click Start, type %windir% in the Start Search box, and then click Windows in the Programs list. |
5. | Right-click the Temp folder, and then click Properties. |
6. | 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. |
7. | Click to clear the Include inheritable permissions from this object's parent check box. |
8. | Click Remove, and then click OK. |
9. | You will receive two warning messages. Click Yes in each warning message. |
10. | Click OK two times to close the Advanced Security Settings dialog box and the folder properties dialog box. |
11. | Open the Command Prompt window again. |
12. | Type the following command at the command prompt, and then press ENTER: icacls %windir%\temp /grant "BUILTIN\Users:(CI)(S,WD,AD,X)" "BUILTIN\Administrators:(F)" "BUILTIN\Administrators:(OI)(CI)(IO)(F)" "NT AUTHORITY\SYSTEM:(F)" "NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(F)" "CREATOR OWNER:(OI)(CI)(IO)(F)" Note you must type the command on a single line exactly as it appears here, and you must include all quotation marks. |
APPLIES TO
• | Windows Vista Ultimate |
• | Windows Vista Enterprise |
• | Windows Vista Business |
• | Windows Vista Ultimate 64-bit Edition |
• | Windows Vista Enterprise 64-bit Edition |
Comments