Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Tuesday, December 15, 2015 8:53 AM | 1 vote
Hi,
I want to uninstall Built-in app in windows 10. Eg: Get-Office, Get-Skype
Uninstall Get Office:
Get-AppxPackage *officehub* | Remove-AppxPackage
If I use the above command, it is uninstalling from Current User. But i need to uninstall from alluser.
Regards, Hari Prasad.D
All replies (23)
Thursday, January 7, 2016 6:57 PM âś…Answered | 4 votes
This works for me on Windows 10:
$AppsList = "Microsoft.MicrosoftOfficeHub", # Get Office
"Microsoft.SkypeApp", # Get Skype
"microsoft.windowscommunicationsapps", # Mail & Calendar
"Microsoft.People", # People
"Microsoft.CommsPhone", # Phone
"Microsoft.WindowsPhone", # Phone Companion
"Microsoft.XboxApp", # Xbox
"Microsoft.Messaging", # Messaging & Skype
"Microsoft.MicrosoftSolitaireCollection" # Microsoft Solitaire Collection
ForEach ($App in $AppsList)
{
$Packages = Get-AppxPackage | Where-Object {$_.Name -eq $App}
if ($Packages -ne $null)
{
"Removing Appx Package: $App"
foreach ($Package in $Packages) { Remove-AppxPackage -package $Package.PackageFullName }
}
else { "Unable to find package: $App" }
$ProvisionedPackage = Get-AppxProvisionedPackage -online | Where-Object {$_.displayName -eq $App}
if ($ProvisionedPackage -ne $null)
{
"Removing Appx Provisioned Package: $App"
remove-AppxProvisionedPackage -online -packagename $ProvisionedPackage.PackageName
}
else { "Unable to find provisioned package: $App" }
}
I run the script as the built-in administrator before I join the domain.
Also, don't forget to enable the "Computer Configuration \ Administrative Templates \ Windows Components \ Cloud Content \ Turn off Microsoft consumer experiences" GPO to prevent Candy Crush, twitter, etc icons on the start menu from appearing
-Tony
Tuesday, December 15, 2015 1:37 PM | 1 vote
All the systems are under domain?
S.Sengupta, Windows Experience MVP
Tuesday, December 15, 2015 2:01 PM | 1 vote
Hello,
See if the commands mentioned here helps you:
http://www.thewindowsclub.com/erase-default-preinstalled-modern-apps-windows-8
Keep us posted, Good luck :)
Windows Troubleshooting & How to guides - http://www.kapilarya.com
Wednesday, December 16, 2015 3:43 AM
No
But it's not working on both the environment
Regards, Hari Prasad.D
Wednesday, December 16, 2015 3:45 AM | 1 vote
Above link is for to Uninstall all Built-in app
Get-AppxPackage *officehub* -Allusers | Remove-AppxPackage
I tried the above command not working.
Regards, Hari Prasad.D
Wednesday, December 16, 2015 4:40 AM
If the App is provisioned, you will need to use Remove-AppxProvisionedPackage
https://technet.microsoft.com/en-us/library/hh852635.aspx#RemoveApps
Also, consider these useful articles:
http://blogs.technet.com/b/mniehaus/archive/2015/11/23/seeing-extra-apps-turn-them-off.aspx
Don [doesn't work for MSFT, and they're probably glad about that ;]
Wednesday, December 16, 2015 6:14 AM
I tried that way. It is fully un-installing. After a new login, It is showing some Unknow ID in start menu.
But i haven't tried through Task Sequence.
i just modified in OEM and captured. I'm trying in the captured WIM
Regards, Hari Prasad.D
Thursday, December 17, 2015 10:26 AM
I tried through TS. After new user logged in It is showing a AppID name instead of AppName
Regards, Hari Prasad.D
Thursday, December 17, 2015 11:20 PM
I tried through TS. After new user logged in It is showing a AppID name instead of AppName
Regards, Hari Prasad.D
It may be necessary to Remove for current-user *AND* also for AllUsers?
refer this article and the comments:
http://ccmexec.com/2015/08/removing-built-in-apps-from-windows-10-using-powershell/
Don [doesn't work for MSFT, and they're probably glad about that ;]
Friday, December 18, 2015 2:33 AM
But i tried PS Command for All users only
Get-Appxpackage *Officehub* -Allusers | Remove-Appxpackage
Regards, Hari Prasad.D
Friday, December 18, 2015 2:47 AM
Sorry, what I meant was, try;
Remove-AppxPackage <args>
then
Remove-AppxProvisionedPackage <args>
I assume you are doing this to an online image, not an offline image?
Don [doesn't work for MSFT, and they're probably glad about that ;]
Friday, December 18, 2015 4:24 AM
I used the script in the below blog
In that script it is calling both the AppxPackage and AppxProvisionedPackage
Regards, Hari Prasad.D
Monday, December 21, 2015 2:42 AM
Hi,
As I know Remove-AppxPackage is for per-user so it not require administrator privileges, we could try to deploy a script as a logon script and add runonce key if you like.
Users might be able to uninstall these apps by themselves at their first logon.
Regards,
D. Wu
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
Monday, December 21, 2015 4:22 AM
Yes you are right. But it will run all time whenever users logon.
Regards, Hari Prasad.D
Thursday, December 24, 2015 2:12 AM
Hi,
That's why I suggest using runonce key, The "RunOnce" registry key is there to run ONCE when the system is booted if it is in the HKLM key. After it is run once when the system boots, it is removed by the OS from the registry so it will not be run again. The same behavior applies to the "RunOnce" key under HKCU except that it will be run once when that user logs in and then the OS will remove it from the registry.
the problem is that this is PowerShell command, but we should be able to use CMD to get that goal. simply search for "PowerShell command runonce", many suggestion could be found on line.
Regards,
D. Wu
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
Thursday, January 7, 2016 2:19 PM
Hi
Are you able to post this script that will run at first log on per user and uninstall the 'bloatware' that comes shipped with Win10? We're using Win 10 Edu x86 at the moment.
As above, I can run a script per user that will remove the default apps but I need to remove them for all users.
Thanks!
Friday, July 14, 2017 4:56 PM
According to a note in the Local GPO, it says that this only applies to Enterprise and Education versions of Windows 10. What about for Pro?
Saturday, July 15, 2017 5:05 AM | 2 votes
According to a note in the Local GPO, it says that this only applies to Enterprise and Education versions of Windows 10. What about for Pro?
Starting with Anniversary Edition (v1607), the "Computer Configuration \ Administrative Templates \ Windows Components \ Cloud Content \ Turn off Microsoft consumer experiences" is only honored on Enterprise and Education.
This part of Microsoft's roadmap to require even-the-smallest businesses to purchase Enterprise licenses.
I believe it is unethical to remove features during minor upgrades while preventing users from avoiding those upgrades, then require a monetary payment to restore those features. But, that's what is going on. In our case, the "free" upgrade to Windows 10 resulted in us paying $300/desktop to restore the functionality we had in Windows 8.1. It is despicable.
-Tony
Monday, July 24, 2017 4:57 PM | 3 votes
I believe it is unethical to remove features during minor upgrades while preventing users from avoiding those upgrades, then require a monetary payment to restore those features. But, that's what is going on. In our case, the "free" upgrade to Windows 10 resulted in us paying $300/desktop to restore the functionality we had in Windows 8.1. It is despicable.
-Tony
We agree. It is perplexing that Microsoft made these decisions. It is short-sighted for them to seek profit today at the expense of future trust. Arrogance is the perception many professionals have around the decisions. The chances of us recommending Enterprise products for an SMB actually have been reduced by this and other patterned decisions, which point to the desire for profit over customer relations. Microsoft better hope a viable alternative to Windows never shows up.
Tuesday, February 6, 2018 4:49 PM
Brilliant.
It worked!
TYVM
Wednesday, March 14, 2018 2:59 PM
Running these commands breaks sysprep - Microsoft sucks. If you run them after the fact if leaves a bunch of placeholders on the start menu.
Wednesday, April 4, 2018 1:45 PM
Running these commands breaks sysprep - Microsoft sucks. If you run them after the fact if leaves a bunch of placeholders on the start menu.
Yep, just experienced the same with 1709. It really is a shame bc not every Company has the resources to use the LTSB Version of Windows 10. I am sitting here Scratching my head and trying to figure out a way to sysprep the machine. What a disaster Windows 10 is my god.
Thursday, April 5, 2018 5:52 AM
Running these commands breaks sysprep - Microsoft sucks. If you run them after the fact if leaves a bunch of placeholders on the start menu.
Yep, just experienced the same with 1709. It really is a shame bc not every Company has the resources to use the LTSB Version of Windows 10. I am sitting here Scratching my head and trying to figure out a way to sysprep the machine. What a disaster Windows 10 is my god.
You don't need LTSB.
If you enable the "Computer Configuration \ Administrative Templates \ Windows Components \ Cloud Content \ Turn off Microsoft consumer experiences" GPO, it'll prevent Windows from installing the Apps that block sysprep. You need to do this as soon as possible to preempt Windows.
What I do: I add "reg add HKLM\Software\Policies\Microsoft\Windows\CloudContent /v DisableWindowsConsumerFeatures /t REG_DWORD /d 1 /f" in the specialize/RunSynchronous portion of the unattend.xml file. It works perfectly to prevent the Sysprep problem.
Disclaimer: This definitely works on Enterprise and Education editions. I don't know about Home & Pro.
Another option: Enable a firewall rule that prevents access to the Internet. Windows will not install Apps it cannot download.
-Tony