add-appxpackage : Deployment failed with HRESULT: 0x80073D0A

Anonymous
2023-11-09T22:56:11+00:00

add-appxpackage : Deployment failed with HRESULT: 0x80073D0A, The package could not be installed because the Windows

Firewall service is not running. Enable the Windows Firewall service and try again.

error 0x80073D0A: Failed to install package NVIDIACorp.NVIDIAControlPanel_8.1.964.0_x64__56jybvy8sckqj because the firewall service is not running. Ensure that the firewall service is enabled and started. NOTE: For additional information, look for [ActivityId] 0edf1e6f-135c-0001-6a34-df0e5c13da01 in the Event Log or use the command line Get-AppPackageLog -ActivityID 0edf1e6f-135c-0001-6a34-df0e5c13da01 At line:1 char:1 + add-appxpackage -path D:\Users\Shine\Desktop\NVIDIACorp.NVIDIAControl ...

  • 
        + CategoryInfo          : NotSpecified: (D:\Users\Shine\...ybvy8sckqj.Appx:String) [Add-AppxPackage], Exception 
    
        + FullyQualifiedErrorId : DeploymentError,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackageCommand
    
    

after this error I tried to enable firewall service by "Get-Service mpssvc | Set-Service -StartMode Automatic -PassThru | Start-Service"

but I get another error:

Set-Service : Service 'Windows Defender Firewall (mpssvc)' cannot be configured due to the following error: Access is

denied

At line:1 char:22

  • ... t-Service mpssvc | Set-Service -StartMode Automatic -PassThru | Start ...
  •                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    
    • CategoryInfo : PermissionDenied: (System.ServiceProcess.ServiceController:ServiceController) [Set-Servi
    ce], ServiceCommandException
    • FullyQualifiedErrorId : CouldNotSetService,Microsoft.PowerShell.Commands.SetServiceCommand

Can someone help me with this?

Windows for home | Windows 10 | 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

1 answer

Sort by: Most helpful
  1. Ramesh 184.3K Reputation points Volunteer Moderator
    2023-11-10T04:12:09+00:00

    From admin Command Prompt, please run:

    • sc.exe qc mpssvc & sc.exe query mpssvc
    • net start mpssvc

    Also, let me know if you have a third-party firewall product installed.

    Was this answer helpful?

    0 comments No comments