<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	 xmlns:friends="wordpress-plugin-friends:feed-additions:1" >

<channel>
	<title>Windows &#8211; Scott&#039;s Blog</title>
	<atom:link href="https://alfter.us/category/windows/feed/" rel="self" type="application/rss+xml" />
	<link>https://alfter.us</link>
	<description>Things that interest me</description>
	<lastBuildDate>Tue, 28 Nov 2023 21:13:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.5</generator>
<site xmlns="com-wordpress:feed-additions:1">230089306</site>	<item>
		<title>Cheatsheet: install debloated Windows 11 on QEMU</title>
		<link>https://alfter.us/2023/09/29/cheatsheet-install-debloated-windows-11-on-qemu/</link>
		
		<dc:creator><![CDATA[Scott Alfter]]></dc:creator>
		<pubDate>Fri, 29 Sep 2023 17:36:46 +0000</pubDate>
				<category><![CDATA[computers]]></category>
		<category><![CDATA[Gentoo Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<guid isPermaLink="false">https://alfter.us/?p=9915</guid>

					<description><![CDATA[This pulls together tips from https://christitus.com/windows-11-perfect-install/, https://christitus.com/install-windows-the-arch-linux-way/, https://blogs.oracle.com/virtualization/post/install-microsoft-windows-11-on-virtualbox, and some other sources I&#8217;ve forgotten. It&#8217;s mainly aimed at getting Win11 running under QEMU on Gentoo Linux, but should also work for bare-metal installs, QEMU on other platforms, or other virtualization platforms (VMware, VirtualBox, etc.). More Win11-without-TPM/Secure Boot tricks https://nerdschalk.com/install-windows-11-without-tpm/ has several methods that might be [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p>This pulls together tips from <a rel="noreferrer noopener" href="https://christitus.com/windows-11-perfect-install/" target="_blank">https://christitus.com/windows-11-perfect-install/</a>, <a rel="noreferrer noopener" href="https://christitus.com/install-windows-the-arch-linux-way/" target="_blank">https://christitus.com/install-windows-the-arch-linux-way/</a>, <a rel="noreferrer noopener" href="https://blogs.oracle.com/virtualization/post/install-microsoft-windows-11-on-virtualbox" target="_blank">https://blogs.oracle.com/virtualization/post/install-microsoft-windows-11-on-virtualbox</a>, and some other sources I&#8217;ve forgotten.  It&#8217;s mainly aimed at getting Win11 running under QEMU on Gentoo Linux, but should also work for bare-metal installs, QEMU on other platforms, or other virtualization platforms (VMware, VirtualBox, etc.).</p>



<ol class="wp-block-list">
<li>Verify kernel prerequisites as described in <a href="https://wiki.gentoo.org/wiki/QEMU" target="_blank" rel="noreferrer noopener">https://wiki.gentoo.org/wiki/QEMU</a></li>



<li>Install <code>app-emulation/qemu</code> and <code>app-emulation/libvirt</code></li>



<li>Start /etc/init.d/libvirtd, and add it to the default runlevel:<br><code>sudo rc-update add libvirtd</code> </li>



<li>Add yourself to the kvm group:<br><code>sudo usermod -aG kvm `whoami`</code></li>



<li>Download the latest Win11 ISO from <a href="https://www.microsoft.com/software-download/windows11" target="_blank" rel="noreferrer noopener">https://www.microsoft.com/software-download/windows11</a></li>



<li>Download the latest libvirt driver ISO from <a href="https://github.com/virtio-win/virtio-win-pkg-scripts/" target="_blank" rel="noreferrer noopener">https://github.com/virtio-win/virtio-win-pkg-scripts/</a></li>



<li>Start virt-manager and create a new VM, installing from the Win11 ISO. Most defaults are OK, with the following exceptions:<br>a. Change virtual disk storage bus from SATA to virtio<br>b. Add new storage, select the driver ISO, and change type from disk to CD-ROM<br>c. Change network device type from e100e to virtio</li>



<li>Start the VM; Win11 setup should begin.</li>



<li>Disable TPM and Secure Boot checks in the installer:<br>a. When the installer begins, press Shift-F10 and launch <code>regedit</code> from the command prompt.<br>b. Add a new key named <code>LabConfig</code> under <code>HKLM\SYSTEM\Setup</code><br>c. Add two new DWORDS to <code>HKLM\SYSTEM\Setup\LabConfig</code> named <code>BypassTPMCheck</code> and <code>BypassSecureBootCheck</code>, and set both to 1.<br>d. Exit Regedit, close the command prompt, and continue.</li>



<li>Optional: when prompted during installation, select &#8220;English (World)&#8221; as the time and currency format.  This causes a bunch of bloatware and other crap to not be installed.</li>



<li>After installation on the first boot, press Shift-F10 again and enter this to cut OOBE short:<br><code>oobe\BypassNRO</code><br>This will trigger a reboot, followed by a less intrusive offline OOBE process (necessary because the virtual NIC isn&#8217;t working yet, and it&#8217;s a good idea anyway).</li>



<li>Once the system&#8217;s up and running, run <code>virtio-win-guest-tools.exe</code> from the driver ISO to install the remaining needed drivers and other tools.</li>



<li>If you selected &#8220;English (World)&#8221; as the time and currency format when installing, start <code>intl.cpl</code> and make sure all settings are as they should be (whether &#8220;English (United States)&#8221; or whatever&#8217;s appropriate for you).  Do the same for &#8220;region settings&#8221; in the Settings app.</li>



<li>Open Microsoft Store, search for &#8220;App Installer,&#8221; and update it&#8230;need to do this for Winget to work.  (TODO: is there a way to do this with a normal download instead?)</li>



<li>Open a PowerShell admin window and launch Chris Titus&#8217;s tweak utility:<br><code>irm christitus.com/win | iex</code><br>Use it to debloat your system, install the software you want, etc.<br><strong>Warning: </strong>Removing the Edge browser with this utility may break other apps (I know for certain that Teams won&#8217;t work), and it might not be possible to get it working right again without a full reinstall.  It appears that Edge is embeddable within applications in much the same way that Internet Explorer was once embeddable.  <em>Plus ça change</em>&#8230; </li>



<li>Check for Windows updates in the usual manner.</li>
</ol>



<h2 class="wp-block-heading">More Win11-without-TPM/Secure Boot tricks</h2>



<p><a href="https://nerdschalk.com/install-windows-11-without-tpm/" target="_blank" rel="noreferrer noopener">https://nerdschalk.com/install-windows-11-without-tpm/</a> has several methods that might be useful, especially for upgrading from Win10 or earlier (as opposed to the clean install described above).</p>



<p>For upgrading to Win11 22H2 from an earlier version, <a rel="noreferrer noopener" href="https://jensd.be/1860/windows/upgrade-to-windows-11-22h2-on-unsupported-hardware" target="_blank">https://jensd.be/1860/windows/upgrade-to-windows-11-22h2-on-unsupported-hardware</a> should be useful.</p>
]]></content:encoded>
					
		
		
		<friends:post-format>standard</friends:post-format>
<post-id xmlns="com-wordpress:feed-additions:1">9915</post-id>	</item>
	</channel>
</rss>
