{"id":1005,"date":"2017-05-18T13:19:06","date_gmt":"2017-05-18T21:19:06","guid":{"rendered":"http:\/\/blogs.msdn.microsoft.com\/commandline\/?p=1005"},"modified":"2019-04-01T16:52:05","modified_gmt":"2019-04-01T23:52:05","slug":"will-linux-distros-run-on-windows-10-s","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/commandline\/will-linux-distros-run-on-windows-10-s\/","title":{"rendered":"Will Linux distros run on Windows 10 S?"},"content":{"rendered":"<h2>Will Linux distros run on Windows 10 S?<\/h2>\n<p>Many people have asked &#8220;You just announced that <a href=\"https:\/\/devblogs.microsoft.com\/commandline\/new-distros-coming-to-bashwsl-via-windows-store\/\">Linux distro&#8217;s are coming to the Windows Store<\/a> &#8211; will they run on Windows 10 S?&#8221;<\/p>\n<p>The answer is <strong>No!<\/strong><\/p>\n<p>Just because an &#8220;app&#8221; comes from the Windows Store does NOT automatically mean that it&#8217;s safe &amp; suitable for running in Windows 10 S. There are some apps that are not allowed to run on Windows 10 S, including all command-line apps, shells and Consoles.<\/p>\n<p>Read on for more background &amp; info&#8230;<\/p>\n<p><!--more--><\/p>\n<h2>What is Windows 10 S?<\/h2>\n<h2><a href=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/33\/2019\/04\/Windows10S.png\"><img decoding=\"async\" width=\"600\" height=\"415\" class=\"alignnone wp-image-1015 size-medium\" alt=\"windows10s\" src=\"https:\/\/devblogs.microsoft.com\/wp-content\/uploads\/sites\/33\/2019\/02\/Windows10S-600x415.png\" \/><\/a><\/h2>\n<p>A couple of weeks ago, Microsoft announced <a href=\"https:\/\/www.youtube.com\/watch?v=HWc3WY3fuZU\">Windows 10 S<\/a> &#8211; a new SKU of Windows which is &#8220;<em>Streamlined for security and superior performance<\/em>&#8220;.<\/p>\n<p><a href=\"https:\/\/support.microsoft.com\/en-us\/help\/4020089\/windows-10-s-faq\">Windows 10 S is primarily aimed at non-technical users<\/a> &#8211; teachers &amp; grade-school children, non-technical students, content creators, artists, etc. &#8211; people who don&#8217;t typically want to spend time &amp; effort futzing with their PC &#8211; people who just expect their computer to work safely, quickly, reliably and efficiently.<\/p>\n<p>To deliver this experience, Windows 10 S users can only install apps from the Windows Store. This enables Microsoft to help ensure a safe, predictable, easy-to-use experience by preventing malicious and\/or inefficient apps from getting onto users&#8217; machines and wreaking havoc with their data and resources.<\/p>\n<p>Therefore&#8230;<\/p>\n<h2><strong>Windows 10 S is not well-suited for many app developers\/hackers, admins &amp; IT pro&#8217;s!<\/strong><\/h2>\n<ul>\n<li>App developers often need to use tools that have access to low-level features of the local machine, e.g. debuggers, registry access, filesystem access, hardware access, etc.<\/li>\n<li>Admins &amp; IT Pro&#8217;s need to write and run scripts &amp; tools that deploy apps, configure users&#8217; accounts, modify security settings, configure firewalls &amp; anti-malware systems, etc.<\/li>\n<\/ul>\n<p>These needs are not well met by an operating system that has been deliberately constrained to prevent just these types of apps and tasks from running!<\/p>\n<blockquote>\n<p><em>This said, Windows 10 S <strong>can<\/strong> be used for building code that runs elsewhere &#8211; on the web, on IoT devices, on a remote VM via ssh, etc. Such scenarios don&#8217;t require the user access\/modify a local machine&#8217;s system, settings\/registry, filesystem, etc.<\/em> And of specific interest to readers of this blog, <strong>Windows 10 S does not run command-line applications, nor the Windows Console, Cmd \/ PowerShell, or Linux\/Bash\/WSL instances<\/strong> since command-line apps run outside the safe environment that protects Windows 10 S from malicious \/ misbehaving software:<\/p>\n<\/blockquote>\n<h2>Why?<\/h2>\n<p>Windows 10 S primarily runs apps downloaded &amp; installed via the Windows Store.<\/p>\n<p>Modern Universal Windows Platform (UWP) store apps run within a secure &amp; constrained sandbox, with explicitly controlled access to system resources, devices, and capabilities like file storage devices, cameras, ability to run in the background, etc.<\/p>\n<p>Another class of Windows Store app, called <a href=\"https:\/\/docs.microsoft.com\/en-us\/windows\/uwp\/porting\/desktop-to-uwp-root\">Desktop Bridge (or &#8220;Centennial&#8221;) apps,<\/a> are given much broader access to the OS. However, Desktop Bridge apps are only published by organizations which have a direct engagement with Microsoft, and which have been vetted and are well supported by the publisher. <a href=\"https:\/\/blogs.windows.com\/buildingapps\/2016\/09\/14\/apps-built-using-the-desktop-bridge-now-available-in-the-windows-store\/#F9xjlzRm3ReELhOW.97\">Examples of Desktop Bridge apps<\/a> include Evernote, Arduino IDE, doubleTwist, PhotoScape, Virtual Robotics Kit, etc.<\/p>\n<p>Linux distro store packages are an exotic type of app package that are published to the Windows Store by known partners. Users find and install distros , safely, quickly, and reliably via the Windows Store app.<\/p>\n<p>Once installed, however, distro&#8217;s should be treated as command-line tools that run outside the UWP sandbox &amp; secure runtime infrastructure. They run with the capabilities granted to the local user &#8211; in the same way as Cmd and PowerShell do.<\/p>\n<p>This is why Linux distro&#8217;s don&#8217;t run on Windows 10 S: Even though they&#8217;re delivered via the Windows Store, and installed as standard UWP APPX&#8217;s, they run as non-UWP command-line tools and this can access more of a system than a UWP can.<\/p>\n<h2>So what should I use?<\/h2>\n<p>If you want to run all your dev tools, distros, shells, etc. on a machine running Windows 10 S &#8211; like the sweeet <a href=\"https:\/\/www.microsoft.com\/en-us\/surface\/devices\/surface-laptop\/overview\">new Surface Laptop<\/a> &#8211; then <a href=\"https:\/\/www.microsoft.com\/en-us\/windows\/get-windows-10\">upgrade it to full Windows 10<span style=\"color: #001000\">.\u00a0<\/span><\/a> You&#8217;ll then be able to run Linux distro&#8217;s, Cmd\/PowerShell, install dev tools, debuggers, profilers, packet sniffers, etc.<\/p>\n<p>\u00a0<\/p>\n<p>I hope this helps clear-up the question as to whether Windows 10 S &#8211; an operating system environment &#8220;<em>Streamlined for security and superior performance<\/em>&#8221; &#8211; can run Linux distro&#8217;s (and other command-line tools).<\/p>\n<p>Rich Turner (<a href=\"https:\/\/twitter.com\/richturn_ms\">@richturn_ms<\/a>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Will Linux distros run on Windows 10 S? Many people have asked &#8220;You just announced that Linux distro&#8217;s are coming to the Windows Store &#8211; will they run on Windows 10 S?&#8221; The answer is No! Just because an &#8220;app&#8221; comes from the Windows Store does NOT automatically mean that it&#8217;s safe &amp; suitable for [&hellip;]<\/p>\n","protected":false},"author":910,"featured_media":4194,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[10,5,6,9],"tags":[68,71],"class_list":["post-1005","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cmd","category-windows-10","category-windows-console","category-bash-on-ubuntu-on-windows","tag-win10s","tag-windows-10-s"],"acf":[],"blog_post_summary":"<p>Will Linux distros run on Windows 10 S? Many people have asked &#8220;You just announced that Linux distro&#8217;s are coming to the Windows Store &#8211; will they run on Windows 10 S?&#8221; The answer is No! Just because an &#8220;app&#8221; comes from the Windows Store does NOT automatically mean that it&#8217;s safe &amp; suitable for [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/1005","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/users\/910"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/comments?post=1005"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/posts\/1005\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media\/4194"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/media?parent=1005"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/categories?post=1005"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/commandline\/wp-json\/wp\/v2\/tags?post=1005"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}