Tutorial How to Uninstall Default Apps and OneNote from Windows 10

Spawn

Administrator
MalwareTips Staff
Joined
Jan 8, 2011
Messages
17,100
OS
Windows 10
Antivirus
Microsoft
#1
How to Remove Default Apps from Windows 10 - THOMAS.VANHOUTTE.BE
Windows 10 comes preloaded with a lot of default apps.

The very first thing you should try is simply right-clicking on an app on the start menu and see if there is the uninstall option. If there is no such option, read on. You will need to find PowerShell.
Below is how to Uninstall the Default Apps that come with Windows 10, and here's a link to Reinstall Default Apps.

Start > Type 'Powershell' > Right-click > Run as administrator
upload_2015-8-10_13-8-15.png


If you do not see PowerShell, expand below.
upload_2015-8-10_13-21-31.png

To remove from Windows 10, here are the codes for each default app:

Remove OneNote from Windows 10 with PowerShell
Code:
Get-AppxPackage *OneNote* | Remove-AppxPackage
Remove 3D from Windows 10 with PowerShell
Code:
Get-AppxPackage *3d* | Remove-AppxPackage
Remove Camera from Windows 10 with PowerShell
Code:
Get-AppxPackage *camera* | Remove-AppxPackage
Remove Mail and Calendar from Windows 10 with PowerShell
Code:
Get-AppxPackage *communi* | Remove-AppxPackage
Remove Money, Sports, News and Weather from Windows 10 with PowerShell
Code:
Get-AppxPackage *bing* | Remove-AppxPackage
Remove Groove Music and Film & TV from Windows 10 with PowerShell
Code:
Get-AppxPackage *zune* | Remove-AppxPackage
Remove People from Windows 10 with PowerShell
Code:
Get-AppxPackage *people* | Remove-AppxPackage
Remove Phone Companion from Windows 10 with PowerShell
Code:
Get-AppxPackage *phone* | Remove-AppxPackage
Remove Photos from Windows 10 with PowerShell
Code:
Get-AppxPackage *photo* | Remove-AppxPackage
Remove Solitaire Collection from Windows 10 with PowerShell
Code:
Get-AppxPackage *solit* | Remove-AppxPackage
Remove Voice Recorder from Windows 10 with PowerShell
Code:
Get-AppxPackage *soundrec* | Remove-AppxPackage
Remove Xbox from Windows 10 with PowerShell
Code:
Get-AppxPackage *xbox* | Remove-AppxPackage
*Xbox app may be required for Game DVR.

For the ease of viewing, I have copied the CODE above from the Source, provided at the top of this thread.
 

Spawn

Administrator
MalwareTips Staff
Joined
Jan 8, 2011
Messages
17,100
OS
Windows 10
Antivirus
Microsoft
#2
On my Windows 10, I had a few pre-installed pinned apps on the Start, with no Uninstall available. I visited the Store to install and and then used the following to remove them. Use one at a time.
Code:
Get-AppxPackage *minecraftUWP* | Remove-AppxPackage

Get-AppxPackage *shazam* | Remove-AppxPackage

Get-AppxPackage *flipboard* | Remove-AppxPackage
As this is my first time using PowerShell, I was unsure if the install was required, but they disappeared from my system afterwards.
 
Joined
Jul 25, 2015
Messages
47
#4
Everytime I try to use the PS keeps giving me this error :
Code:
The shell cannot be started. A failure occurred during initialization:
File C:\Program Files\WindowsPowerShell\Modules\PSReadline\1.1\PSReadLine.psm1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
This just at start up, I have not even triggered any command.
 
Last edited:

Spawn

Administrator
MalwareTips Staff
Joined
Jan 8, 2011
Messages
17,100
OS
Windows 10
Antivirus
Microsoft
#5
Windows Updates or Features/Apps updates will not reinstall the uninstalled apps?
I haven't tested this extensively, but it's possible. For example; Edge utilises OneNote for scribbling on-screen.

@Mustolaf Any information from the error link?
 
Likes: DardiM
Joined
Jul 25, 2015
Messages
47
#7
ISSUE:
Code:
"Restricted" is the default policy.
        Restricted
            - Default execution policy in Windows 8,
              Windows Server 2012, and Windows 8.1.

            - Permits individual commands, but will not run
              scripts.

            - Prevents running of all script files, including
              formatting and configuration files (.ps1xml), module
              script files (.psm1), and Windows PowerShell
              profiles (.ps1).
Code:
The shell cannot be started. A failure occurred during initialization:
File C:\Program Files\WindowsPowerShell\Modules\PSReadline\1.1\PSReadLine.psm1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
FIX:
Code:
RemoteSigned
            - Scripts can run. This is the default execution
              policy in Windows Server 2012 R2.

            - Requires a digital signature from a trusted
              publisher on scripts and configuration files that
              are downloaded from the Internet (including
              e-mail and instant messaging programs).

          - Does not require digital signatures on scripts that
              you have written on the local computer (not
              downloaded from the Internet).

            - Runs scripts that are downloaded from the Internet
              and not signed, if the scripts are unblocked, such
              as by using the Unblock-File cmdlet.

            - Risks running unsigned scripts from sources other
              than the Internet and signed, but malicious, scripts.
Run the command inside CMD with Administrator privileges
Code:
powershell Set-ExecutionPolicy RemoteSigned
Code:
    The Windows PowerShell execution policies are as follows:

    "Restricted" is the default policy.

        Restricted
            - Default execution policy in Windows 8,
              Windows Server 2012, and Windows 8.1.

            - Permits individual commands, but will not run
              scripts.

            - Prevents running of all script files, including
              formatting and configuration files (.ps1xml), module
              script files (.psm1), and Windows PowerShell
              profiles (.ps1).

        AllSigned
            - Scripts can run.

            - Requires that all scripts and configuration files
              be signed by a trusted publisher, including scripts
              that you write on the local computer.

        - Prompts you before running scripts from publishers
              that you have not yet classified as trusted or
              untrusted.

            - Risks running signed, but malicious, scripts.


        RemoteSigned
            - Scripts can run. This is the default execution
              policy in Windows Server 2012 R2.

            - Requires a digital signature from a trusted
              publisher on scripts and configuration files that
              are downloaded from the Internet (including
              e-mail and instant messaging programs).

          - Does not require digital signatures on scripts that
              you have written on the local computer (not
              downloaded from the Internet).

            - Runs scripts that are downloaded from the Internet
              and not signed, if the scripts are unblocked, such
              as by using the Unblock-File cmdlet.

            - Risks running unsigned scripts from sources other
              than the Internet and signed, but malicious, scripts.


        Unrestricted
            - Unsigned scripts can run. (This risks running malicious
              scripts.)

            - Warns the user before running srcipts and configuration
              files that are downloaded from the Internet.


        Bypass
            - Nothing is blocked and there are no warnings or
              prompts.

            - This execution policy is designed for configurations
              in which a Windows PowerShell script is built in to a
              a larger application or for configurations in which
              Windows PowerShell is the foundation for a program
              that has its own security model.


        Undefined
            - There is no execution policy set in the current scope.

            - If the execution policy in all scopes is Undefined, the
              effective execution policy is Restricted, which is the
              default execution policy.


    Note: On systems that do not distinguish Universal Naming Convention (UNC)
          paths from Internet paths, scripts that are identified by a UNC path
          might not be permitted to run with the RemoteSigned execution policy.

Read more about WINDOWS POWERSHELL EXECUTION POLICIES @about_Execution_Policies
 
Last edited:
Joined
Jul 25, 2015
Messages
47
#8
**NOTE** This method also works with the other APPS

How-to-reinstall Windows Store
Type in the PowerShell console:
Code:
Get-AppxPackage
^^^Gets a list of the app packages (.appx) that are installed in a user profile.^^^

Locate the Microsoft.WindowsStore entry, then look for the text PackageFullName.


Then, type in the PowerShell console:

Replace MALWARETIPS with YOUR PackageFullName:
Code:
Add-AppxPackage -register "C:\Program Files\WindowsApps\MALWARETIPS\AppxManifest.xml" -DisableDevelopmentMode
For me it was:
Code:
Add-AppxPackage -register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_2015.8.3.0_x64__8wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode
Not really sure if the PackageFileName differs per user, but its better to be safe than sorry. If so please tell me.

Read more about what each parameter does @Add-AppxPackage & @Get-AppxPackage
 
Last edited:
Likes: DardiM
Joined
Oct 22, 2012
Messages
4,055
#9
So does this steps completely uninstalls all the apps or just hides them in a way or just removes them from startmenu?
Anyone did some digging if apps are completely uninstalled or not?
 
Joined
Oct 22, 2012
Messages
4,055
#10
On my Windows 10, I had a few pre-installed pinned apps on the Start, with no Uninstall available. I visited the Store to install and and then used the following to remove them. Use one at a time.
Code:
Get-AppxPackage *minecraftUWP* | Remove-AppxPackage

Get-AppxPackage *shazam* | Remove-AppxPackage

Get-AppxPackage *flipboard* | Remove-AppxPackage
As this is my first time using PowerShell, I was unsure if the install was required, but they disappeared from my system afterwards.
The 3 apps you have mentioned, I think they were not installed on the system but were just link for the apps on the store.
Coz if the apps are installed on the system then store shows installed.
 

Similar Threads

Similar Threads