Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
draghici_elena2000 pe Simpatie.ro
Femeie
24 ani
Dambovita
cauta Barbat
24 - 62 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [WINDOWS] How To Uninstall / Reinstall Microsoft Apps via PowerShell Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
Mrrrr
AdMiN

Inregistrat: acum 17 ani
Postari: 2186
Source:

You can uninstall most of the built-in apps—even ones that don’t normally offer an “Uninstall” option—with a PowerShell cmdlet. Note, however, that this trick won’t allow you to remove a few of the most important built-in apps, like Cortana and Microsoft Edge. If you try, you’ll see an error message saying they can’t be removed.

You can reinstall them also via PowerShell - check the bottom of this post.

First, open PowerShell as administrator. Hit Windows+X, and then choose the “Windows PowerShell (Admin)” option from the Power User menu. Or in case you don't have a Windows button, right click on the Start Menu button and select Windows PowerShell (Admin)

At the PowerShell prompt, copy and paste one or more of the following commands—pressing Enter after each command—to remove the apps you don’t want on your Windows 10 system:

Uninstall 3D Builder:
Get-AppxPackage *3dbuilder* | Remove-AppxPackage

Uninstall Alarms and Clock:
Get-AppxPackage *windowsalarms* | Remove-AppxPackage

Uninstall Calculator:
Get-AppxPackage *windowscalculator* | Remove-AppxPackage

Uninstall Calendar and Mail:
Get-AppxPackage *windowscommunicationsapps* | Remove-AppxPackage

Uninstall Camera:
Get-AppxPackage *windowscamera* | Remove-AppxPackage

Uninstall Contact Support:
This app can't be removed.

Uninstall Cortana:
This app can't be removed.


Uninstall Get Office:
Get-AppxPackage *officehub* | Remove-AppxPackage

Uninstall Get Skype:
Get-AppxPackage *skypeapp* | Remove-AppxPackage

Uninstall Get Started:
Get-AppxPackage *getstarted* | Remove-AppxPackage

Uninstall Groove Music:
Get-AppxPackage *zunemusic* | Remove-AppxPackage

Uninstall Maps:
Get-AppxPackage *windowsmaps* | Remove-AppxPackage

Uninstall Microsoft Edge:
This app can't be removed.


Uninstall Microsoft Solitaire Collection:
Get-AppxPackage *solitairecollection* | Remove-AppxPackage

Uninstall Money:
Get-AppxPackage *bingfinance* | Remove-AppxPackage

Uninstall Movies & TV:
Get-AppxPackage *zunevideo* | Remove-AppxPackage

Uninstall News:
Get-AppxPackage *bingnews* | Remove-AppxPackage

Uninstall OneNote:
Get-AppxPackage *onenote* | Remove-AppxPackage

Uninstall People:
Get-AppxPackage *people* | Remove-AppxPackage

Uninstall Phone Companion:
Get-AppxPackage *windowsphone* | Remove-AppxPackage

Uninstall Your Phone:
Get-AppxPackage Microsoft.YourPhone -AllUsers | Remove-AppxPackage

Uninstall Photos:
Get-AppxPackage *photos* | Remove-AppxPackage

Uninstall Store:
Get-AppxPackage *windowsstore* | Remove-AppxPackage

Uninstall Sports:
Get-AppxPackage *bingsports* | Remove-AppxPackage

Uninstall Voice Recorder:
Get-AppxPackage *soundrecorder* | Remove-AppxPackage

Uninstall Weather:
Get-AppxPackage *bingweather* | Remove-AppxPackage

Uninstall Windows Feedback:
This app can't be removed.


Uninstall Xbox:
Get-AppxPackage *xboxapp* | Remove-AppxPackage

If you decide you want the preinstalled apps back, you can reinstall them with a single line of PowerShell code. Again, open a PowerShell window as Administrator. Copy and paste the following line at the PowerShell prompt, and then press Enter:
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

This command tells Windows to install those default apps again. Give it some time and allow it to finish, even if nothing appears to happen at first. Even if you see an error message, restart your PC, and then examine your Start menu—you may just have all those default apps back again, anyway.

The only real advantage to doing this is some mild decluttering of your Start menu. It’s also likely that future updates (especially major updates) could reinstall those apps.


_______________________________________


pus acum 3 ani
   
Mrrrr
AdMiN

Inregistrat: acum 17 ani
Postari: 2186
To uninstall any application you installed from Microsoft Store you must do the same as the above.

Yesterday I installed PDF Office but was not happy with the features offered by the free version so I wanted to uninstall it.

1. Opened PowerShell

2. Since the app is named PDF Office, I assumed I should look for *pdfoffice* so I entered the following command in PS then hit ENTER:

Get-AppxPackage *pdfoffice*


3. I got the details of the app: name, publisher, version, install location etc. so I was able to confirm this was the app I installed, as it's full description in the store is PDF Office: PDF Editor, Reader, Merged, Create PDF.... and the app name I got with the above command is:

58337MediaAppsDev.PDFOfficePDFEditorReaderMergerCr


4. In order to uninstall this product I just have to pipeline the Remove-AppxPackage command after the command in no. 2, like this:

Get-AppxPackage *pdfoffice* | Remove-AppxPackage


5. The uninstall happened real quick and checking my Microsoft Store, instead of Launch button in the app I have the Install button.


_______________________________________


pus acum 2 ani
   
Mrrrr
AdMiN

Inregistrat: acum 17 ani
Postari: 2186
How to download an APPX file from Microsoft Store and install later via PowerShell (see below)

Code:

http://woshub.com/how-to-download-appx-installation-file-for-any-windows-store-app/

See the bottom of that post on how to install an app via PS


_______________________________________


pus acum 2 ani
   
Pagini: 1  

Mergi la