{"id":252,"date":"2021-11-22T12:45:00","date_gmt":"2021-11-22T12:45:00","guid":{"rendered":"https:\/\/virtuallyanything.net\/?p=252"},"modified":"2021-12-28T12:55:24","modified_gmt":"2021-12-28T12:55:24","slug":"quick-tip-how-to-reinstall-windows-10-calculator-after-vmware-osot","status":"publish","type":"post","link":"https:\/\/virtuallyanything.net\/index.php\/2021\/11\/22\/quick-tip-how-to-reinstall-windows-10-calculator-after-vmware-osot\/","title":{"rendered":"Quick-Tip: How to reinstall Windows 10 Calculator after VMware OSOT"},"content":{"rendered":"\n<p>Couple weeks ago I faced an issue with a client where many users from a Horizon dedicated pool were complaining about not being able to open the <strong>Calculator <\/strong>in Windows 10.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"393\" height=\"207\" src=\"https:\/\/virtuallyanything.net\/wp-content\/uploads\/2021\/12\/82082af1-97a0-461f-8fa5-e28e0f1ead74-1.png\" alt=\"\" class=\"wp-image-256\" srcset=\"https:\/\/virtuallyanything.net\/wp-content\/uploads\/2021\/12\/82082af1-97a0-461f-8fa5-e28e0f1ead74-1.png 393w, https:\/\/virtuallyanything.net\/wp-content\/uploads\/2021\/12\/82082af1-97a0-461f-8fa5-e28e0f1ead74-1-300x158.png 300w\" sizes=\"(max-width: 393px) 100vw, 393px\" \/><\/figure><\/div>\n\n\n\n<p>Well, that&#8217;s simple right? <strong>VMware OSOT<\/strong> removed it during the optimization process as it wasn&#8217;t selected as a exception. It should be easy reinstalling, if you ever worked with Appx Packages in Windows 10 you know that&#8217;s not true. \ud83d\ude42<\/p>\n\n\n\n<p>I knew a couple solutions, like reinstalling from the Microsoft Store, using PowerShell with AppxPackage and AppxProvisionedPackage commands, even with DISM. No luck.<\/p>\n\n\n\n<p>I google it and couldn&#8217;t find any solution that works for me in that case. After validating many things and doing some tests, I found a solution. As I didn&#8217;t find that around, have made this post.<\/p>\n\n\n\n<p>What happened was the Appx installation files and its dependencies were not present on that desktop anymore. Needing to be registered again and them reinstalled, also some permissions required to do that.<\/p>\n\n\n\n<p>First of all you gonna need a brand new Windows 10, it is better at the same patch level as your problematic desktop, however it works with newer versions.<\/p>\n\n\n\n<ol><li>Navigate to C:\\Program Files\\ and take the ownership of <span style=\"text-decoration: underline;\">WindowsApps<\/span> folder (C:\\Program Files\\WindowsApps), with an administrative account.<\/li><li>On that WindowsApps folder add the permission &#8220;Full Control&#8221; to the group &#8220;All Application Packages&#8221;, also select &#8220;Replace all Child Objects&#8221;.<\/li><li>Copy the following sub-folders from WindowsApps. The versions might be different as it depends on windows update and patch level.<ul><li><em>Microsoft.WindowsCalculator_10.1812.10048.0_x64__8wekyb3d8bbwe<\/em><\/li><li><em>Microsoft.WindowsCalculator_10.1812.10048.0_neutral_split.scale-100_8wekyb3d8bbwe<\/em><\/li><li><em>Microsoft.UI.Xaml.2.0_2.1810.18004.0_x64__8wekyb3d8bbwe<\/em><\/li><li><em>Microsoft.VCLibs.140.00_14.0.29231.0_x64__8wekyb3d8bbwe<\/em><\/li><\/ul><\/li><li>Reinstall the dependencies, with the following commands:<ul><li>Add-AppxPackage -register<em>\u00a0&#8220;C:\\Program Files\\WindowsApps\\Microsoft.VCLibs.140.00_14.0.29231.0_x64__8wekyb3d8bbwe\\AppxManifest.xml&#8221;<\/em>\u00a0-DisableDevelopmentMode<\/li><li>Add-AppxPackage -register\u00a0<em>&#8220;C:\\Program Files\\WindowsApps\\Microsoft.UI.Xaml.2.0_2.1810.18004.0_x64__8wekyb3d8bbwe\\AppxManifest.xml<\/em>&#8221; -DisableDevelopmentMode<\/li><\/ul><\/li><li>Reinstall the application, with the following commands:<ul><li>Add-AppxPackage -register\u00a0<em>&#8220;C:\\Program Files\\WindowsApps\\Microsoft.WindowsCalculator_10.1812.10048.0_x64__8wekyb3d8bbwe\\AppxManifest.xml&#8221;<\/em>\u00a0-DisableDevelopmentMode<\/li><li>Add-AppxPackage -register\u00a0<em>&#8220;C:\\Program Files\\WindowsApps\\Microsoft.WindowsCalculator_10.1812.10048.0_neutral_split.scale-100_8wekyb3d8bbwe\\AppxManifest.xml&#8221;\u00a0<\/em>-DisableDevelopmentMode<\/li><\/ul><\/li><\/ol>\n\n\n\n<p>Try to open the calculator app again, it should work. <\/p>\n\n\n\n<p>That&#8217;s it. \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Couple weeks ago I faced an issue with a client where many users from a Horizon dedicated pool were complaining about not being able to&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/virtuallyanything.net\/index.php\/2021\/11\/22\/quick-tip-how-to-reinstall-windows-10-calculator-after-vmware-osot\/\">Continue reading<span class=\"screen-reader-text\">Quick-Tip: How to reinstall Windows 10 Calculator after VMware OSOT<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[14],"tags":[12],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/virtuallyanything.net\/index.php\/wp-json\/wp\/v2\/posts\/252"}],"collection":[{"href":"https:\/\/virtuallyanything.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/virtuallyanything.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/virtuallyanything.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/virtuallyanything.net\/index.php\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":5,"href":"https:\/\/virtuallyanything.net\/index.php\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"predecessor-version":[{"id":260,"href":"https:\/\/virtuallyanything.net\/index.php\/wp-json\/wp\/v2\/posts\/252\/revisions\/260"}],"wp:attachment":[{"href":"https:\/\/virtuallyanything.net\/index.php\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/virtuallyanything.net\/index.php\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/virtuallyanything.net\/index.php\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}