Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Fix-Start.reg
Fix-Start.reg.txt
ProcessAppX.ps1
ReadMe.MD

ReadMe.MD

Selectively choose which Modern apps to load

Description
Powershell script to Selectively load which modern apps you want to load for new user logins

How to Use

Disable appreadiness services in your master image, use Start-fix.reg keys if Optimization tool breaks startmenu registration or do not disable the privacy options in your optimization.

Set the execution policy

Set-ExecutionPolicy -ExecutionPolicy Unrestricted

Run Script

Run this command with admin rights to get the app name listings

Get-AppxPackage -allusers | select name

Select which apps you want to add back to the user, then modify first line of powershell script with apps you want to add.

$appxs="Microsoft.MicrosoftEdge,Microsoft.Windows.ShellExperienceHost,Microsoft.Windows.Cortana,windows.immersivecontrolpanel"
Make AppLauncher Rule
%systemroot%\system32\cmd.exe 
/c powershell.exe -executionpolicy bypass \\path\Scripts\ProcessAppX.ps1
After Config
Run Asyn

Code
ProcessAppX.ps1

#Add apps you want to process in the first line
$appxs="Microsoft.MicrosoftEdge,Microsoft.Windows.ShellExperienceHost,Microsoft.Windows.Cortana,windows.immersivecontrolpanel"
$appxs=$appxs.Split(",")
foreach ($appx in $appxs) {
Get-AppXPackage -AllUsers -name *$appx* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
}

OS Version Verified
Windows 10 1803 NO
Windows 10 1709 YES
Windows 10 1703 YES
Windows 10 1607 YES
You can’t perform that action at this time.