"Setup cannot create a temporary folder" error message when you try to upgrade to Windows XP

Article translations Article translations
Article ID: 891895 - View products that this article applies to.
Template: zGeneric Problem Article
Expand all | Collapse all

On This Page

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.
  7. 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.
  8. On the File menu, point to New, and then click Folder.
  9. Type Setup to name the folder.
  10. Try to install Windows XP.

Method 2: Copy installation files to your hard disk

  1. Insert the Windows XP Setup CD in your CD drive.
  2. On the Welcome to Microsoft Windows XP screen, under What do you want to do?, click Perform additional tasks.
  3. Click Browse this CD.
  4. Right-click I386, and then click Copy.
  5. On the desktop, double-click My Computer, and then double-click drive C.
  6. On the Edit menu, click Paste.
  7. Click Start, and then click Run.
  8. Use Safe mode to start your computer:
    1. Restart your computer.
    2. As your computer starts, press the F8 key repeatedly to access the Microsoft Windows Startup Menu.
    3. Type 3 to choose Safe mode from the startup options, and then press ENTER.
  9. When Windows starts, type the following command, and then press ENTER: c:\i386\winnt32.exe /checkupgradeonly.
  10. 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 "References" section for information about compatibility issues.
  11. Start Windows.
  12. Click Start, and then click Run.
  13. In the Open box, type the following command, and then press ENTER: C:\i386\winnt32.exe
  14. Click OK, and then follow the steps in the Windows Setup Wizard to upgrade the computer to Windows XP.

REFERENCES

For additional information about how to prepare to upgrade to Windows XP, click the following article number to view the article in the Microsoft Knowledge Base:
316639 How to prepare to upgrade Windows 98 or Windows Millennium Edition to Windows XP

Properties

Article ID: 891895 - Last Review: January 3, 2005 - Revision: 1.1
APPLIES TO
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
Keywords: 
kbtshoot kbprb KB891895

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com