1
+ # ##############################################################################
2
+ # Reinstall Windows 10 Modern Apps
3
+ #
4
+ # Use this PowerShell script to add back all of the built-in/auto-installed
5
+ # Windows 10 apps that were installed on your computer.
6
+ # ##############################################################################
7
+ #
8
+ # To run the script
9
+ #
10
+ # Option 1: Copy/paste
11
+ # 1) Copy this whole script (CTRL+A to select all, CTRL+C to copy)
12
+ # 2) Open up a PowerShell window as an Administrator (click Start, type in
13
+ # PowerShell, right-click and click Run as Administrator)
14
+ # 3) Press CTRL+V in the window
15
+ # 4) If it didn't run, press Enter to run it
16
+ # 5) Open your Start Menu and watch the apps reappear
17
+ # 6) Re-run the script if you
18
+ #
19
+ # Option 2: Run the script
20
+ # 1) Open a Command Prompt or PowerShell window as administrator. (Right-click
21
+ # on the icon, click Run as Administrator)
22
+ # 2) Type: PowerShell.exe -ExecutionPolicy RemoteSigned
23
+ # (which enables scripts to run locally)
24
+ # 3) Change to the director of the script
25
+ # 4) Run .\Uninstall_Win10_Apps.ps1
26
+ # 5) Open your Start Menu and watch the apps reappear
27
+ #
28
+ # If it won't let you run it because of the execute policy, try opening the
29
+ # script up, typing an extra space somewhere, then saving it. This tells it
30
+ # it's a script created on your computer, and makes it happier.
31
+ #
32
+ # ##############################################################################
33
+
1
34
# Reinstall all built-in apps:
2
- Get-AppxPackage - AllUsers| Foreach {Add-AppxPackage - DisableDevelopmentMode - Register “ $ ( $_.InstallLocation ) \AppXManifest.xml” }
35
+ Get-AppxPackage - AllUsers| Foreach {Add-AppxPackage - DisableDevelopmentMode - Register " $ ( $_.InstallLocation ) \AppXManifest.xml" }
0 commit comments