Uninstall Windows App SDK

srfpala 111 Reputation points
2022-04-17T23:26:07.127+00:00

Using Win10
Attempting to follow Castorix31 advice and
Following https://learn.microsoft.com/en-us/windows/apps/windows-app-sdk/remove-windows-app-sdk-versions
I am trying to completely uninstall Microsoft.WindowsAppSDK.1.0-experimental1 so that I can install
a clean copy current version (1.01).
However the remove-appspackage failed as shown below.
What should I do ?

PS C:\> remove-appxpackage -Package Microsoft.WindowsAppSDK.1.0-experimental1_0.218.840.0_x86__8wekyb3d8bbwe
remove-appxpackage : Deployment failed with HRESULT: 0x80073D23, The deployment operation was blocked because Special
profile deployment is not allowed. Please try logging into an account that is not a Special profile. You can try
logging out and logging back into the current account, or try logging into a different account.
The package deployment operation is blocked by the "Allow deployment operations in special profiles" policy.
NOTE: For additional information, look for [ActivityId] 06830f6f-5125-0001-9055-8e062551d801 in the Event Log or use
the command line Get-AppPackageLog -ActivityID 06830f6f-5125-0001-9055-8e062551d801
At line:1 char:1

  • remove-appxpackage -Package Microsoft.WindowsAppSDK.1.0-experimental1 ...
Windows App SDK
Windows App SDK
A set of Microsoft open-source libraries, frameworks, components, and tools to be used in apps to access Windows platform functionality on many versions of Windows. Previously known as Project Reunion.
438 questions
1 vote

3 answers

Sort by: Most helpful
  1. Xiaopo Yang - MSFT 5,851 Reputation points Microsoft Employee
    2022-04-18T02:04:21.733+00:00

    Hello,

    Welcome to Microsoft Q&A!

    It‘s a normal fail which is not dedicated to WindowsAppSDK. As the error message showed, You can try logging out and logging back into the current account, or try logging into a different account. You may need to run PowerShell as Administrator or/and change the PowerShell execution policies for Windows computers.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. srfpala 111 Reputation points
    2022-05-11T17:55:59.35+00:00

    remove-appxpackage -Package f643046f-2567-426f-8afa-46d3c9d0ad59_1.0.0.0_x86__z5wbre804n17g

    Seems to have worked since PS reports

    remove-appxpackage : Deployment failed with HRESULT: 0x80073CF1, Package was not found.
    because the current user does not have that package installed

    No comments

  3. srfpala 111 Reputation points
    2022-05-11T23:28:05.637+00:00

    So I think I removed the Windows app SDK Experimental
    "
    I follow "The standalone .exe installer, WindowsAppRuntimeInstall.exe, is available as a separate download beginning with Windows App SDK 1.0.1. It installs the Windows App SDK Runtime which includes the Framework, Main, Singleton and DDLM packages."

    No guidance on which tool to install first. ( the Runtime install or the Cs Extension.)

    So I’ll try the WindowsAppRuntimeInstall first.
    It’s deploying a package ….. then its screen went away .
    So I’ll try again I see three access is denied PS Statements before the screen disappears.
    What should I do ?