[SOLVED] Remove Cortana using PowerShell Error?

Status
Not open for further replies.

TrigMan59

Prominent
Sep 19, 2021
4
0
510
Hi Folks,

I'm trying to remove Cortana from my Windows 10 using PowerShell, Version 5.1 with the command: Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage

i keep getting the following error message:

Get-AppxPackage : Access is denied.
Access is denied.
At line:1 char:1
  • Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackag ...
  • ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: :)) [Get-AppxPackage], UnauthorizedAccessException
+ FullyQualifiedErrorId : System.UnauthorizedAccessException,Microsoft.Windows.Appx.PackageManager.Commands.GetApp
xPackageCommand

Does anyone have a solution to get past this Access Denied error and remove Cortana? Please let me know, thanks.

Roher
 
Status
Not open for further replies.