{"id":120,"date":"2019-12-19T10:32:54","date_gmt":"2019-12-19T09:32:54","guid":{"rendered":"https:\/\/www.bsdpro.se\/?p=120"},"modified":"2019-12-19T11:47:22","modified_gmt":"2019-12-19T10:47:22","slug":"fix-remove-appxprovisionedpackage-error","status":"publish","type":"post","link":"https:\/\/www.bsdpro.se\/?p=120","title":{"rendered":"Fix Remove-AppxProvisionedPackage error"},"content":{"rendered":"\n<p>Remove-AppxProvisionedPackage : The system cannot find the path specified.<br>Does this look familiar? This might help fix that error for you!<\/p>\n\n\n\n<p>It could be a mismatch somewhere that makes that command to fail.<br>Instead check what packages dism.exe reports is installed, we use YourPhone as example here:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">DISM.exe \/online \/Get-ProvisionedAppxPackages<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"516\" height=\"91\" src=\"https:\/\/www.bsdpro.se\/wp-content\/uploads\/2019\/12\/yourphone.png\" alt=\"\" class=\"wp-image-129\" srcset=\"https:\/\/www.bsdpro.se\/wp-content\/uploads\/2019\/12\/yourphone.png 516w, https:\/\/www.bsdpro.se\/wp-content\/uploads\/2019\/12\/yourphone-300x53.png 300w, https:\/\/www.bsdpro.se\/wp-content\/uploads\/2019\/12\/yourphone-500x88.png 500w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/figure>\n\n\n\n<p>Now look at the PackageName reported by dism, then start File Explorer and go to &#8220;C:\\Program Files\\WindowsApps&#8221;. Here you might see a folder called Microsoft.YourPhone_2019.1126.308.0_neutral_~_8wekyb3d8bbwe which is in fact the version installed on your system, to remove it, run:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">DISM.exe \/online \/Remove-ProvisionedAppxPackage \/PackageName:Microsoft.YourPhone_2019.1126.308.0_neutral_~_8wekyb3d8bbwe<\/pre>\n\n\n\n<p>And that&#8217;s it, you have successfully removed YourPhone from your computer.<br><br><strong>NOTE: <\/strong>If you do not find the app you&#8217;re looking for under &#8220;C:\\Program Files\\WindowsApps&#8221;, then it isn&#8217;t installed and you have a stale entry somewhere. I do not know how to remove the stale entry that dism reports though, I&#8217;ll update if I manage find to out.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Remove-AppxProvisionedPackage : The system cannot find the path specified.Does this look familiar? This might help fix that error for you! It could be a mismatch somewhere that makes that command to fail.Instead check what packages dism.exe reports is installed, we &hellip; <a href=\"https:\/\/www.bsdpro.se\/?p=120\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-120","post","type-post","status-publish","format-standard","hentry","category-windows10"],"_links":{"self":[{"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/posts\/120","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=120"}],"version-history":[{"count":7,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/posts\/120\/revisions"}],"predecessor-version":[{"id":152,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=\/wp\/v2\/posts\/120\/revisions\/152"}],"wp:attachment":[{"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=120"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=120"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bsdpro.se\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=120"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}