question

srfpala avatar image
1 Vote"
srfpala asked srfpala commented

Uninstall Windows App SDK

Using Win10
Attempting to follow Castorix31 advice and
Following https://docs.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
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @srfpala , Any updates?

0 Votes 0 ·
XiaopoYang-MSFT avatar image
0 Votes"
XiaopoYang-MSFT answered XiaopoYang-MSFT edited

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
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

!No Progress on this Question
I think I'm running Powershell as the administrator.

See image below

200630-image.png



Hope you can read the above image. If so please comment
if not let me know
Bob

0 Votes 0 ·
image.png (42.7 KiB)

Use Get-appxpackage -Name f643046f-........0ad59 to get PackageFullName and remove-appxpackage -Package PackageFullName.
As the error message said, Removing all packages that depend on the framework automatically removes the framework.

0 Votes 0 ·
srfpala avatar image
0 Votes"
srfpala answered

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

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

srfpala avatar image
0 Votes"
srfpala answered srfpala commented

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 ?

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Try to run as administrator.
According to Downloads for the Windows App SDK, Unpackaged or sparse-packaged apps that use the Windows App SDK can use the standalone .exe Runtime installer or MSIX packages to deploy the Windows App SDK package dependencies with their app.

0 Votes 0 ·
srfpala avatar image srfpala XiaopoYang-MSFT ·

Thank you .
ControlPanel | User Accounts | User Accounts
displays the user as
srfpala@xxxxx.com
Administrator
Password protected


So I think I am logged in as Administrator
Your thoughts ?
Bob

0 Votes 0 ·