{"id":10686,"date":"2025-03-25T05:00:49","date_gmt":"2025-03-25T05:00:49","guid":{"rendered":"https:\/\/cheapwindowsvps.com\/blog\/how-to-fix-the-the-referenced-assembly-could-not-be-found-error-0x80073701-on-windows\/"},"modified":"2025-03-25T05:00:49","modified_gmt":"2025-03-25T05:00:49","slug":"how-to-fix-the-the-referenced-assembly-could-not-be-found-error-0x80073701-on-windows","status":"publish","type":"post","link":"https:\/\/cheapwindowsvps.com\/blog\/how-to-fix-the-the-referenced-assembly-could-not-be-found-error-0x80073701-on-windows\/","title":{"rendered":"How to Fix the &#8220;The Referenced Assembly Could Not Be Found&#8221; Error (0x80073701) on Windows"},"content":{"rendered":"<p>When working with Windows Server or Windows 10\/11, you may encounter the error:<\/p>\n<pre><code>The referenced assembly could not be found. Error: 0x80073701.<\/code><\/pre>\n<p>This issue typically arises when adding or removing features or roles. A similar error may also appear when trying to enable optional features via PowerShell, such as the Windows Subsystem for Linux (WSL):<\/p>\n<pre><code class=\"language-powershell\">Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux<\/code><\/pre>\n<p>This error indicates that the necessary source files for the specified component are either missing or corrupt in the Windows installation image.<\/p>\n<p>To troubleshoot, first check for any updates that may require a reboot by running:<\/p>\n<pre><code class=\"language-powershell\">dism \/online \/get-packages \/format:table | Select-String &quot;Pending&quot;<\/code><\/pre>\n<p>Reboot the system if updates are pending. If issues persist and certain packages remain in a Pending Reboot state after multiple reboots, you can rename the <code>C:WindowsWinsxsPending.xml<\/code> file to <code>Pending.xml.old<\/code> and restart the server.<\/p>\n<p>Subsequently, use DISM to check the integrity of the Windows image:<\/p>\n<pre><code class=\"language-powershell\">DISM \/Online \/Cleanup-Image \/CheckHealth<\/code><\/pre>\n<p>If it indicates that the component store is repairable, proceed with:<\/p>\n<pre><code class=\"language-powershell\">DISM \/Online \/Cleanup-Image \/RestoreHealth<\/code><\/pre>\n<p>Next, verify the integrity of the system files by running:<\/p>\n<pre><code class=\"language-powershell\">sfc \/scannow<\/code><\/pre>\n<p>If Windows features are still unserviceable post-repairing system files, consult the <code>%windir%LogsCBSCBS.log<\/code> for errors.<\/p>\n<p>The CBS log could reveal messages indicating missing files from a specific update, like <code>KB5012170<\/code>. If this is the case, manually download and install the update from the Microsoft Update Catalog. If the update can&#8217;t be installed directly, you can extract the contents of the MSU file and manually add the CAB package to the Windows image:<\/p>\n<pre><code class=\"language-powershell\">expand -f:* windows10.0-kb5012170-x64 c:tempDISM.exe \/Online \/Add-Package \/PackagePath:c:TempWindows10.0-KB5012170-x64.cab<\/code><\/pre>\n<p>If the update is not applicable to your Windows version, you might need to configure Windows to ignore the corrupted package. Note, these steps are risky and should be approached with caution:<\/p>\n<ol>\n<li>Navigate to <code>HKLMSOFTWAREMicrosoftWindowsCurrentVersionComponent Based Servicing<\/code> in the registry.<\/li>\n<li>Change the ownership of this registry key to your account and grant full control.<\/li>\n<li>Find the listed update package and set the <strong>CurrentState<\/strong> value to 0, indicating it is not present.<\/li>\n<li>Restore original permissions for security and restart your computer.<\/li>\n<\/ol>\n<p>Afterwards, check if you can install Windows features without issues. If multiple KB packages show <code>ERROR_SXS_ASSEMBLY_MISSING<\/code>, repeat the process for each.<\/p>\n<p>As a last resort, consider performing an in-place upgrade, using an installation ISO compatible with your current build. Execute <code>setup.exe<\/code> from the ISO and choose the option to keep personal files and apps.<\/p>\n<p>For further assistance, refer to the following links:<\/p>\n<ul>\n<li><a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/woshub.com\/dism-cleanup-image-restorehealth\/\">DISM Command for Windows Imaging<\/a><\/li>\n<li><a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/woshub.com\/download-install-windows-updates-manually\/\">Manually Download Windows Updates<\/a><\/li>\n<li><a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/woshub.com\/system-restore-points-windows\/\">Registry Backup Tips<\/a><\/li>\n<li><a target=\"_blank\" rel=\"nofollow noopener\" href=\"https:\/\/woshub.com\/upgrade-windows-10-build-setup-exe-cmd\/\">Upgrade Windows Description<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>When working with Windows Server or Windows 10\/11, you may encounter the error: The referenced assembly could not be found. Error: 0x80073701. This issue typically arises when adding or removing features or roles. A similar error may also appear when trying to enable optional features via PowerShell, such as the Windows Subsystem for Linux (WSL): [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":10687,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[99,108],"tags":[],"class_list":["post-10686","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows-11","category-windows-server-2022"],"_links":{"self":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/10686","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/comments?post=10686"}],"version-history":[{"count":0,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/10686\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media\/10687"}],"wp:attachment":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media?parent=10686"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/categories?post=10686"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/tags?post=10686"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}