[GUIDE] Add Store to Windows 10 EnterpriseS SKU (LTSB/LTSC)

Discussion in 'Windows 10' started by Tito, Aug 9, 2016.

  1. wasabipham87

    wasabipham87 MDL Novice

    Joined:
    Mar 23, 2017
    Messages:
    16
    Likes Received:
    1
    Trophy Points:
    0
  2. Falcon

    Falcon MDL Novice

    Joined:
    Dec 4, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Is it possible to add the store to the WIM for LTSC 2019? I am looking to deploy it as an upgrade package to existing LTSB 2016 systems with the store preinstalled.
     
  3. 845612

    845612 MDL Novice

    Joined:
    May 29, 2018
    Messages:
    7
    Likes Received:
    1
    Trophy Points:
    0
    I have tried the store from the OP but while it installs ok it is outdated and it will not install cinebench properly. It gives a DLL error when trying to start it.

    I tried installing this https://forums.mydigitallife.net/th...ises-sku-ltsb-ltsc.70741/page-42#post-1522775

    But it had an install error for the xbox section, I tried manually updating the .NET components but that caused the store install to fail instead.

    Is there an "official" latest release for the store?
     
  4. Ohmygodzilla

    Ohmygodzilla MDL Novice

    Joined:
    May 26, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    You guys are geniuses! Script work like a charm, Win 10 LTSC
     
  5. boyonthebus

    boyonthebus MDL Addicted

    Joined:
    Sep 16, 2018
    Messages:
    917
    Likes Received:
    573
    Trophy Points:
    30
    yes
     
  6. Falcon

    Falcon MDL Novice

    Joined:
    Dec 4, 2009
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    How can I accomplish this?
     
  7. boo123

    boo123 MDL Member

    Joined:
    Sep 20, 2013
    Messages:
    201
    Likes Received:
    23
    Trophy Points:
    10
  8. Asaness Lights

    Asaness Lights MDL Novice

    Joined:
    Dec 17, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I'm on LTSC (Version 1809 17763.503 ) . When I open MS Store. the window just pops up for like 0.5 seconds then disappears.
     
  9. Jake Ringo

    Jake Ringo MDL Novice

    Joined:
    Jun 2, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
  10. ador250

    ador250 MDL Novice

    Joined:
    Jun 5, 2019
    Messages:
    4
    Likes Received:
    6
    Trophy Points:
    0
    Ok, the latest update of MS Store that we got yesterday just broke Store completely. After launching the store the window just disappear in 0.5 sec. How do we fix it now ?Some dependency may be broken or something.
     
  11. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
  12. xunkaze

    xunkaze MDL Novice

    Joined:
    Sep 27, 2009
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    0
    #852 xunkaze, Jun 7, 2019
    Last edited: Jun 7, 2019
    DELETE
     
  13. Asaness Lights

    Asaness Lights MDL Novice

    Joined:
    Dec 17, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    I extracted all of them in single folder then ran as administrator: it just says "Error: Required files are missing in the current directory"
     
  14. ZerOx16x

    ZerOx16x MDL Member

    Joined:
    Oct 28, 2013
    Messages:
    161
    Likes Received:
    243
    Trophy Points:
    10
    Move pushd "%~dp0" from bottom to top

    Ex:
    Code:
    @echo off
    set "SysPath=%Windir%\System32"
    if exist "%Windir%\Sysnative\reg.exe" (set "SysPath=%Windir%\Sysnative")
    set "Path=%SysPath%;%Windir%;%SysPath%\Wbem;%SysPath%\WindowsPowerShell\v1.0\"
    for /f "tokens=6 delims=[]. " %%G in ('ver') do if %%G lss 16299 goto :version
    fsutil dirty query %systemdrive% 1>nul 2>nul || goto :uac
    set "arch=x64"
    if /i %PROCESSOR_ARCHITECTURE%==x86 (if not defined PROCESSOR_ARCHITEW6432 set "arch=x86")
    pushd "%~dp0"
    
    if not exist "*WindowsStore*.appxbundle" goto :nofiles
    if not exist "*WindowsStore*.xml" goto :nofiles
    
    
    for /f %%i in ('dir /b *WindowsStore*.appxbundle 2^>nul') do set "Store=%%i"
    for /f %%i in ('dir /b *NET.Native.Framework*1.7*.appx 2^>nul ^| find /i "x64"') do set "FK7X64=%%i"
    for /f %%i in ('dir /b *NET.Native.Framework*1.7*.appx 2^>nul ^| find /i "x86"') do set "FK7X86=%%i"
    for /f %%i in ('dir /b *NET.Native.Runtime*1.7*.appx 2^>nul ^| find /i "x64"') do set "RT7X64=%%i"
    for /f %%i in ('dir /b *NET.Native.Runtime*1.7*.appx 2^>nul ^| find /i "x86"') do set "RT7X86=%%i"
    for /f %%i in ('dir /b *VCLibs*140.00_*.appx 2^>nul ^| find /i "x64"') do set "VCPX64=%%i"
    for /f %%i in ('dir /b *VCLibs*140.00_*.appx 2^>nul ^| find /i "x86"') do set "VCPX86=%%i"
    for /f %%i in ('dir /b *NET.Native.Framework*2.2*.appx 2^>nul ^| find /i "x64"') do set "FK2X64=%%i"
    for /f %%i in ('dir /b *NET.Native.Framework*2.2*.appx 2^>nul ^| find /i "x86"') do set "FK2X86=%%i"
    for /f %%i in ('dir /b *NET.Native.Runtime*2.2*.appx 2^>nul ^| find /i "x64"') do set "RT2X64=%%i"
    for /f %%i in ('dir /b *NET.Native.Runtime*2.2*.appx 2^>nul ^| find /i "x86"') do set "RT2X86=%%i"
    for /f %%i in ('dir /b *VCLibs*140.00.UWPDesktop*.appx 2^>nul ^| find /i "x64"') do set "VCDX64=%%i"
    for /f %%i in ('dir /b *VCLibs*140.00.UWPDesktop*.appx 2^>nul ^| find /i "x86"') do set "VCDX86=%%i"
    
    if exist "*StorePurchaseApp*.appxbundle" if exist "*StorePurchaseApp*.xml" (
    for /f %%i in ('dir /b *StorePurchaseApp*.appxbundle 2^>nul') do set "PurchaseApp=%%i"
    )
    if exist "*DesktopAppInstaller*.appxbundle" if exist "*DesktopAppInstaller*.xml" (
    for /f %%i in ('dir /b *DesktopAppInstaller*.appxbundle 2^>nul') do set "AppInstaller=%%i"
    )
    if exist "*XboxIdentityProvider*.appxbundle" if exist "*XboxIdentityProvider*.xml" (
    for /f %%i in ('dir /b *XboxIdentityProvider*.appxbundle 2^>nul') do set "XboxIdentity=%%i"
    )
    
    if /i %arch%==x64 (
    set "DepStore=%FK7X64%,%FK7X86%,%RT7X64%,%RT7X86%,%VCPX64%,%VCPX86%"
    set "DepPurchase=%FK7X64%,%FK7X86%,%RT7X64%,%RT7X86%,%VCPX64%,%VCPX86%"
    set "DepXbox=%FK2X64%,%FK2X86%,%RT2X64%,%RT2X86%,%VCPX64%,%VCPX86%"
    set "DepInstaller=%VCDX64%,%VCDX86%,%VCPX64%,%VCPX86%"
    ) else (
    set "DepStore=%FK7X86%,%RT7X86%,%VCPX86%"
    set "DepPurchase=%FK7X86%,%RT7X86%,%VCPX86%"
    set "DepXbox=%FK2X86%,%RT2X86%,%VCPX86%"
    set "DepInstaller=%VCDX86%,%VCPX86%"
    )
    
    for %%i in (%DepStore%) do (
    if not exist "%%i" goto :nofiles
    )
    
    set "PScommand=PowerShell -NoLogo -NoProfile -NonInteractive -InputFormat None -ExecutionPolicy Bypass"
    
    echo.
    echo ============================================================
    echo Adding Microsoft Store
    echo ============================================================
    echo.
    1>nul 2>nul %PScommand% Add-AppxProvisionedPackage -Online -PackagePath %Store% -DependencyPackagePath %DepStore% -LicensePath Microsoft.WindowsStore_8wekyb3d8bbwe.xml
    for %%i in (%DepStore%) do (
    %PScommand% Add-AppxPackage -Path %%i
    )
    %PScommand% Add-AppxPackage -Path %Store%
    
    if defined PurchaseApp (
    echo.
    echo ============================================================
    echo Adding Store Purchase App
    echo ============================================================
    echo.
    1>nul 2>nul %PScommand% Add-AppxProvisionedPackage -Online -PackagePath %PurchaseApp% -DependencyPackagePath %DepPurchase% -LicensePath 
    
    Microsoft.StorePurchaseApp_8wekyb3d8bbwe.xml
    %PScommand% Add-AppxPackage -Path %PurchaseApp%
    )
    
    if defined AppInstaller (
    echo.
    echo ============================================================
    echo Adding App Installer
    echo ============================================================
    echo.
    1>nul 2>nul %PScommand% Add-AppxProvisionedPackage -Online -PackagePath %AppInstaller% -DependencyPackagePath %DepInstaller% -LicensePath 
    
    Microsoft.DesktopAppInstaller_8wekyb3d8bbwe.xml
    for %%i in (%DepInstaller%) do (
    %PScommand% Add-AppxPackage -Path %%i
    )
    %PScommand% Add-AppxPackage -Path %AppInstaller%
    )
    
    if defined XboxIdentity (
    echo.
    echo ============================================================
    echo Adding Xbox Identity Provider
    echo ============================================================
    echo.
    1>nul 2>nul %PScommand% Add-AppxProvisionedPackage -Online -PackagePath %XboxIdentity% -DependencyPackagePath %DepXbox% -LicensePath 
    
    Microsoft.XboxIdentityProvider_8wekyb3d8bbwe.xml
    for %%i in (%DepXbox%) do (
    %PScommand% Add-AppxPackage -Path %%i
    )
    %PScommand% Add-AppxPackage -Path %XboxIdentity%
    )
    goto :fin
    
    :uac
    echo.
    echo ============================================================
    echo Error: Run the script as administrator
    echo ============================================================
    echo.
    echo.
    echo Press any key to Exit
    pause >nul
    exit
    
    :version
    echo.
    echo ============================================================
    echo Error: This pack is for Windows 10 version 1709 and later
    echo ============================================================
    echo.
    echo.
    echo Press any key to Exit
    pause >nul
    exit
    
    :nofiles
    echo.
    echo ============================================================
    echo Error: Required files are missing in the current directory
    echo ============================================================
    echo.
    echo.
    echo Press any key to Exit
    pause >nul
    exit
    
    :fin
    popd
    echo.
    echo ============================================================
    echo Done
    echo ============================================================
    echo.
    echo Press any Key to Exit.
    pause >nul
    exit
    
    
     
  15. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340
    Fixed.

    i actually encountered the error when i verified the installation, but forgot to include the fixed script from VM :oops:
     
  16. Ponymph

    Ponymph MDL Novice

    Joined:
    Jun 24, 2019
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
  17. jmh

    jmh MDL Novice

    Joined:
    Apr 13, 2013
    Messages:
    44
    Likes Received:
    7
    Trophy Points:
    0
    #857 jmh, Jul 11, 2019
    Last edited: Jul 12, 2019
    I guess this is no longer working i only need store for realtek audio Console + asus sonic studio + asus sonic radar

    They are the only 3 things i need

    Edit installed LTSC and i got store installed works perfect
     
  18. zero cool root

    zero cool root MDL Senior Member

    Joined:
    Jun 17, 2011
    Messages:
    298
    Likes Received:
    89
    Trophy Points:
    10
  19. zero cool root

    zero cool root MDL Senior Member

    Joined:
    Jun 17, 2011
    Messages:
    298
    Likes Received:
    89
    Trophy Points:
    10
  20. abbodi1406

    abbodi1406 MDL KB0000001

    Joined:
    Feb 19, 2011
    Messages:
    12,067
    Likes Received:
    55,424
    Trophy Points:
    340