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

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

  1. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,957
    2,059
    60
    It likely is a requirement then and you seem to have answered your own question. However on the off chance that @abbodi1406 simply never thought about anything installing without the store... You can wait for his reply.

    At this time, I am unable to check as I am currently using openSUSE Linux and am in no mood to boot up a virtual pc just to check if it can be configured to run independently or not. -- Personally, I see the installer would be mostly useless without the store, anyways. The only exception I can think of would be for sideloading your own apps. However, that could be done via DISM anyways without the installer... So really, what is the point?!
     
  2. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    17,190
    90,654
    340
    Code:
    @echo off
    for /f "tokens=6 delims=[]. " %%G in ('ver') do if %%G lss 14393 goto :version
    %windir%\system32\reg.exe query "HKU\S-1-5-19" 1>nul 2>nul || goto :uac
    setlocal enableextensions
    if /i "%PROCESSOR_ARCHITECTURE%" equ "AMD64" (set "arch=x64") else (set "arch=x86")
    cd /d "%~dp0"
    
    if not exist "*DesktopAppInstaller*.appxbundle" goto :nofiles
    if not exist "*DesktopAppInstaller*.xml" goto :nofiles
    
    for /f %%i in ('"dir /b *DesktopAppInstaller*.appxbundle" 2^>nul') do set "AppInstaller=%%i"
    for /f %%i in ('"dir /b *VCLibs*x64*.appx" 2^>nul') do set "VCLibsX64=%%i"
    for /f %%i in ('"dir /b *VCLibs*x86*.appx" 2^>nul') do set "VCLibsX86=%%i"
    
    if /i %arch%==x64 (
    set "DepInstaller=%VCLibsX64%,%VCLibsX86%"
    ) else (
    set "DepInstaller=%VCLibsX86%"
    )
    
    for %%i in (%DepInstaller%) do (
    if not exist "%%i" goto :nofiles
    )
    
    set "PScommand=PowerShell -NoLogo -NoProfile -NonInteractive -InputFormat None -ExecutionPolicy Bypass"
    
    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%
    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 1607 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
    echo.
    echo ============================================================
    echo Done
    echo ============================================================
    echo.
    echo Press any Key to Exit.
    pause >nul
    exit
     
  3. bay12

    bay12 MDL Junior Member

    Nov 30, 2014
    84
    13
    0
    Hi guys i have a question about win 10 1607 LTSB: the wifi icon always displays the signal at full bars, do you know why? is by design or is a bug?
    thanks in advance
     
  4. mgherghina

    mgherghina MDL Novice

    Oct 7, 2016
    19
    1
    0
    I LOVE YOU lol
     
  5. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,957
    2,059
    60
    Your question has nothing to do with this thread. In the future, you would get better help posting your own thread. -- To answer your question, it is only for display to show you that WiFi is on. Clicking on the icon will show you the true signal level of your network (oranged by order from strongest network signal to weakest). -- If you have further questions concerning WiFi or Windows 10 in general, please make your own topic. Thanks. :)
     
  6. Vamp1r3

    Vamp1r3 MDL Novice

    Nov 29, 2017
    2
    0
    0
    Hey sorry new to all this and just had a question regarding the store and LTSB. I noticed with the Forza games it says it requires a windows update? Is there any way around that or would I have to update windows then?
     
  7. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,957
    2,059
    60
    It is usually a good practice to keep your system up to date. Exactly what update is it asking for you to install?
     
  8. endbase

    endbase MDL Guru

    Aug 12, 2012
    4,694
    1,717
    150
    That will be the fall update is my guess :) but stupid enough it's not for LTSB
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,957
    2,059
    60
    This is what I dislike about Windows 10 since they've called it a "service". In the past, if I wanted to install something designed for Windows 8, for example, no one could stop me. Windows as a "service" this becomes a problem. Of course, it is for this reason, why Microsoft Store has not taken off as much as Microsoft would like (independent apps and Andriod still rule the world). Folks want and need full control over their computer and do not want someone else telling them how they can use their own hardware.
     
  10. Vamp1r3

    Vamp1r3 MDL Novice

    Nov 29, 2017
    2
    0
    0
    I'm not certain the update, as endbase said it may be the fall update? The system requirements just states I don't meet the minimum OS requirements. Don't really want to purchase it if it isn't going to run because of something so silly. I'm assuming I'd have to change over off LTSB
     
  11. GOD666

    GOD666 MDL Expert

    Aug 1, 2015
    1,957
    2,059
    60
    #391 GOD666, Dec 1, 2017
    Last edited: Dec 1, 2017
    Do not buy the modern app version found in the Microsoft store as it would seem it would be a waste of money since Microsoft would control exactly which edition and version of Windows you're allowed to install it on. :rolleyes: Worse still is they could revolt your use of future updates too (should Windows 10 ever become a subscription service). :rolleyes: You're better off buying a normal game somewhere else. ;)
     
  12. Wallboy

    Wallboy MDL Novice

    May 21, 2016
    13
    4
    0
    Not sure if anyone else had this problem, but I can't seem to get the Xbox App to work after installing the store. I get the error: 0x409 0x80131509. I did mess with some services and tasks prior that might be causing an issue, but I'm pretty certain I have set them back to default now, but still no go. This was just after a fresh install of 2016 LTSB.
     
  13. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    #393 GodHand, Dec 2, 2017
    Last edited: Dec 2, 2017
    Reading is hard.

    Your comment, quoted as verbatim:

    This is unequivocally untrue. It is not "heavily modified." Nothing is "heavily modified" default from Microsoft and GPO affords the end-user the ability to adjust even built-in administrative access and permissions to various levels, insofar as to make the built-in administrator identical to regular added administrator accounts, being regulated by the default UAC settings and the like. The built-in administrator account is primarily designed in case one is unable to regain proper working condition of their OS and can Shift+F10 at the start screen and activate the account for unregulated access for recovery situations.

    It's also untrue that it's "a point of fact, most of the modern apps in Home, Pro, Education, and Enterprise editions (minus Microsoft Edge) will not run using the hidden account." They will not run per default settings in because the system is designed to utilize the UAC in its default state for security purposes.

    By simply changing how GPO handles the built-in Administrator's account it is 100% on all of Microsoft's default provisioned application packages. Side-loaded apps from 3rd party sources that are digitally signed/approved by Microsoft for Microsoft Store availability clearly are not 100% because how they handle the built-in administrator account's access to their app is completely up to the developer(s). Get the source code for any Provisioned App Package by Microsoft and use the Software Development Kit to see the actual code used to "restrict" the built-in administrator. Hint: they're not restricted outside of the GPO and there are no restrictions within the Microsoft apps themselves. Moreover, there is certainly no built-in restrictions that are "heavily modified via the registry and also via the group policy manager" to prevent the use of the built-in Administrator account from directly using UWP applications. As a matter of fact, many issues with them not auto-updating and the like are remedied by using the built-in Administrator account, changing the appropriate GPO/registry setting and forcing the update unless you do it manually (like with the little snippet I posted on how one can do it with PowerShell). Even for Home editions there are registry settings available to the end-user to control access tokens for the built-in Administrator. None are protected settings, either.

    At the end of the day, you can try to argue with this until your heart's content, but Microsoft specifically made the built-in Administrator account 99% modifiable in access for the exact purposes you claim it's restricted from.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Wallboy

    Wallboy MDL Novice

    May 21, 2016
    13
    4
    0
    #394 Wallboy, Dec 3, 2017
    Last edited: Dec 3, 2017
    Alright, I've reinstall Windows 10 LTSB completely in case I messed something up when tweaking so I wanted to try and install the store first and try the Xbox App. Went to Updates and got fully updated. Downloaded the Add Store Method 1. Right clicked the Add-Store command and run as admin. Installed just fine. Windows Store works. Logged in on my account just fine. Went to search for Apps -> Xbox. Downloaded it. Installed it. Same error: "We can't sign you in right now: 0x409".

    If I click the refresh button in the app it gives me 0x404. I checked my network activity in Resource Monitor and I don't see it using any network activity. It's like the app can't connect to the internet? I'm baffled. A year ago I did have it working just fine using the older store_with_xbox method.

    If I launch the Xbox Identity Provider, it just sits on the screen with the animated loading bar. Again no network activity for it in the resource monitor.

    EDIT: Just tried a fresh install of the latest Windows 10 Pro. Xbox App works no problem. So I'm not sure what is going on with LTSB and the Xbox App.
     
  15. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    General rule of thumb when side-loading apps, or installing into LTSB/Server builds: enable Developer Mode and the GPO/registry settings that allow for any signed application to be used BEFORE installing the app. Even if it's a default Microsoft App.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. monstertruckpa

    monstertruckpa MDL Junior Member

    Apr 5, 2016
    82
    46
    0
    thank you, tricks for all my needs.
     
  17. AnFa

    AnFa MDL Novice

    Aug 27, 2017
    1
    0
    0
    #397 AnFa, Dec 4, 2017
    Last edited: Dec 4, 2017
    I did exactly as you said in Method 1, but whenever I try to download any program through it, it gives me the 0x80072EFD error. Deleted all addresses in the Hosts files to see if it was it, nope. Did the command prompt troubleshoot, still nothing. Help please?

    EDIT

    NVM, it solved itself. Somehow...
     
  18. Myrrh

    Myrrh MDL Expert

    Nov 26, 2008
    1,509
    629
    60
    Am I correct in surmising that there is still no way to make the Store work on a Server 2016?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. Nexator

    Nexator MDL Novice

    Dec 3, 2017
    1
    2
    0
    Thanks for sharing this wonderful method of enabling the Store.
    However, i encountered an error with Xbox app after using Method 1 automated script (new version) on my LTSB N 1607 64-bit. Trying to sign in Xbox app i constantly got error 0x409 (0x80131509) and had no luck with all the solutions for this trouble found online. Finally I got it to work, here's what helped. I used system restore to the state before running the script, cropped out the xbox identity provider installing part, and executed it. Then I found an Xbox Identity Provider store page in browser (9wzdncrd1hkw) and installed it using Store GUI.
    I can't point out what's wrong with the script, it may be outdated or contain some error.
     
  20. GodHand

    GodHand MDL Addicted

    Jul 15, 2016
    534
    926
    30
    Are you referring to using Store to download other Apps or just open and be able to navigate? IMO Store has no reason to ever be installed on Server 2016 but it's able to be installed:

    1) Get all required files (AppxBundle, Appx and License XMLs)
    2) Use PowerShell to install said required files
    3) Use TAKEOWN /F "C:\Program Files\WindowsApps" /A in command-prompt to take ownership from TrustedInstaller and assign ownership to the Administrators group
    4) Use either the GUI or ICACLS in command-prompt to ensure proper access control permissions are set (TrustedInstaller and System will both require full access)
    5) Use PowerShell to register the Apps
    6) Reboot system

    However if I recall correctly, it will not download and install any apps through the Store itself, but will navigate, open and interact with other apps one decides to side-load into the system.

    I may not be entirely correct on this, either. I installed Store once over a year ago in a VM and this is how I got it "working," per se. Things may have changed since then.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...