Get-AppxPackage -allusers *<packageName>* | Remove-AppxPackage
Type regedit then hit Enter.
Go to the follow Registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\
Create a new key inside the Windows key. Right-click the Windows key and choose New > Hit Key. Name the new key CloudContent.
Create a new value inside that new key. Right-click the CloudContent key and select New > Select DWORD (32-bit) Value. Name the new value DisableWindowsConsumerFeatures.
Double-click the new DisableWindowsConsumerFeatures value to open its properties window. Change the value from 0 to 1 in the Value data box and then click OK.
Restart your computer.