Q. My Windows Preinstallation Environment (WinPE) is performing very poorly. I think it's out of memory. How can I add more?

A. Even though your machine may have gigabytes of RAM, by default WinPE only allocates 32 MB of scratch space, which is writable memory available on the WinPE system volume RAM disk. You can change the scratch space to be 32, 64, 128, 256, or 512 MB when you create the WinPE environment. To modify the scratch space, run the command

peimg /scratchspace= /image=
Related Reading:

Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.
Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.