1. PowerShell (Admin)
2. cd c:\program files\windowsapps
3. Search for something like “Microsoft.MicrosoftFeedback_*”
4. Change into this “Microsoft.MicrosoftFeedback_*”\AppxMetadata
5. Run “Add-AppxPackage -DisableDevelopmentMode -Register AppxBundleManifest.xml
thanks, but it didn’t work for me. first, 2 typos in the script:
1. have to enclose c:\program files\windowsapps in double-quotes due to the space between “program” and “files”.
2. need a space between “Disable” and “DevelopmentMode” in “-DisableDevelopmentMode”.
once I fixed those, when I tried to run “Add-AppxPackage -Disable DevelopmentMode -Register AppxBundleManifest.xml”, I got error:
Add-AppxPackage : A positional parameter cannot be found that accepts argument ‘AppxBundleManifest.xml’.
At line:1 char:1
+ add-appxpackage -disable developementmode -register AppxBundleManifes …
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Add-AppxPackage], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.Windows.Appx.PackageManager.Commands.AddAppxPackag
eCommand
please advise.
thanks again,
Paul
Hi according to the PowerShell Help (“Get-Help Add-AppxPackage -Full”) there should not be a space in the parameter “DisableDevelopmentMode”.
-DisableDevelopmentMode
Required? false
Position? Named
Accept pipeline input? false
Parameter set name RegisterSet
Aliases None
Dynamic? false