![The referenced assembly could not be found 0x80073701](https://cdn2.cdnme.se/5447227/9-3/screenshot_1_64e629469606ee7f889a24a7.jpg)
![the referenced assembly could not be found 0x80073701 the referenced assembly could not be found 0x80073701](https://andyparkes.co.uk/blog/wp-content/uploads/2019/02/image.png)
I assume that this error was caused by an aborted uninstallation of one of the language packs. After running this script I was able to remove the Windows Hyper-V feature with no problems. Hopefully this helps someone else avoid a reinstallation. I went through a lot of iterative testing to make sure that I targeted the proper values. It’s pretty simple, but was frustrating because of the need to get the. (Get-ItemProperty -Path $key.PSPath).psobject.properties |where-object | Remove-ItemProperty -path $key.PSPath
![the referenced assembly could not be found 0x80073701 the referenced assembly could not be found 0x80073701](https://1.bp.blogspot.com/-SCVt8SliZVs/Wtqiiipa9-I/AAAAAAAARz4/iFc0oBc2AhECCG_UIZ-TCpj96pGA0qSBQCLcBGAs/s1600/Problem6.png)
$keys = Get-ChildItem -Path "hklm:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageDetect" In my case it was a German edition, so we’re searching for the string ‘~de-DE~’ below: $string = "*~de-DE~*" I really needed to resolve this, so I spent an hour writing a PowerShell script to run through each subkey value and remove the one’s that referenced a missing language pack. Just one of the 7600 registry values that need to be filtered. There are lots of them, literally thousands.
![the referenced assembly could not be found 0x80073701 the referenced assembly could not be found 0x80073701](https://i.stack.imgur.com/MyfiR.png)
The long fix starts with uninstalling language packs using the lpksetup tool and then manually removing references to any missing packs under the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\PackageDetectregistry subkeys. Now the original post recommends reinstalling the OS, which is a huge non-starter for me in an environment with a single file/AD server.
![the referenced assembly could not be found 0x80073701 the referenced assembly could not be found 0x80073701](https://www.uscfr.com/wp-content/uploads/2022/11/why-is-the-referenced-assembly-could-not-be-found2.jpg)
This post gave me hint I needed to figure out the root cause, some missing language packs. I ran into the above error on a Dell Server 2016 machine when trying to uninstall Windows components (Hyper-V in this case). My day to day involves a good deal of sysadmin work, mostly Windows networks for small business customers.
![The referenced assembly could not be found 0x80073701](https://cdn2.cdnme.se/5447227/9-3/screenshot_1_64e629469606ee7f889a24a7.jpg)