Tag: Surface Pro X

Windows 10 on ARM PowerShell 7 Windows Terminal ARM64

How to Install PowerShell 7 on Windows 10 on ARM

As you know I am running Surface Pro X as my daily driver, which comes with Windows 10 on ARM. With the release of PowerShell 7.0.2, I want to show you how you can install PowerShell 7 on Windows 10 on ARM and the Surface Pro X. The ARM64 release is still marked as a preview. The PowerShell team is working on bringing PowerShell 7 to the Microsoft Store, which will create a much ns smoother experience. However, if you are like me and want to try out PowerShell 7 on your Surface Pro X today, you can do that.

Windows 10 on ARM runs on PCs powered by ARM processors, like the Surface Pro X. And if you want to know more about what’s new in PowerShell 7, check out my blog post. ℹ

How to Install PowerShell 7 on Windows 10 on ARM and the Surface Pro X

With the release 7.0.2 of PowerShell 7, the ARM64 build arrived again. You can download a new .msix file with an ARM64 version from the GitHub release page.

PowerShell 7 on Windows 10 on ARM Surface Pro X

PowerShell 7 on Windows 10 on ARM Surface Pro X

If your Windows 10 machine has developer mode enabled, you can now add the MSIX package to your Windows installation. You can use the Add-AppxPackage to add the .msix package.

Add-AppxPackage .\PowerShell-7.0.2-win-arm64.msix

After that, you can find PowerShell 7 in your start menu, or directly in the new Windows Terminal.

Windows 10 on ARM PowerShell 7 Windows Terminal ARM64

Windows 10 on ARM PowerShell 7 Windows Terminal ARM64

Conclusion

I hope this helped you an explained to you how you can install PowerShell 7 on Windows 10 on ARM. If you want to know more about installing and updating PowerShell 7, check out my blog post. And if you need more information, here is the official documentation on Microsoft Docs.

You can find more information about what’s new in PowerShell 7 on my blog. If you have any questions, please let me know in the comments.



Run Hyper-V on Windows 10 on ARM and the Surface Pro X

Run Hyper-V on Windows 10 on ARM and the Surface Pro X

Here is a quick blog post on how you can run Hyper-V virtual machines (VM) on Windows 10 on ARM and the Surface Pro X.

I am running the Surface Pro X as my daily driver for a couple of months. It is a fantastic device and combines a light designed and the Surface Pro form factor with a 13-inch screen. But the most significant difference to the other Surface devices like the Surface Pro 7, is that the Surface Pro X is running Windows 10 on ARM. It has a custom Microsoft SQ1 chip. This limits it to run native ARM64 or emulated 32-bit x86 applications, and it can’t run classic 64-bit x64 applications at the moment. Another limitation was that I wasn’t able to run Hyper-V virtual machines (VMs) on my Surface Pro X.

With the Windows 10 Insider Preview build 19559, you were able to install Hyper-V. However, you didn’t have a compatible image to run inside the virtual machine (VM). With the Windows 10 Insider Preview Build 19631, Microsoft is now also providing an ARM64 VHDX file, which you can download and run as a guest OS in Hyper-V.

How to enable Hyper-V on Windows 10 on ARM

You need a Windows 10 ARM-based PC with a Microsoft SQ1, Qualcomm Snapdragon 8cx, or Qualcomm Snapdragon 850 processor. To enable the Hyper-V feature on Windows 10 on ARM and the Surface Pro X, you will also need to have installed the Windows 10 Insider Preview build 19559 or higher and have Windows 10 Pro or Windows 10 Enterprise.

  1. Join the Windows Insider Program and update to the latest Windows 10 Insider Fast Ring build 19559 or newer
  2. Upgrade your Windows edition from Home to Windows 10 Pro or Windows 10 Enterprise
  3. Install the Hyper-V feature on Windows 10You can run the following PowerShell command to install the Hyper-V feature.
    Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All
  4. Download the Windows 10 on ARM VHDX file from here.
  5. After that, you can create a Hyper-V virtual machine (VM) with an existing VHDX file on your Surface Pro X.
  6. Visit Windows 10 on ARM developer center for more details and documentation.

Conclusion

I hope this gives an overview of how to run Hyper-V VMs on Windows 10 on ARM. This is still in preview, but if you are like me and want to give it a try, you can. Let me know if you have any questions.



Surface Pro X with Slim Pen

How to Enable or Disable Hibernate on the Surface Pro X

I am sure you have seen that I am the proud owner of a Surface Pro X. The Surface Pro X is one of the latest Microsoft Surface devices, and instead of coming with an Intel or AMD x86 processor, it comes with a custom Qualcomm ARM CPU, called the Microsoft SQ1. The Surface Surface Pro X also runs Windows 10 on ARM, which allows you to run ARM64 and emulated x86 (32-bit) apps. Since I really like this device and the always-on feature, I just quickly want to share how you can enable or disable hibernate on the Surface Pro X.

The reason why I want to disable hibernate is that I can take advantage of the always-on capabilities for a much longer period of time. To understand the differences between shut down, sleep, or hibernate, you can check out the following Microsoft support article.

Shut down, sleep, or hibernate your PC and the Surface Pro X

There are different ways of handling your PC when you are not using it, you can turn your PC off completely by shutting it down, make it sleep, or you can hibernate your PC.

Sleep

Sleep uses very little power, your PC starts up faster, and you’re instantly back to where you left off. You don’t have to worry that you’ll lose your work because of your battery draining, because Windows automatically saves all your work and turns off the PC if the battery is too low. Use sleep when you’re going to be away from your PC for just a little while—like when you’re taking a coffee break.

Hibernate

This option was designed for laptops and might not be available for all PCs. Hibernate uses less power than sleep and when you start up the PC again, you’re back to where you left off (though not as fast as sleep). Use hibernation when you know that you won’t use your laptop or tablet for an extended period and won’t have an opportunity to charge the battery during that time. First check to see if this option is available on your PC and if it is, turn it on.

(Source Microsoft Support)

Enable or Disable Hibernate on the Surface Pro X

To enable or disable hibernate you can use the following options by using PowerShell or the Command Prompt as administrator.

Disable Hibernate run:

powercfg.exe /hibernate off

Enable Hibernate run:

powercfg.exe /hibernate on

You can also find out more about the battery behavior of your Windows 10 devices by using powercfg, so you can see how much battery power your devices uses in sleep or hibernation or while using it. I wrote a blog post called Troubleshoot Windows 10 Battery Life and Modern Standby.

Windows 10 SleepStudy Report

Windows 10 SleepStudy Report

I hope this post helps a couple of people dealing with the power management of Windows 10 and how to enable or disable hibernate on the Surface Pro X. If you have any questions, feel free to leave a comment.



Surface Pro X Windows 10 on ARM WSL 2

How to Install WSL 2 on Windows 10 on ARM

This is just a quick blog post about the experience on running the Windows Subsystem for Linux 2 (WSL 2) on Windows 10 on ARM, which comes on devices like the Surface Pro X. Since I got many questions from developers and IT Pros about the Surface Pro X and how it can handle different workflows on Windows 10 on ARM, I decided to write a blog post, on how you can install WSL 2 on Windows 10 on ARM and the Surface Pro X.

Requirements

You need a device that runs Windows 10 on ARM like the Surface Pro X. Yes, WSL 2 works on the Surface Pro X, and you can run Ubuntu 18.04, which comes as an ARM compiled distro. But you will need to install at Windows Insider build (19041 or higher, also known as Windows 10 20H1 or Windows 10 version 2004). And yes, if you are running an Intel or AMD based machine, you can also install and run WSL 2 on Windows 10.

Install Windows 10 on ARM Windows Insider Build

Install Windows 10 on ARM Windows Insider Build

To run Windows 10 Insider Builds, you can go to Settings, Update & Security, and the Windows Insider Program and join the program. If you get asked to choose the Ring, you will need to select the Insider Slow Ring. You will need to reboot your machine and check for updates, to install the Windows Insider builds.

Install WSL 2 on Windows 10 on ARM

To install the Windows Subsystem for Linux 2 (WSL 2), you need to follow these tasks.

  • Enable the Windows Subsystem for Linux Optional feature (WSL 1 and WSL 2)
  • Install a distro for the Windows Subsystem for Linux
  • Enable the ‘Virtual Machine Platform’ optional feature (WSL 2)
  • Configure the distro to use WSL 2

Enable the Windows Subsystem for Linux and Virtual Machine Platform

Windows 10 on ARM Control Panel WSL2

Windows 10 on ARM Control Panel WSL2

You can enable the Windows Subsystem for Linux (WSL) and the Virtual Machine Platform feature in the Control Panel or with PowerShell.

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
 
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform

These commands will need a reboot of the machine.

Install a Linux distro for the Windows Subsystem for Linux

If you don’t already have installed a WSL distro, you can download and install it from the Windows 10 store. You can find more here: Crazy times – You can now run Linux on Windows 10 from the Windows Store.

Install Ubuntu ARM WSL 2 Windows Store on the Surface Pro X

Install Ubuntu ARM WSL 2 Windows Store on the Surface Pro X

If you want to run a full Ubuntu virtual machine on Windows 10 Hyper-V, you can check out my blog post.

Set WSL distro to use version 2

After you completed the first two steps, you will need to configure the distro to use WSL 2. Run the following command to list the available distros in PowerShell:

wsl -l -v

If this command doesn’t work with the -v parameter, you don’t have the right Windows 10 build installed.

To set a distro to WSL 2, you can run the following command:

wsl --set-version DistroName 2
Convert to WSL 2

Convert to WSL 2

You can also set WSL 2 as the default. You can also run the command before you start the Linux distro for the first time, which will give you faster setup speeds.

wsl --set-default-version 2

To find out more about installing WSL 2, check out the Microsoft Docs page.

After you have enabled WSL 2 you can see that WSL 1 was running kernel version 4.4.0.

WSL 1 Kernel Version

WSL 1 Kernel Version

 

WSL 2 is running Linux kernel version 4.19.84

WSL 2 Kernel Version

WSL 2 Kernel Version

You can also see, that this is an ARM version of Ubuntu.

Ubuntu ARM

Ubuntu ARM

Conclusion

I hope this helps you and gives you a quick overview on how you can install WSL 2 on Windows 10 on ARM and the Surface Pro X. If you have any questions, let me know in the comments and check out the WSL 2 FAQ. The Windows Subsystem for Linux 2 Kernel is also open-source, you can follow the project on GitHub.

By the way, you can now also start using Docker Desktop together with the Windows Subsystem for Linux 2 and even use WSL 2 on Windows Server.



Surface Pro X User Review

Surface Pro X – First Impressions and Review

I just got my brand new Surface Pro X two weeks ago, and since then, I spent a couple of days with it and started to use it as my daily driver. Since I got a lot of questions around the device, how I am using it, and what the limitations are, I decided to write this short blog post. There are many reviews out there from a lot of professional reviewers who focus more on specifications and restrictions to run all possible workloads. In my Surface Pro X review, I try to share my first impressions and write a short review of how the device works for me. Here is a brief review and my first impressions on the Surface Pro X, which is more focused on my use case and what I think the device is good for as well as where you might hit some limitations.

My First Impression 👓

I want to spend a couple of words on the first impressions I had on the Surface Pro X when I opened the box. Don’t get me wrong, all the Surface devices had an excellent built quality and design, but I have the feeling that the Surface Pro X is on the next level. It is hard to describe why, but the design and the details make it feel a real premium device.

Surface Pro X Body

Surface Pro X Body

On the software side, I was trying to stick with ARM64 apps as much as possible, and with the new Microsoft Edge Insider Canary version, I have almost all the apps I need. With the ARM64 apps, the performance is excellent, with no issues at all. Even emulated x86 32-bit apps like Visual Studio Code run very well for my personal tasks. However, I am not sure what the impact on battery life is if you run these apps most of the time. If you have a Surface Go, which I like very much, I can tell you that the Surface Pro X is way faster.

Why I love the Surface Pro X ❤

After using the Surface Pro X for more than a week, I can say this might be my favorite Surface device ever made. Don’t get me wrong; it can’t run 100% of the workloads I need, like containers and Hyper-V, for example. But for that, I also have my Surface Book 2, which runs all workloads and also provides a larger 15-inch screen.

Surface Pro X vs Surface Pro 7

Surface Pro X vs. Surface Pro 7

However, I was traveling, writing, and presenting a lot in the last couple of days, and I love the weight (774g), the size (287 mm x 208 mm x 7.3 mm), and the 13-inch screen in a 12-inch chassis with very thin bezels. It is very convenient to travel with since it provides the form-factor of a Surface Pro with the kickstand, but it also adds a 13-inch screen. The screen is bright, and the 13-inch display with the 3:2 aspect ratio is fantastic for productivity. The Surface Pro X is also 1mm thinner than the Surface Pro 7, which doesn’t sound like much, but you can feel the difference.

Enabled by the custom Microsoft SQ1 processor, one thing I completely underestimated is the possibility of having an always-on device. If you open up the Type Cover or start the Surface Pro X, it is instantly on and available. With Windows Hello, you are logged in immediately, and you can start working. When you close it and put it in your bag, or you leave it overnight, the battery doesn’t really drain much — speaking about battery life, which seems to be great so far, I get enough out of the machine for a travel day or a day at a conference. Another great feature the new Surface devices have is that they all come with fast-charging, which allows us to charge the machine very quickly.

Surface Pro X and Surface Pro 7

Surface Pro X and Surface Pro 7

The Surface Pro X also comes with a 5.0MP front-facing camera with 1080p full HD video and a 10.0MP rear-facing autofocus camera with 1080p HD and 4k video. Since I started to work more with video, having great cameras for recordings and Microsoft Team calls, and great audio with dual far-field studio mics, recording videos and doing conf calls works excellent. The 2W stereo speakers with Dolby Audio Premium are surprisingly good.

Connectivity Qualcomm

Connectivity Qualcomm

I am also pleased about the connectivity options, the Surface Pro X comes with Wi-Fi 5 (802.11ac), Bluetooth 5.0 and a Qualcomm Snapdragon X24 LTE Modem with nanoSIM and eSIM support. This is my first tablet with LTE support, and I like to have that option to be always connected. All of the wireless adapters are now coming from Qualcomm, and I didn’t have any Wi-Fi or Bluetooth issues; everything worked fine and at full speed.

The Surface Pro X also comes with two USB-C ports and a Surface Connect port, which means you can use your existing Surface adapters and chargers.

Alcantara Type Cover

Alcantara Type Cover

I am not sure if the Surface Type Cover for the Surface Pro X is different from the Surface Pro 6 and 7; however, for me, it somehow feels different. The typing experience is excellent, and I love the track-pad. I also got a couple of questions around the new Surface Slim Pen, which you can store in the Type Cover and supports wireless charging. For me, I even like it better than the existing Surface Pen. That said, I am mostly using the Surface Pen to take notes or using the Whiteboard app, and for that, it works great.

If you want to know more about the Surface Pro X Specifications, you can find them here.

What do I run on the Surface Pro X 💻

For me, the Surface Pro X is a great travel and work device. The small form-factor, weight, and the 13-inch display combined with all the Surface features like the touch-screen, Surface Slim Pen, kickstand, and many more, make it a great productivity device. I mostly use it for office tasks, mail, web browsing, note-taking, and doing presentations, and the Surface Pro X is excellent in doing all of that. Especially the mobility and always-on feature combine with the connectivity make is a fantastic device for me.

Surface Pro X with Slim Pen

Surface Pro X with Slim Pen

What I use and what works fine:

  • Office Desktop Apps (Office 365, Outlook, PowerPoint, Word, Excel) ARM version
  • OneNote ARM version
  • Microsoft Edge Insider (Edge based on Chromium) ARM version
  • Visual Studio Code Emulated x86 32-bit version
  • PowerShell
  • Microsoft Whiteboard App

What I am missing for my workflow:

  • An ARM version of Microsoft Teams, I am currently using the web version of teams and installed it as a progressive web application (PWA), which works great. You can also install the 32-bit version. However, this impacts performance and battery life.
  • Camtasia to do screen recordings
  • A native ARM64 version of Paint.NET. I am currently using the emulated 32-bit version from the Microsoft Store, which works well, but again I would like to see a native ARM64 version with more performance and better battery life.
Install MS Teams PWA

Install MS Teams PWA

I also connect my Surface Pro X to the Surface Docking station, which works great, and it powers to of my monitors.

Limitations and things to consider 🧱

The Surface Pro X runs Windows 10 on ARM, and this is not comparable to Windows RT or Windows 10 S. Windows 10 on ARM can currently run ARM64 apps or emulated x86 32-bit apps. So you can install your Windows applications as long as they are not 64-bit. Something to consider is that applications which are not compiled for ARM64, run emulated. This can have an impact on performance in battery life. In my use case, I run from time to time Visual Studio Code, which doesn’t seem to be an issue or have an impact on battery life. Some of the applications you are using today might are x64 apps. For example, a couple of Adobe apps or others, these apps can currently not run on Windows 10 on ARM. However, Adobe and others are working on bringing and compiling applications to ARM64, so they can run natively on the Surface Pro X and other ARM Windows devices.

Another limitation for me is that I can’t run Hyper-V on Windows 10 on ARM. That means I can’t use it for all my workloads and demos I do with virtual machines and containers. However, that isn’t a big problem, since I am doing more powerful tasks like this on my Surface Book 2 or maybe in the future on a Surface Laptop 3. But yes, you can run the Windows Subsystem for Linux and the Windows Subsystem for Linux 2 (WSL 2).

  • Drivers for hardware, games and apps will only work if they’re designed for a Windows 10 ARM-based PC. For more info, check with the hardware manufacturer or the organization that developed the driver. Drivers are software programs that communicate with hardware devices—they’re commonly used for antivirus and antimalware software, printing or PDF software, assistive technologies, CD and DVD utilities, and virtualization software.
    If a driver doesn’t work, the app or hardware that relies on it won’t work either (at least not fully). Peripherals and devices only work if the drivers they depend on are built into Windows 10, or if the hardware developer has released ARM64 drivers for the device.
  • 64-bit (x64) apps won’t work. You’ll need 64-bit (ARM64) apps, 32-bit (ARM32) apps, or 32-bit (x86) apps. You can usually find 32-bit (x86) versions of apps, but some app developers only offer 64-bit (x64) apps.
  • Certain games won’t work. Games and apps won’t work if they use a version of OpenGL greater than 1.1, or if they rely on “anti-cheat” drivers that haven’t been made for Windows 10 ARM-based PCs. Check with your game publisher to see if a game will work.
  • Apps that customize the Windows experience might have problems. This includes some input method editors (IMEs), assistive technologies, and cloud storage apps. The organization that develops the app determines whether their app will work on a Windows 10 ARM-based PC.
  • Some third-party antivirus software can’t be installed. You won’t be able to install some third-party antivirus software on a Windows 10 ARM-based PC. However, Windows Security will help keep you safe for the supported lifetime of your Windows 10 device.
  • Windows Fax and Scan isn’t available. This feature isn’t available on a Windows 10 ARM-based PC.

On the hardware, you need to be aware of is that the black color looks great, but it also picks up a lot of fingerprints. I also don’t like it too much that the Surface Connect port (for charging and connecting the docking station) moved a little up on the side. I think the reason for this is that the bottom of the tablet is just too thin. This is not a big deal, but just something to be aware of.

Conclusion 📝

The question is, should you buy it? And my answer is, it depends. Again I love the hardware and how it works together with Windows 10 on ARM. If you are looking for a machine, which can do what you need to do, then it is a no-brainer. If you are running 64-bit apps, for example, some of the Adobe applications, you might want to may go with a Surface Pro 7 or Surface Laptop 3.

For me personally, the Surface Pro X is a great companion to my Surface Book 2 or the Surface Laptop 3. Depending on what I need to do, I only travel with my Surface Pro X, because it is light and brings all the advantages of the Surface Pro form-factor. If I am traveling for a longer period of time, I will also bring my Surface Book 2 with a large 15-inch screen, as a mobile workstation.

Surface Pro X and Surface Laptop 3

Surface Pro X and Surface Laptop 3

If I am traveling, I can use the Surface Pro X as a secondary screen.

Surface Pro X Box

Surface Pro X Box

I hope this review gives you a couple of impressions about the Surface Pro X and why you should or shouldn’t get it. If you have any questions, feel free to leave a comment. Just to make sure, in case you didn’t know, I am a Microsoft employee working in the Azure Engineering team. I am not evolved in the Surface product at all.

By the way, this review was written on the Microsoft Surface Pro X.