Install Debian GNU/Linux using the commandline, microsoft store broken

  1. Posts : 2
    Windows 10

    Install Debian GNU/Linux using the commandline, microsoft store broken


    I have a Windows 10 Pro machine that has been hardened for security reasons. The result of this is that the Microsoft Store is unable to connect properly. I have tried to fix this, but to no avail.

    I want to install GNU/Linux distribution under the WSL. I have added the WSL feature for my Windows instance.

    So, the question I have, which I have researched extensively and cannot find an answer for is: What commands can I execute on the commandline to install Debian GNU/Linux distribution under WSL?

    All the links I have found online lead me back to the Microsoft Store, which is not an option for me on this machine.

    Any help will be appreciated.

      My Computer

  2. Brink's Avatar
    Posts : 48,917
    64-bit Windows 10 Pro for Workstations build 19640

    Hello Ozzy, and welcome to Ten Forums.

    If you have a 3rd party firewall program installed, double check to make sure that the "Microsoft Store" app is allowed in its settings. Also check in Windows Firewall.

    Add or Remove Allowed Apps through Windows Firewall in Windows 10 | Windows 10 Tutorials

    Install Debian GNU/Linux using the commandline, microsoft store broken-windows_firewall.jpg

    Have you already tried resetting "Microsoft Store" from Settings to see if that may help?

    Reset App in Windows 10 | Windows 10 Tutorials

    If you have, then you might see if re-registering the Microsoft Store app may.

    Re-register Store app in Windows 10 | Windows 10 Tutorials
      My Computers

  3. Posts : 2
    Windows 10
    Thread Starter

    Hi Brink,

    Thanks for the warm welcome. I appreciate the suggestions you give for the Windows Store, but I have tried all the options you propose and have given up trying to get the Windows Store to work. In terms of the firewall, I have tried turning it totally off, but this didn't do it.

    Basically, this machine has been hardened for security reasons and the hardening process has effectively rendered Windows Store and Edge unusable. This is the reason why I am looking for a commandline option for installing Debian WSL.

      My Computer

  4. Posts : 1,118
    Windows 8.1, Win10Pro

    Something to consider --

    Back when I was using company-provided PCs that were "hardened", any attempt to install something like a Linux distro got you FIRED! That was because, it was seen as an attempt to bypass security constraints.

    So, before you go ahead with WSL, you might want to check with whomever "hardened" your PC -- to ensure that is not going to cost you your job in the process ...
      My Computer

  5. swarfega's Avatar
    Posts : 6,399
    Windows 10 Pro 64-bit

    You may also want to try enabling developer mode, some of the linux cli's apparently still need it.
      My Computers


Related Threads
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 07:26.
Find Us

Windows 10 Forums