{"id":184212,"date":"2022-02-23T09:38:24","date_gmt":"2022-02-23T08:38:24","guid":{"rendered":"http:\/\/sftarticles.wpenginepowered.com\/en\/?p=184212"},"modified":"2025-07-01T20:55:30","modified_gmt":"2025-07-02T03:55:30","slug":"how-to-use-command-prompt-windows-11","status":"publish","type":"post","link":"https:\/\/cms-articles.softonic.io\/en\/how-to-use-command-prompt-windows-11\/","title":{"rendered":"How to use Command Prompt for a clean Windows 11 install"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">When starting from scratch, the best way to <strong>install Windows 11<\/strong> is by using a <strong>bootable disk<\/strong> drive. This USB flash drive helps you <strong>troubleshoot common issues <\/strong>while ensuring a <strong>clean installation<\/strong> across multiple PCs when you\u2019re offline. When your hard drive is empty, booting your computer with <a href=\"https:\/\/windows-11.en.softonic.com\/\">Windows 11<\/a> USB installation media is the only approach.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can <strong>create a USB<\/strong> <strong>flash drive<\/strong> to install Windows 11 through multiple methods. The <strong>easiest way <\/strong>to render the installation media is by using <strong>Microsoft\u2019s Media Creation Tool<\/strong>. However, Command Prompt presents another strong alternative. In this guide, you\u2019ll learn how to install <strong>Windows 11 using Command Prompt<\/strong>.<\/p>\n\n\n<div class=\"howto_container schema-howto-acf-block\"><ol><li><div class=\"howto_item\"><h2>Getting started: download the Windows 11 disk image (ISO)<\/h2><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2022\/02\/01.-Download-the-Windows-11-disk-image-ISO-from-the-official-download-site.jpg\" alt=\"\" width=\"1200\" height=\"675\"><p>Downloading Windows 11 to a bootable USB drive requires a <strong>Windows 11 ISO disk image file<\/strong>. This file type is more commonly known as an <strong>ISO image<\/strong>. Before you create your bootable installation file onto a USB flash drive or DVD, you\u2019ll need <strong>Microsoft\u2019s multi-edition ISO downloaded to your device<\/strong>. To download the Windows 11 ISO to your PC, follow these steps:<\/p>\n<p>&#8211; Download <a href=\"https:\/\/windows-11.en.softonic.com\/\">Windows 11 OS<\/a>.<\/p>\n<p>&#8211; Scroll down and locate the section titled Download Windows 11.<\/p>\n<p>&#8211; Access the dropdown menu and click on Windows 11.<\/p>\n<p>&#8211; Now, click on the Download icon to proceed.<\/p>\n<p>&#8211; The page will prompt you to select the product language. Choose your preferred language, and click Confirm to proceed.<\/p>\n<p>&#8211; The above step loads the section where you choose the 64-bit download icon.<\/p>\n<p>&#8211; Wait for the Windows 11 ISO download to finish.<\/p>\n<\/div><\/li><li><div class=\"howto_item\"><h2>Installing Windows 11 with Command Prompt<\/h2><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2022\/02\/02.-Use-the-Diskpart-Utility-function-to-establish-the-required-installation-media.jpg\" alt=\"\" width=\"1200\" height=\"675\"><p>Using Command Prompt to install Windows 11 is the <strong>best choice<\/strong> for those who want to <strong>avoid the use of a third-party tool<\/strong> to use create a bootable drive. Command Prompt allows you to deploy the <strong>Diskpart Utility<\/strong> function to establish the required installation media. Here\u2019s the process:<\/p>\n<p>&#8211; <strong>Back up all files<\/strong> on your USB drive before connecting it to your device. Remember, you will be wiping your memory when you reinstall the OS.<\/p>\n<p>&#8211; You&#8217;ll need to run Command Prompt. The quickest way to do this is by <strong>typing <em>CMD<\/em> <\/strong>into your Windows search or Start. You&#8217;ll then select <em>Run as Administrator<\/em> to run Command Prompt.<\/p>\n<p>After the Command Prompt window appears, enter the following command: &#8220;<strong><em>DISKPART&#8221;<\/em><\/strong>.<\/p>\n<p>&#8211; Now, <strong>type &#8220;<em>ENTER&#8221;<\/em> <\/strong>to launch Windows Diskpart Utility.<\/p>\n<p>&#8211; Type &#8220;<strong><em>LIST DISK&#8221;<\/em> <\/strong>in the Disk Utility window. This command displays the available storage devices.<\/p>\n<p>&#8211; Find your USB drive among the storage devices listed. If the flash drive is not immediately visible, <strong>search under the size column<\/strong> to locate it by identifying the size of your disk.<\/p>\n<p>Let\u2019s assume for illustration purposes that the drive is <strong>labeled Disk 2<\/strong>. Type &#8220;<em><strong>SEL DISK 2<\/strong>&#8220;<\/em> into the Disk Utility window. This command selects your drive.<\/p>\n<p>&#8211; Now, change the <em>DISK 2<\/em> command above with the number corresponding to your USB drive. If you\u2019re running an SSD or SATA set up, your primary drive will display as &#8220;<em>DISK 0&#8243;<\/em>. The USB drive appears as &#8220;<em>DISK 1&#8243;<\/em>. <strong>Choosing the correct drive in this step is vital<\/strong> because the following procedure <strong>wipes the selected drive clean<\/strong>.<\/p>\n<p>&#8211; After renaming the drives, type &#8220;<em>CLEAN&#8221;<\/em> to eliminate all content from the drive.<\/p>\n<p>&#8211; Next, enter &#8220;<em>CREATE A PARTITION PRIMARY&#8221;<\/em> into the Command Prompt window.<\/p>\n<p>&#8211; Now, enter &#8220;<em>LIST PAR&#8221;<\/em> to choose your main partition.<\/p>\n<p>&#8211; Command Prompt will now detail your USB drive information.<\/p>\n<p>&#8211; After this data appears, type &#8220;<em>DRIVE&#8221;<\/em> and press enter to activate the partition.<\/p>\n<p>&#8211; Now enter: <strong><em>FS=NTFS LABEL=\u201cBootableUSB\u201d QUICK OVERRIDE<\/em><\/strong>. This command formats your USB drive in NTFS format to avoid parameter errors.<\/p>\n<ul>\n<li>After completing this command, type &#8220;<em>EXIT&#8221;<\/em> and press enter to take yourself out of Disk Part Utility.<\/li>\n<\/ul>\n<\/div><\/li><li><div class=\"howto_item\"><h2>Mounting the ISO image<\/h2><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/articles-img.sftcdn.net\/auto-mapping-folder\/sites\/3\/2022\/02\/03.-Type-LIST-VOLUME-to-find-the-Drive-Letter-for-your-mounted-ISO.jpg\" alt=\"\" width=\"1200\" height=\"675\"><p>The final step is to <strong>mount the ISO image<\/strong> by transferring its content to your USB drive. To do this, follow these next steps:<\/p>\n<p>&#8211; In Diskpart, type: <em>PowerShell Mount-DiskImage -ImagePath \u201cC:\\Users\\UserName\\Downloads\\Win11_English_x64v&#8221;<\/em>.<\/p>\n<p>&#8211; Now, change the file path above to reflect the location of your Windows ISO.<\/p>\n<p>&#8211; After the ISO mounts, enter the following command: &#8220;<em>DISKPART&#8221;<\/em>. This launches Diskpart Utility again.<\/p>\n<p>&#8211; Type &#8220;<em>LIST VOLUME&#8221;<\/em> to display the available volume.<\/p>\n<p>&#8211; Listing the volume allows you to <strong>determine the Drive Letter<\/strong> for your mounted ISO. It displays as DVD-ROM. Ltr Column provides the letter that corresponds with the appropriate volume. <strong>Record the details of the ISO volume<\/strong> so you can move it forward accordingly.<\/p>\n<p>&#8211; Next, type &#8220;<em>EXIT&#8221;<\/em> to leave Diskpart.<\/p>\n<p>&#8211; Enter the Mounted ISO letter associated with the correct list volume. If your ISO volume letter is K, then type K.<\/p>\n<p>&#8211; Type &#8220;<em>CD BOOT&#8221;<\/em>.<\/p>\n<p>&#8211; Enter the following command: &#8220;<em>Bootsect \/nt60 I:&#8221;<\/em><\/p>\n<p>&#8211; <strong>Replace the command above with K<\/strong> (or whichever letter corresponds with your USB flash drive).<\/p>\n<p>&#8211; Type &#8220;<em>xcopy K:\\*.* I:\\ \/E \/F\/ H&#8221;<\/em><\/p>\n<ul>\n<li>Next, you\u2019ll need to <strong>replace K and I<\/strong> in the command you just entered above. Replace letter K with your <strong>Mounted ISO Volume<\/strong> and letter I with your <strong>USB Drive Letter<\/strong>.<\/li>\n<\/ul>\n<p>Assuming you\u2019ve entered all of the above commands accurately, you\u2019ll see a message appear that reads &#8220;<strong>Files Copied<\/strong>&#8220;.<\/p>\n<\/div><\/li><\/ol><\/div><style type=\"text\/css\">\n\t.howto_container {\n\t  margin: 0 auto;\n\t}\n\t.howto_container img {\n\t\theight: 100%;\n\t\tmargin-bottom: 30px;\n\t}\n\t\n\t\t  .howto_container h2 {\n\t\t\t  clear: none !important;\n\t\t  }\n\t\t  .howto_container ol {\n\t\t\t  list-style: none !important;\n\t\t  }\t\n\t.howto_container ol li::before {\n\t\tcolor: #ffffff !important;\n\t\tbackground:#0073aa !important;\n\t}\n<\/style>\n\n\t\t\n\n\n<h2 class=\"wp-block-heading\" id=\"wrapping-up\">Wrapping up<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Microsoft provides a seamless installation process for creating installation media through its Media Creation Tool. <strong>Command Prompt<\/strong>, however, is another <strong>reliable alternative<\/strong> for rendering a Windows 11 Bootable USB drive quickly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Both the <strong>Media Creation Tool <\/strong>and Command Prompt will provide a clean install of Windows 11 on any new PC. They also help <strong>troubleshoot common Windows OS issues <\/strong>and several other problems associated with dual-booting Windows 10 with Windows 11.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When starting from scratch, the best way to install Windows 11 is by using a bootable disk drive. This USB flash drive helps you troubleshoot common issues while ensuring a clean installation across multiple PCs when you\u2019re offline. When your hard drive is empty, booting your computer with Windows 11 USB installation media is the &hellip; <a href=\"https:\/\/cms-articles.softonic.io\/en\/how-to-use-command-prompt-windows-11\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How to use Command Prompt for a clean Windows 11 install&#8221;<\/span><\/a><\/p>\n","protected":false},"author":9223,"featured_media":184214,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","wpcf-pageviews":29},"categories":[2518,2441],"tags":[3149],"usertag":[],"vertical":[],"content-category":[],"class_list":["post-184212","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-guides","category-how-to","tag-app-subdomain-redirectionwindows-11"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/184212","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/users\/9223"}],"replies":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/comments?post=184212"}],"version-history":[{"count":1,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/184212\/revisions"}],"predecessor-version":[{"id":324354,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/posts\/184212\/revisions\/324354"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/media\/184214"}],"wp:attachment":[{"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/media?parent=184212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/categories?post=184212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/tags?post=184212"},{"taxonomy":"usertag","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/usertag?post=184212"},{"taxonomy":"vertical","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/vertical?post=184212"},{"taxonomy":"content-category","embeddable":true,"href":"https:\/\/cms-articles.softonic.io\/en\/wp-json\/wp\/v2\/content-category?post=184212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}