How to Make a Bootable Pendrive Using CMD

How to Make a Bootable Pendrive Using CMD

Introduction

Creating a bootable USB drive using CMD contains the Command Prompt to format a USB drive and transfer required files, allowing you to install or repair an operating system. This method is useful for system maintenance, troubleshooting, and tasks like installing or upgrading an operating system, particularly on devices without optical drives. The process requires careful attention to avoid data loss on the USB drive.

Step-by-step guide

Here is a summary step-by-step guide on how to create a bootable USB drive using CMD:

1. Insert USB to the computer

2. Open Command Prompt (Click on the Start Button and search here Command Prompt, Open Command Prompt Run as Administrator)

Commands

  • Type "Diskpart" and press enter. (This command will launch the Diskpart utility)
  • Type "List Disk" and press enter. (Identify the number assigned to your USB drive)
  • Type "Select Disk X" (Replace X with your USB drive number) Example: Select Disk 1
  • Type "Clean" and press enter. (This command will remove all partitions and data from the USB drive)
  • Type "Create Partition Primary" and press enter. (This command creates a primary partition on the USB drive)
  • Type "Format fs=ntfs Quick" and press enter. (This command formats the USB drive with the NTFS file system)
  • Type "Active" and press enter. (This command active a drive letter to the USB drive)
  • Type "Exit" and press enter. (For exit current tab)

Once the process is complete. now simply copy and paste the contents of the ISO file to the USB drive. Make sure the files are directly on the USB drive and not in a folder, you will have a bootable USB drive that you can use to install Windows or repair the operating system.

Watch Video


Post a Comment

0 Comments