Share via

My Firewall and Microsoft Store on Windows 11 is so broken, 0x8007045B 0x80073D02, no paint or caculator or notepad app, can't install any apps from the store or use winget

Anonymous
Feb 3, 2023, 3:46 PM

Version: 22H2 Build 22621.1105 It was upgraded from Windows 10.

MS Store version: 22212.1401.5.0

Windows Paint and Caculator and notepad has shortcuts in the start menu, however in the Apps->installed app, search them yield no results.

Tring to install Windows Paint in the store, after it finished downloading, it will always fail saying Code: 0x8007045B

Checked Windows Caculator and it is saying update, still stuck on doing update since I last time tried to install it.

The error code here is Code: 0x80073D02

Tried to install a package through winget and it reported error 0x8007045B

Trouble shooting:

Time and date is synced.

Tried to sign out of MS Store and reboot.

Tried to run wsreset.exe, it opens MS Store and I have already signed in again. Here I dont think it is working as supposed, if I have signed out, and do wsreset, should I still have the status of signed out?

Tried to run

Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

in PS as admin, error:

...

Add-AppxPackage : A positional parameter cannot be found that accepts argument '\AppXManifest.xml'.

At line:1 char:28

  • ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register $($_.In ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    
    • CategoryInfo : InvalidArgument: (:) [Add-AppxPackage], ParameterBindingException
    • FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackag
    eCommand

Try to run winget upgrade

Failed in attempting to update the source: winget

Failed when searching source; results will not be included: winget

winget source reset --force

Resetting all sources...Done

Windows for home | Windows 11 | Microsoft Store

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Accepted answer
  1. Anonymous
    Mar 11, 2023, 1:14 AM

    Working Fix/Solution :

    According to https://www.windows11forums.com/threads/windows-11-defender-firewall-will-not-load.355/

    The cause of the broken firewall (and broken Microsoft Store due to the firewall is broken) is because the value of this specific key is corrupted:

    Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mpssvc\Parameters\AppCs

    Key DebugedLoopbackApps

    It could be corrupted while in Windows 10 before the upgrade to 11. Or corrupted as 11.

    The reason why it is broken is unclear, but it seems upgrade from windows 10 to 11 is a possible cause.

    The fix:

    to fix this key, a normal user has no permssion to edit this key.

    And it seems the normal user can not take ownership of the key either.

    The easy solution is to use psexec/psexec64 from system internal suite.

    Download that.

    Open cmd as admin, run this :

    psexec64.exe -s -i cmd.exe then run regedit.exe

    or just

    psexec64.exe -s -i regedit.exe

    Navigate to the key, right click on AppCs folder, select permission,

    change SYSTEM user's permission to Full Controll.

    Delete the key DebugedLoopbackApps , then recreate it without setting value.

    Reboot the system.

    Then the firewall should have been back to business.

    MS Store should also be happy now.

    Your Paint, Caculator, Notepad etc should have also been good for running or install or upgrade.

    Things we learnt:

    The Windows team for win 10/11 is now only doing damage to the existing system.

    The Microsoft Store is so bad. It depends on the firewall to function. And your built in apps depending on the MS Store to function.

    In another thought,

    DO NOT MOVE YOUR CMD.EXE to Microsoft Store, as doing that might leave no room to fix the issue.

    I thought I need a local account password in the process. Tried to set local account password,

    Reset your Windows local account password

    click that link in the new settings program, it only opens a search result with

    how to set local account password site:microsoft.com

    what a joke are you doing.

    And when the user as a PIN as sign in, in the settings program or somewhere it says you shall click PIN sign in issue on the sign in screen to create local account password, but there's just no PIN sign in issue to be clicked on the sign in screen.

    The new settings program: super slow and fail a lot.

    The PIN sign in part: very confusion and does not work with the old password idea.

    Force the user to use live account instead of local password: same as above.

    Microsoft Store: Dont like it at all, winget is a great thing though.

    Moved paint, caculator, notepad etc to MS Store: not good idea, they wont work when MS Store or firewall is broken..

    The MS Store needs to depending on the firewall to functional: Not good idea. .

    By the way, in the new settings program, when I click Accounts -sign in options, it usually takes like minutes, several minutes to response. What a thing.

    I just want to say I spent five hours with a completely borked W11 upgrade before finding this post. This fixed my problem in it's entirety. I ran across many waylaid travelers that sound like they're having this exact issue and have no idea what's causing it, all of which gave up. This is the only place I found a working fix. I chased the initial problem down through CPU utilization which gave me a hunch to google windows 11 firewall and the 0x errors that randomly pop up on all programs and anything I tried to do. I can only imagine how many people had to do fresh installs from this, as the symptoms are so absolutely random and unrelated. Some people even mentioned that repair installations/reinstalling didn't even fix it.

    This is absolutely absurd and I tried literally everything. I'm currently covered in the blood from a goat I sacrificed and have a alter to bill gates... he still didn't reply. Trash firewall that literally went berserk.

    46 people found this answer helpful.
    0 comments No comments

23 additional answers

Sort by: Most helpful
  1. Lester Bernard Reyes 51,875 Reputation points Independent Advisor
    Feb 3, 2023, 4:20 PM

    Hi and thanks for reaching out. My name is Bernard a Windows fan like you. I'll be happy to help you out today.

    I understand the issue you have, there is nothing to worry I am here to help since you have done basic troubleshooting steps and still having an issue, I suggest doing an in-place upgrade wherein it will upgrade the device to the latest version and repair all issues without deleting any files.

    Kindly follow the steps from this link:

    https://answers.microsoft.com/en-us/windows/for...

    Let me know how it goes and I hope that helps.

    Bernard

    0 comments No comments
  2. Anonymous
    Feb 3, 2023, 4:29 PM

    Seems like a common issue and a lot of users got this error, especially users upgraded from Windows 10 to 11.

    Ref https://www.windows11forums.com/threads/windows-11-defender-firewall-will-not-load.355/

    The other user's story

    ==============

    While I'm glad to find out others have had the exact same issue, it's very frustrating that there's so few mentions of it everywhere I've searched. Something that worries me though (but may be purely coincidence) I also have an ASUS board. ROG STRIX B365-G*.Just to confirm it's the exact same issue: Upgraded from Windows 10 to 11 and everything was fine on the first boot. Next boot

    • Settings > Windows Security > any setting produces error "You'll need a new app to open this windows defender link"(A repair reinstall or Win 11 followed by running Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage fixed this)
    • Could access the settings now, but I still couldn't turn firewall on. "Windows Defender Firewall can't change some of your settings"
    • System Event Log reports "The Windows Defender Firewall service terminated with the following service-specific error: The parameter is incorrect." Event 7024
    • Windows Defender Firewall Service continually toggling between "Running" and "Starting". The services/drivers it depends upon like "Windows Defender Firewall Authorization Driver" are all ok though.
    • The usual DISM and SFC fixes did nothing, but a repair reinstall of Windows 11 either from the ISO (tested 3 times both with and without Check for Updates selected) or from the online Installation Assistant (tested once) had the same result: Firewall after the upgrade, but broken after a reboot.

    Eventually I gave up and disabled Defender Firewall in the registry and installed Avast One Free so at least I had a firewall and things like Steam Link etc would work.(But then a secondary issue of the Start Button breaking every time Windows Update ran and being unable to install Windows Terminal and other apps from the Microsoft Store. When I traced this back to the the firewall in an error state incorrectly reporting that the system was shutting down and the Store would immediately stop downloading/installing... I gave up.)So I'm back on Windows 10. *Just to check if it was hardware related though I took an image on Windows 11 before I blew it away and opened in Hyper-V and was still getting the exact same issues. Maybe next I'll open an image of my Win 10 in Hyper-V and perform and upgrade there and see what happens but I've spent so much time on this already.. It's a shame because apart from the firewall and Start button issues the rest of Windows 11 ran great on my hardware.

    ==============

    Mine system:

    • Microsoft Defender Firewall is using settings that may make your device unsafe. Click Restore settings button, agree to UAC, but it does not do anyting, does not fix the firewall issue. Click Restore firewalls to default link on the bottom, click use recommended settings, reports 0x8007045B error**.**
    • System Event Log reports "The Windows Defender Firewall service terminated with the following service-specific error: The parameter is incorrect." Event 7024
    • Windows Defender Firewall Service continually toggling between "Running" and "Starting". The services/drivers it depends upon like "Windows Defender Firewall Authorization Driver" are all ok though.
    0 comments No comments
  3. Anonymous
    Feb 3, 2023, 4:05 PM

    Tried to repair MS Store with

    Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

    Result:

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.

    error 0x800706D9: While processing the request, the system failed to register the windows.firewall extension due to the following

    error: There are no more endpoints available from the endpoint mapper.

    .

    NOTE: For additional information, look for [ActivityId] a93aa371-377a-0005-39f7-79a97a37d901 in the Event Log or use the command

    line Get-AppPackageLog -ActivityID a93aa371-377a-0005-39f7-79a97a37d901

    At line:1 char:28

    • ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
    •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
      
      • CategoryInfo : WriteError: (C:\Windows\Syst...ppXManifest.xml:String) [Add-AppxPackage], IOException
      • FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    Add-AppxPackage : Deployment failed with HRESULT: 0x80073CF6, Package could not be registered.

    error 0x800706D9: While processing the request, the system failed to register the windows.firewall extension due to the following

    error: There are no more endpoints available from the endpoint mapper.

    .

    NOTE: For additional information, look for [ActivityId] a93aa371-377a-0005-cff7-79a97a37d901 in the Event Log or use the command

    line Get-AppPackageLog -ActivityID a93aa371-377a-0005-cff7-79a97a37d901

    At line:1 char:28

    • ... | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.I ...
    •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
      
      • CategoryInfo : WriteError: (C:\Program File...ppXManifest.xml:String) [Add-AppxPackage], IOException
      • FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand

    So it says something about firewall .

    Check my firewall it says

    Microsoft Defender Firewall is using settings that may make your device unsafe.

    Click Restore settings, agree to UAC, but it does not do anyting, does not fix the firewall issue.

    0 comments No comments
  4. Anonymous
    Feb 3, 2023, 4:09 PM

    Reference https://answers.microsoft.com/en-us/windows/forum/all/any-microsoft-store-app-fails-to-install/e0fd883f-a753-4e57-b39a-344c5173aa5e

    https://answers.microsoft.com/en-us/windows/forum/all/how-to-reinstall-microsoft-store/c86a6fda-73cb-4353-ad0f-3d2ec3605ceb https://www.wintips.org/fix-error-0x80073d02-in-microsoft-store-and-windows-10/ Tried

    Get-AppxPackage *windowsstore* | Remove-AppxPackage

    I was able to remove MS Store.

    Following that tried

    Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_22210.1401.16.0_x64__8wekyb3d8bbwe\appxmanifest.xml"}

    Reports app not found.

    Firewall is off=> https://answers.microsoft.com/en-us/windows/forum/all/windows-defender-firewall-is-using-settings-that/914decb4-fbd9-451a-adfb-86e80adc1715

    While looking at the computer logs, system, it is full or errors about firewall.

    The Windows Defender Firewall service terminated with the following service-specific error:

    The parameter is incorrect.

    • <Event xmlns="**http://schemas.microsoft.com/win/2004/08/events/event**">
    • <System> <Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" /><EventID Qualifiers="49152">7024</EventID><Version>0</Version><Level>2</Level><Task>0</Task><Opcode>0</Opcode><Keywords>0x8080000000000000</Keywords><TimeCreated SystemTime="2023-02-03T03:51:08.9332757Z" /><EventRecordID>9590912</EventRecordID><Correlation /><Execution ProcessID="1432" ThreadID="18260" /><Channel>System</Channel><Computer>Desk-C</Computer><Security /></System>
    • <EventData> <Data Name="param1">Windows Defender Firewall</Data><Data Name="param2">%%87</Data><Binary>6D00700073007300760063000000</Binary></EventData> </Event>

    So the param2 is incorrect and the firewall service is restarting like every 15~20 seconds.

    So how to fix the firewall then ?

    0 comments No comments