If you have a PC running Windows 10 Pro or Enterprise, Microsoft recently made it much easier to run Ubuntu Linux. In September, they added a customized Hyper-V image for Ubuntu 18.04.1 LTS, the Long Term Support version of the open-source operating system, to Hyper-V's one-click Quick Create gallery.
This preconfigured Hyper-V image has support for remote sessions built in.
What's especially interesting about this ready-made virtual machine is that it supports the open-source xrdp package. That support allows the use of Remote Desktop Protocol, which makes it possible to run Ubuntu in a so-called enhanced session, in full screen mode, with a shared Clipboard and shared drives.
Also: Windows 10 tip: Repair your Windows 10 installation
Setting up the Ubuntu VM is easy, but there are a few tricks that will help you avoid frustration. Follow along with me (and remember, this only works on Windows 10 Pro or Enterprise; if you're running Windows 10 Home, you need to upgrade).
Most of the initial setup is straightforward, but one step is crucial: When you create your user account, do not select the Log In Automatically option. Doing so will cause xrdp to fail, and will cause you hours of frustration. Trust me on this one.
Don't choose the Automatic Login option here. It prevents enhanced sessions from working.
After setup is complete, you can sign in to Ubuntu for the first time and complete whatever configuration you need to complete.
When you're ready to sign in to an enhanced session so that you can run your Ubuntu VM in a full-screen window, be sure to sign out of the basic session first. Unlike in a Windows 10 VM, you can't switch between basic and enhanced sessions.
When you sign in to an enhanced session, you'll see an Xorg dialog box, where you enter the credentials for your Ubuntu account. Enter the username and password exactly as you created them, and you should find yourself working in a full-screen session, exactly as if you had booted into Ubuntu Linux.
Windows 10 tip: How to enable Hyper-V and create virtual machines
Windows 10 tip: Quickly create a virtual machine to test new features
In recent feature updates to Windows 10, the Hyper-V Manager includes an option to create a new virtual machine from a single dialog box. Be sure to check these four settings before you use this one-click option.
Windows 10 tip: Turn off Cortana completely
In the Windows 10 Anniversary Update, version 1607, Microsoft removed Cortana's on-off switch. But it's still there, if you know where to look. Use this tweak to make Windows search strictly local.
Windows 10 tip: Shut down OneDrive completely
In Windows 10, OneDrive is built in. The connections are so tight, in fact, that OneDrive has its own node in File Explorer, with no obvious way to remove it. But the options to disconnect OneDrive are there if you know where to look. Here are the full instructions.