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.
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:
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.
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.
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.
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.
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.
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: 第二步。 进入启动选项菜单,然后将启动顺序更改为合适的启动媒体设备。
Step 3. Save the changes and restart your PC to boot from the USB drive.
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.
Step 3. Click Install Now.
Step 4. Enter your product key or accept the license terms when reading the Microsoft Software License Terms.
Step 5. Choose the Custom: Install Windows only (Advanced) option.
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.
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.
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 >>
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.
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.
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.
Step 3. Next, you'll need to navigate to the mounted Windows 10 ISO image and boot it using the following command lines:
Use the following command lines to boot the PC.
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:
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.
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.
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!
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.
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,请以管理员权限打开命令提示符。输入:
These commands will boot Windows 10.
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.