Sign in to follow this  

Store Apps on LTSB Now Possible The Best Of Both Worlds

Recommended Posts

TPreston    5,384

I found this online and tested it on LTSB 2016. This script adds the Windows Store application (but no other apps) into LTSB 2016. Useful if you still need one or two store apps but don't want the upgrade hell of current branch.

 

LTSBStore.png

 

All credit to the guy below

http://virtualcustoms.net/forumdisplay.php/1215-General-Windows-10-Customization?s=06c680a7bd416e053d20114d797e3afe

 

  • Like 2

Share this post


Link to post
Share on other sites
TPreston    5,384

Here is a quick and dirty logon script to deploy this via powershell

 

$OSVersion = (get-itemproperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" -Name ProductName).ProductName
If($OSVersion -eq "Windows 10 Enterprise 2016 LTSB")
{
	Write-Host "The installed OS is " $OSVersion
	$StoreAppX="C:\Program Files\WindowsApps\Microsoft.WindowsStore_11606.1001.39.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
	If (Test-Path $StoreAppX)
		{
			Write-Host "The Core AppX Packages Have Allready Been Installed Exiting Now"
		}
Else
{
	Write-Host "Installing Core AppX Packages"
	C:\Windows\System32\takeown.exe /F "C:\Program Files\WindowsApps"
	C:\Windows\System32\icacls.exe --% "C:\Program Files\WindowsApps" /grant "Everyone":F
	C:\Windows\System32\xcopy.exe \\SOFS\AppXDeployment\store_depends_from_enterprise "C:\Program Files\WindowsApps\"  /e /i /h /y /k /o /x

	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.VCLibs.110.00_11.0.51106.1_x64__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.VCLibs.110.00_11.0.51106.1_x86__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.VCLibs.120.00_12.0.21005.1_x64__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.VCLibs.120.00_12.0.21005.1_x86__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.24123.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.VCLibs.140.00_14.0.24123.0_x86__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.1.2_1.2.23231.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.1.2_1.2.23231.0_x86__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.1.3_1.3.24201.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.NET.Native.Framework.1.3_1.3.24201.0_x86__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.1.1_1.1.23406.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.1.1_1.1.23406.0_x86__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.1.3_1.3.23901.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.1.3_1.3.23901.0_x86__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x86__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.WindowsStore_11606.1001.39.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.StorePurchaseApp_1.0.45.0_x64__8wekyb3d8bbwe\AppxManifest.xml"
	Add-AppxPackage -DisableDevelopmentMode -Register "C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.0.2181.0_x64__8wekyb3d8bbwe\AppxManifest.xml"

	C:\Windows\System32\icacls.exe --% "C:\Program Files\WindowsApps" /grant "ALL APPLICATION PACKAGES":F
	C:\Windows\System32\icacls.exe --% "C:\Program Files\WindowsApps" /grant "NT SERVICE\TrustedInstaller":F
	C:\Windows\System32\icacls.exe --% "C:\Program Files\WindowsApps" /grant "System":F
} 
} 

 

  • Like 1

Share this post


Link to post
Share on other sites
margrave    772

I was able to get it to work by install visual c redistributable 1.14

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.