Updated by Jerry on Apr 17, 2024
 | Home > Windows System To Go

If your Windows operating system frequently experiences lag or displays random errors, it's advisable to install Windows 10 or perform an update to address these issues. Windows offers two methods to install Windows 10 from the command prompt: using a USB drive or a CD/DVD. Our tools guide provides detailed instructions on installing Windows 10 through the command prompt, as well as a more straightforward process with the help of the OS2Go tool.

How to Install Windows 10 Without Using the Command Prompt

In the past, people relied on remembering CMD commands to carry out major tasks on their computers. However, these commands are intricate and time-consuming, and a small mistake could result in the loss or deletion of all your data. If you're not familiar with CMD commands and seeking an easier method to install Windows 10, the tool OS2Go is here to help.

Using the tool OS2Go, you can create a Windows live USB with support for both BIOS and UEFI to directly boot your PC. This software allows you to bypass certain Windows system requirements such as Secure Boot, Microsoft Account, TPM 2.0, and more, facilitating the installation of Windows. For instance, it enables you to install Windows 10 without a Microsoft account. With just a simple click, you can clone Windows 11/10/8/7 to a portable USB, allowing you to run the operating system anytime and anywhere.

Unlike the Windows Media Creation Tool, OS2Go enables you to create a bootable USB drive without needing the ISO file, allowing you to install and run Windows 10 from a USB without installation. It functions like a bootable disk, facilitating portable Windows usage and serving as a backup. Download it now to create a bootable USB with Windows 10.

Now that you have created a bootable USB using OS2Go, follow these steps to install Windows 10:

Part 1: Create a portable USB using the tool OS2Go

Step 1. Install OS2Go on your Windows computer, which will show you the used space on your system drive. Insert a USB drive with a capacity larger than the used space on the system drive. Select the target USB drive and click Next to proceed.

how to use os2go step 1

Step 2. OS2Go will warn you that the proceeding action will erase all data on your drive. Make sure you've backed up all important data. Click Continue to proceed.

how to use os2go step 2

Step 3. Adjust disk layout. The default disk layout on the target drive will be identical to the source drive. You can also edit the layout to suit your requirements. Check the option provided if you're using a Solid State Drive as the Windows boot drive. Then, click Proceed.

how to use os2go step 3

Step 4. OS2Go will then begin creating the portable USB drive. This process may take a while, depending on your operating system and network conditions. Once the progress reaches 100%, the USB drive should be bootable.

how to use os2go step 4

Step 5. Insert the portable Windows USB drive and start your computer. Press the necessary key (F2, DEL, F10, etc.) to access BIOS. Select to boot from the USB drive.

Note: Ensure that the boot mode (either UEFI or Legacy) of the portable USB and the target computer are identical; otherwise, booting may not be possible.

Part 2: Change the Boot Order in BIOS

After inserting the bootable Windows 10 USB, you'll need to alter the boot order in BIOS to initiate startup from the USB drive.

Step 1. Enter the BIOS. To do this, restart your Windows PC and repeatedly press the BIOS key as you restart to access the BIOS settings.

⭐Note: Depending on the manufacturer, the BIOS can be accessed using keys like Del, Esc, F2, F10, F9, and so on.

Step 2. Navigate to the Boot Options menu and change the boot order to the appropriate Boot Media Device. This translates to: 第二步。 进入启动选项菜单,然后将启动顺序更改为合适的启动媒体设备。

Set the bootable USB as your first boot device

Step 3. Save the changes and restart your PC to boot from the USB drive.

Part 3: Installing Windows 10 with Bootable Media

Step 1. After turning on the PC, you'll see a message about pressing a key to boot from the device.

Step 2. Once the Windows Setup loads, select the setup options for language, edition, etc.

set the Windows settings

Step 3. Click Install Now.

tap Install now

Step 4. Enter your product key or accept the license terms when reading the Microsoft Software License Terms.

select I don't have a product key

Step 5. Choose the Custom: Install Windows only (Advanced) option.

select Custom: Install Windows only

Step 6. Next, you need to select the hard drive or partition where you want to install Windows 10. Ensure that you choose one with sufficient space to hold the operating system.

select Drive to install Windows

Step 7. After completing the Windows 10 installation, click on Restart now.

If you want to learn how to install Windows 10 from BIOS using a USB drive, you can refer to the following article.

install windows 10 from usb from bios

How to Install Windows 10 from USB via BIOS

This tutorial will provide all the information you need for installing Windows 10 from a USB drive through BIOS on your PC. Read more >>

2 Common Methods to Install the Windows 10 Command Prompt

If you regularly use Command Prompt and want to install Windows through it, you can choose any of these methods. However, for both approaches, you'll need to download the Windows Media Creation Tool and mount the ISO file to a drive.

  1. Method 1: Install Windows 10 from USB with Command Prompt
  2. Method 2: Install Windows 10 from CD with Command Prompt

Method 1: Install Windows 10 from USB using Command Prompt

To install Windows 10 from USB, you need to create a bootable USB drive with the installation files by following this link: /system-to-go/create-a-windows-bootable-usb.html. Using a USB can shorten the installation time and allow you to directly boot the PC. Ensure that you use a USB drive with a capacity of more than 8GB to hold all the necessary files.

Step 1. Press Windows + R keys to open the Run dialog box. Enter diskpart and press OK to run the Diskpart command for Windows 10 installation.

Step 2. Now, enter the following commands sequentially, pressing Enter after each one.

    Translate the following text into English:
  • list disk
  • select disk 1
  • clean

type the following commands Translation: Insert the Windows 10 installation media and restart your computer. When the boot menu appears, select the installation media to boot from. This will launch the Windows Setup. Instead of clicking "Install now", press Shift + F10 to open a Command Prompt.

    • create partition primary
    • select partition 1
    • active
    • format fs=ntfs quick (or format fs=fat32 quick)
    • assign letter=X
    • exit

type the commands above

Warning
1️⃣The Clean command will render all data on the drive inaccessible. It marks the data as deleted. Execute this command to erase all data from the USB and proceed with a clean installation.
2️⃣Additionally, replace '1' with the number of your USB flash drive and change 'X' to any available letter to utilize the USB drive.

Step 3. Next, you'll need to navigate to the mounted Windows 10 ISO image and boot it using the following command lines:

    Translate the following text into English:
  • G:
  • cd boot
  • bootsect /nt60 X:

Use the following command lines to boot the PC. Boot PC using the command lines below

Notice:
1️⃣ Please replace the letter 'G' with the actual drive letter of your mounted drive as it appears in File Explorer.
2️⃣ Replace 'X' with the correct drive letter for the USB flash drive.

Step 4. Enter the following command to copy the image to the USB flash drive.

xcopy G:\*.* X:\ /E /F /H This command translates to: xcopy G:\*.* X:\ /E /F /H

Notes:

  • /E - to copy all subfolders.
  • /H - to copy all hidden files.
  • /F - to display all source and destination files during copying.

Step 5. Now, you have a bootable USB flash drive to install Windows. Insert it into the PC and proceed with the installation using the Windows Recovery Environment (WinRE).

The steps to install Windows 10 using WinRE are outlined in the method below. Proceed from step 4 to the end.

Important
The Windows 10 installation will remove everything on the PC's primary hard drive. If you do not want to lose data, back up important files.
This translates to:
Important
The installation of Windows 10 will erase everything on the computer's main hard drive. If you don't want to lose your data, back up important files.

Method 2: Install Windows 10 from CD Using Command Prompt

Let's see how to install Windows 10 using a CD through the Command Prompt.

Step 1. Open the Run dialog box by pressing (Windows key + R). Type diskpart, and click OK to launch Diskpart for the Windows 10 installation.

Step 2. Type list vol and execute it to locate the partition with ISO files.

Step 3. Type G:\ISO_Files\setup.exe and run the command.

Note: Replace G with the drive letter of the disk that contains the mounted Windows 10 disc image.

Step 4. This will open the Windows Setup page. Select your preferences for language, time, currency, keyboard, and input methods, then click Next.

invoke Windows Setup from Command Prompt

Step 5. Click Install now.

Step 6. If this is your first time installing Windows 10 on this PC, you must enter the genuine product key. If you're performing a reinstallation, click on I don't have a product key and then click Next.

Step 7. If you selected I don't have a product key, choose the edition of Windows 10 that you're currently using. Click Next and accept the license terms.

Step 8. In the type of installation window, select Custom: Install Windows only (Advanced).

Step 9. Next, choose the hard drive or partition where you want to install Windows 10. Select the drive that has enough free space to hold the operating system.

Step 10. After the Windows 10 installation is complete, click Restart now to restart your PC with Windows 10.

Share this article on your social media to help more people install Windows 10 effortlessly!

I apologize, but you haven't provided any text to be translated. Please provide the Chinese text you would like me to translate into English.

To Sum Up

You can install Windows 10 from the Command Prompt using either a USB or a CD. The article explains the process and the commands required to carry out the Windows 10 installation. Choose the method suitable for your available media: USB or CD.

As you can see, creating a bootable USB or CD involves remembering and executing complex CMD commands. It's better to use the OS2Go tool to create a bootable USB with straightforward steps and install Windows 10. Download it now and begin your Windows installation process.

Frequently Asked Questions on Installing Windows 10 via Command Prompt

Here are some commonly asked questions about installing Windows 10 using the Command Prompt.

1. How to Boot Windows 10 from the Command Prompt?

要从CMD启动Windows 10,请以管理员权限打开命令提示符。输入:

    • diskpart
    • list vol
    • G:\setup.exe

These commands will boot Windows 10.

2. How to restore PC using Command Prompt?

Open Command Prompt as an administrator and type the command "rstrui.exe". Execute the command and proceed with the instructions in the System Restore Wizard to restore your computer.

3. How do I force my computer to boot from USB?

Shut down the device and insert the bootable USB drive into the computer. Next, power on the device and access the UEFI menu to boot Windows from the USB.

< b > 4. Can you install Windows 10 through BIOS?

To boot Windows 10 from BIOS, connect a bootable installation media to the PC. Then, boot the system into BIOS and utilize the Boot Options Menu to initiate the installation of Windows 10.