{"id":2422,"date":"2023-02-15T03:54:32","date_gmt":"2023-02-15T08:54:32","guid":{"rendered":"https:\/\/www.rexfeng.com\/blog\/?p=2422"},"modified":"2023-02-15T03:54:32","modified_gmt":"2023-02-15T08:54:32","slug":"installing-windows-11-on-a-new-pc-built-from-scratch","status":"publish","type":"post","link":"https:\/\/www.rexfeng.com\/blog\/2023\/02\/installing-windows-11-on-a-new-pc-built-from-scratch\/","title":{"rendered":"Installing Windows 11 on a new PC built from scratch"},"content":{"rendered":"\n<p>I recently built a PC from parts I got at my local MicroCenter and online. Building the PC was tough, but there were no surprises.<\/p>\n\n\n\n<p>Installing Windows 11 Pro was really, really difficult. I&#8217;m shocked since installing software (especially a prominent offering of Microsoft) is supposed to be trivial and work everywhere.<\/p>\n\n\n\n<p>With my PC parts put together, I was able to see the BIOS screen on my monitor. I made sure CSM (Compatibility Support Module) was off and UEFI (Unified Extensible Firmware Interface) was enabled.<\/p>\n\n\n\n<p>I restarted my computer and plugged in my Windows 11 installation USB drive. <em>(Sidenote: I recommend creating the installation USB from Microsoft&#8217;s Media Creation Tool on a Windows PC. I tried to create a USB install stick from macOS and it did not work.)<\/em><\/p>\n\n\n\n<p>Going through the menu options, I was getting cryptic errors: &#8220;<em>Windows could not prepare the computer to boot into the next phase of installation. To install windows, restart the installation<\/em>&#8220;. The error message was unhelpful so I spent time googling for answers and restarting my computer countless times.<\/p>\n\n\n\n<p>From what I can tell, my copy of Windows 11 Pro <strong>cannot<\/strong> install from a USB drive. This is surprising since using a USB drive is the de facto installation method in 2023. Almost nobody has a CD\/DVD drive to install Windows like we used to 10 years ago.<\/p>\n\n\n\n<p>I had to use command line tools in the Windows installation process to create a local SSD partition, copy Windows 11 from my USB to the new partition, and install Windows from the SSD. This was extremely not user friendly and took me well over 3 hours of trial and error to eventually come up with a solution to install Windows. What gives Microsoft? Is installing Windows from a USB drive seamlessly not a priority?<\/p>\n\n\n\n<p>Here are the commands I ran to install Windows 11. <em>My notes (after the # below) are my best guesses as to what is happening.<\/em> <strong>Note: this will format\/wipe\/erase your drive. PROCEED AT YOUR OWN RISK.<\/strong><\/p>\n\n\n\n<p>You can get to the command line interface from the disk selection screen. Press Shift + F10 to open and enter.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># enter diskpart tool\ndiskpart\n\n# view your disks\nlist disk \n\n# selects the 1st disk (make sure you select your primary SSD)\nselect disk 0 \n\n# wipe the selected disk\nclean \n\n# set the selected disk to GPT format. this is important!\nconvert gpt \n\ncreate partition primary size=52000 \n# the size (52000) varies. Just make sure it fits Windows 11 and is within the size of your SSD\n\n# format the selected disk to NTFS\nformat fs=ntfs \n\n# assign a drive letter to the selected disk\nassign \n\n# view your list of volumes\nlist volume \n# make a note of the letters for your new SSD partition &amp; USB stick\n\n# exit diskpart\nexit \n\n# change to your flash drive. Use the correct letter (may or may not be E:)\ncd E:\n\n# copy from USB to your new SSD partition\n# Use the correct letters (e: &amp; c:) below\nxcopy e: c:\/s \/e \/h \/c\n\nexit<\/code><\/pre>\n\n\n\n<p>After following the steps above, you have now created a partition on your SSD with a copy of the install USB contents. It is important to EXIT the Windows installer. Do NOT continue with the Windows menus.<\/p>\n\n\n\n<p>Restart your computer. When your computer is off (during the restart), make sure to remove the USB stick. You want your computer to boot from your new partition and not the USB stick.<\/p>\n\n\n\n<p>If everything goes well, you should be able to install Windows 11 successfully. <\/p>\n\n\n\n<p>During the Windows setup, I had to run a command (OOBE\\BYPASSNRO) to install Windows without connecting to the internet. This was a chicken and egg problem since I didn&#8217;t have any WiFi firmware setup on my computer, so I couldn&#8217;t easily get any firmware updates. Also Windows wasn&#8217;t even setup yet, so I couldn&#8217;t use Windows to install the WiFi firmware either.<\/p>\n\n\n\n<p>As a final step, I wanted to remove the disk partition created during the Windows install process (above). It&#8217;s all been a blur given how hard it was to install Windows 11 in the first place. Thankfully, after Windows 11 was already installed on my computer, I was able to re-run the Windows 11 setup process, remove the partition, and install Windows without an issue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently built a PC from parts I got at my local MicroCenter and online. Building the PC was tough, but there were no surprises. Installing Windows 11 Pro was really, really difficult. I&#8217;m shocked since installing software (especially a prominent offering of Microsoft) is supposed to be trivial and work everywhere. With my PC [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[1493,1494,448,1496,1497,554,523,1495],"class_list":["post-2422","post","type-post","status-publish","format-standard","hentry","category-tech","tag-1493","tag-11pro","tag-microsoft","tag-nvme","tag-ssd","tag-usb","tag-windows","tag-windows11"],"_links":{"self":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts\/2422","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/comments?post=2422"}],"version-history":[{"count":4,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts\/2422\/revisions"}],"predecessor-version":[{"id":2426,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/posts\/2422\/revisions\/2426"}],"wp:attachment":[{"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/media?parent=2422"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/categories?post=2422"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rexfeng.com\/blog\/wp-json\/wp\/v2\/tags?post=2422"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}