Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Before, I can copy Windows XP CD contents to D:\windowsxp, then

  • Boot DOS CD
  • > format C: /s /q
  • > D:\windowsxp\i386\winnt.exe

How to install Windows 7 from MS-DOS? I found install from USB only.

share|improve this question

migrated from Apr 16 '10 at 20:47

This question came from our site for professional and enthusiast programmers.

I'm not sure why you're booting DOS from a CD, but won't boot Windows 7 from a CD...

Having said that, Windows Vista and newer no longer use DOS during its initial setup, instead opting to use Windows Preinstallation Environment (PE). There is a much more involved setup, requiring that you create a Windows PE image in advance before you can boot it from the Hard Drive.

share|improve this answer
Because Win7 comes on a DVD, not CD. – kinokijuf Jul 20 '12 at 14:40

You can’t. The install process was completely changed in Vista.

share|improve this answer
What changed about it? – Simon Sheehan Nov 27 '11 at 16:25
@SimonSheehan, um, everything. Like Powerlord said, the installer is no longer a DOS executable, it is a Windows program that runs from a copy of Windows PE (like a Linux “live cd”). The Windows installer runs a stripped-down version of Windows which then loads the installer program itself; sort of like installing a newer version of Windows while booted into an older version. – Synetech Jul 20 '12 at 14:16
It is not possible to run Vista and Windows 7 installer from command prompt.

when you will try to run it from command mode then it will give error like win32 application will not run in dost mode. (not exactly this).

Windows Preinstallation Environment (PE) may be alternate to do this in dos mode. but according to setup program behavior of windows 7; i do not think it can be achieved easily.. need lots of hard work.

USB Install is much easy with Win2Flash. nice stuff. it is great alternate.

you can look for these stuff :

Install Windows 7 or Windows Vista on a Pc Without DVD Media

How to Install Windows 7 FAST without a DVD or USB Device

share|improve this answer

*Install through the bootable Windows 7 DVD or by making Bootable USB-drive for Windows 7 by any software like Win2Flash.

share|improve this answer

You must log in to answer this question.