Microsoft KB Archive/891895

= &quot;Setup cannot create a temporary folder&quot; error message when you try to upgrade to Windows XP =

Article ID: 891895

Article Last Modified on 1/3/2005

-

APPLIES TO


 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Professional

-



Template: zGeneric Problem Article



SYMPTOMS
When you try to upgrade your computer from Microsoft Windows 98 or Microsoft Windows Millennium Edition to Microsoft Windows XP, you may receive the following error message:

Setup cannot create a temporary folder. Setup cannot continue



RESOLUTION
To resolve this issue, use the following methods in the order they are presented. If Method 1 does not resolve the issue, perform Method 2.

Method 1: Manually create Setup folders

 * 1) On the desktop, double-click My Computer, and then double-click drive C.
 * 2) On the File menu, point to New, and then click Folder.
 * 3) Type $win_nt$.~bt to name the folder.
 * 4) On the File menu, point to New, and then click Folder.
 * 5) Type user~tmp.@01 to name the folder.
 * 6) Double-click the Windows folder.

Note Click Show Files to display the contents of the Windows folder.
 * 1) If there is a Setup folder in the Windows folder, right-click the Setup folder, click Rename, and then type Setup-old to rename the Setup folder.
 * 2) On the File menu, point to New, and then click Folder.
 * 3) Type Setup to name the folder.
 * 4) Try to install Windows XP.

Method 2: Copy installation files to your hard disk
 Insert the Windows XP Setup CD in your CD drive. On the Welcome to Microsoft Windows XP screen, under What do you want to do?, click Perform additional tasks. Click Browse this CD. Right-click I386, and then click Copy. On the desktop, double-click My Computer, and then double-click drive C. On the Edit menu, click Paste. Click Start, and then click Run.</li> Use Safe mode to start your computer: <ol style="list-style-type: lower-alpha;"> Restart your computer.</li> As your computer starts, press the F8 key repeatedly to access the Microsoft Windows Startup Menu.</li> Type 3 to choose Safe mode from the startup options, and then press ENTER.</li></ol> </li> When Windows starts, type the following command, and then press ENTER: c:\i386\winnt32.exe /checkupgradeonly .</li> After the Microsoft Windows Upgrade Advisor finishes, view the upgrade report and take whatever action is required to address any reported hardware or software compatibility issues. See the &quot;References&quot; section for information about compatibility issues.</li> Start Windows.</li> Click Start, and then click Run.</li> In the Open box, type the following command, and then press ENTER: C:\i386\winnt32.exe </li> Click OK, and then follow the steps in the Windows Setup Wizard to upgrade the computer to Windows XP.</li></ol>

<div class="references_section">