Last updated by at .

  • What's new in Hyper-V 2016
  • Microsoft Azure

Category: Windows

VCNRW Nano Server and Container

Video: VCNRW – Virtualization Community NRW recording about Nano Server and Windows Containers

A couple of weeks ago I had the chance to speak at the VCNRW – Virtualization Community NRW community event at the Microsoft Offices in Cologne. The recording of this session (in German) is now available on Microsoft Channel 9.

Nano Server and Containers (on Microsoft Channel 9)

Have a look at the latest Cloud Technologies from Microsoft. Learn about the next Microsoft Cloud Platform Server called Nano Server and Windows Containers. Both solutions are built for the future and will fundamentally change how we do IT. Learn why we need Nano Server and Windows Containers and how we deploy, manage and operate them.



cmd clip

Pipe cmd prompt commands into the clipboard

This is a very all but very useful command if you work with the Windows Command Prompt. This allows you to output text from commands into the Windows clipboard.

Scott Hanselman from Microsoft just reminded the community about this feature, which is available in Windows since Windows Vista.

PowerShell v5 got some similar command using Set-Clipboard and Get-Clipboard.



SurfaceBook

10 reasons why the Surface Book is great for IT Pros

As I mentioned in my little Surface Book review a couple of days ago, I really like the Microsoft Surface Book and it is my daily driver since November 2015. The Surface Book has a lot of reasons why it is a great device, but I want to highlight  some reasons why it is not only a great device for artists, but also for the IT professionals.

The performance is incredible

SurfaceBook

As many of you know I am using my Surface Book for a lot of demos and also testing a lot of stuff. I run Hyper-V on my Windows 10 machine and it is extremely fast. Virtual Machines boot up in just a couple of seconds and if you for example run the new Nano Server in a Virtual Machine, the installation of a new Nano Server Virtual Machine is done in under 3 seconds. If you want to run more Virtual Machines on your device, make sure you get the 16GB RAM model. Not only do you get plenty of power with the Intel Core i5 or Core i7 chip, the NVMe SSD disk is blazing fast and can be up to 1TB.

The touchscreen with the pen support is great

Surface Pro and Surface Book

If you have a touch screen machine you just get used to use your fingers while browsing or writing stuff down in OneNote. The pen is just perfect for taking notes or doing presentations or workshops with customers. Since I got my first Surface device, I never really used a whiteboard or something like that. I just used OneNote and a projector to draw and after the meeting I could easily sent the drawings to all the attendees.

Tablet Mode can be handy

Surface Book Tablet Mode

I wouldn’t consider myself as a huge tablet user, but there are several scenarios where you will love the possibility to convert your Surface Pro or Surface Book into a tablet. For my job I travel a lot and I realized, I used the tablet mode a lot while for example being in a plan or train, to just read some stuff or watch movies. This is also really handy if you sit at home in front of the TV or if you are in a hotel room and just wanted to watch some Netflix, before you go to sleep. But there are two other very useful scenarios for me. The first one is while I am doing presentations for customer I use the Surface Pen a lot, but instead of sitting in front of my Surface Book, I can take the keyboard of and walk around while doing the presentation and draw on my Surface. The second one is when I am in a meeting and I want to take handwritten notes, the tablet mode is perfect, I can just use it as a piece of paper, which makes it much more attractive to write on and also I am not hiding behind a computer screen. By the way, the tablet or screen it self is extremely light so even holding it with one hand is great.

Enterprise Security and Windows Hello

Surface Book Windows Hello

Well if you are working and traveling a lot, security is a very important part. Protecting your data using the Surface Book is very easy, since it comes with a TPM 2.0 chip you can encrypt your SSD and all the data stored on. The other thing I really like is the camera supporting face detection using Windows Hello. First I thought this feature is just a nice toy, but hey, I really got used to it, I just open my Surface Book and I get logged in without typing the password.

Battery Life is awesome

When did you get a thing and light device and you didn’t had to worry about battery life for a whole day? With the Surface Pro 3 I was very close to it, but the Surface Book finally gets me trough a whole day without the need to recharge. I get around 8-12 hours of battery life depending on the workload I am running. In the morning I can leave without a power supply and can work the whole day.

The Screen

Surface Book

This is another great feature of the Surface Book, the screen is sharp and the colors are amazing, but this is not the only reason I love the Surface Book screen. The Surface Book comes with a 13.5” PixelSense display with a 3:2 aspect ratio and a resolution of 3000 x 2000 (267 PPI). This gives you enough space on the screen to get some work done, without making the device to big. Especially the 3:2 aspect ratio is one thing I really like, especially while writing and reading.

Connectivity and accessories

Microsoft also adds a lot of great accessories to the Surface product line. The Surface Book comes with 2 USB 3.0 ports, a full-sized SD card slot, a headset jack, a Mini DisplayPort and a Surface Connect port, which allows you to connect the power supply or the Surface Docking station. It also used the latest Wifi and Bluetooth connections to connect wirelessly to networks or devices. The Surface Book comes also with great cameras, stereo microphones and speakers which make the device great for video or voice conference calls. But also the small things you will start to like, for example the additional USB port in the power supply, which allows you to charge other devices like your smartphone or your Microsoft Band, without having to carry another charger.

The Docking Station makes it a great workstation

Surface Book Home Office

If I am at home or in our company office I can connect the Surface Book to the Surface Docking Station, which turns it into a full workstation. At home I use 2 Dell 27” screens using the 2 Mini DisplayPort adapters on the Surface Docking station. I also like the additional USB 3.0 ports you get with the docking station.

Perfect device to travel

Surface Book Travel

The Surface Book and also the Surface Pro are in my opinion some of the best options if you travel a lot. First the devices are light and have a small footprint, so carrying them is easy. But they still have a lot of performance to run some heavy workloads where ever you are, and with the battery life you get, even long flights or long work days are not a problem at all. But what really makes it great, you just need one device, you don’t have to carry a notebook and a tablet to have all the options, you can simply unplug the keyboard and you can go from laptop mode to tablet mode. With Windows 10 owning a 2in1 or 3in1 devices makes even much more fun.

Deliver great presentation using the Wireless Display Adapter

Surface Book Presentation

As I mentioned before, I use the Surface Book for a lot of presentations and workshops. With the Microsoft Wireless Display Adapter you can even do this wirelessly, which makes especially workshops more interactive and fun.



Hyper-V Manager Windows 10 Build 14361

Hyper-V Manager just got some new Icons in Windows 10 Build 14361

Microsoft just released a new Windows 10 Insider Preview Build (14361) with a lot of different improvements. The also worked on some changes to the Hyper-V Manager. The Hyper-V Manager finally got some updated Icons. Hyper-V also introduced a new VM Configuration version 8.0 (from 7.1 in the latest Windows 10 and Windows Server 2016 Technical Preview 5 build)

Hyper-V Manager Icon:

Hyper-V Manager Icon Windows 10 Build 14361

Hyper-V Manager:

Hyper-V Manager Windows 10 Build 14361

Hyper-V Settings:

Hyper-V Settings Windows 10 Build 14361

Hyper-V VM Settings:

Hyper-V VM Settings Windows 10 Build 14361

There are also a lot of other improvements espeically to the UI, Windows Ink and they officially introduced Hyper-V Containers on Windows 10.

Introducing Hyper-V Container: You can now use Docker natively on Windows 10 with Hyper-V Containers, to build, ship and run containers utilizing the Windows Server 2016 Technical Preview 5  Nano Server container OS image. A new version of the Docker engine for Windows has also been made available that extends the support of containers while also improving the DockerFile syntax and getting started experience for users. For more details on how to get started with this check out the Windows container documentation or the Windows 10 Getting Started Guide.

 



E2EVC Lisbon

Speaking at E2EVC 2016 Dublin

In the past weeks I was traveling to many different Conferences such as MMS 2016 in Minneapolis, ITCamp16 in Cluj, VCNRW – Virtualization Community NRW in Cologne, Cloud & Datacenter Conference Germany in Düsseldorf, Microsoft NetWork 6 in Bosnia Herzegovina and many more. Today I am proud to say that I will speak at this weeks E2EVC in Dublin. Together with Michael Rüefli, I will speak about the best features in the upcoming Windows Server 2016 release.

The best of Windows Server 2016

Join this session for the Best of Windows Server 2016 — The New Foundation of your Datacenter. You’ll be one of the first to know about new, exciting improvements that are coming in Windows Server 2016 and how they’ll improve your day-to-day job. In this hour-long presentation Thomas Maurer (Microsoft MVP) will guide you through the highly anticipated innovations including: •Hyper-V 2016 features •Nano Server •Storage Spaces Direct •Storage Replica •Windows Server Containers •And more

E2EVC Virtualization Conference is a non-commercial, virtualization community event. The main goal of the E2EVC is to bring the best virtualization experts together to exchange knowledge and to establish new connections. E2EVC is a weekend crammed with presentations, Master Classes and discussions delivered by both virtualization vendors product teams and independent experts. I am happy to be part of the community and listen to other industry leading experts, hopefully see you in Dublin.



unatted xml file for VM

Add unattend.xml to VHDX File for VM automation

If you for example don’t have System Center Virtual Machine Manager or another tool to create Virtual Machine Templates and automate the deployment, you can also do this using Sysprep, PowerShell and an unattend.xml file to automate or simplify the Virtual Machine creation process. In other blog posts I already wrote how you can sysprep Virtual Machines or how you can create Hyper-V Virtual Machines using PowerShell. In this post I will show you how you can add an unattend.xml file to your VHD or VHDX so your virtual machine gets some default settings like regional information.

Here we have a basic unattend.xml file. If you want to enhance it, or create your own, you can also use the Windows ADK.

To use this unattend.xml you first have to sysprep a virtual machine and create a sysprep VHD file. After that you can mount the VHDX file and insert the unattend.xml file to the VHD. Copy the unattend.xml file to the following location: D:\Windows\Panther (in my case the VHD was mounted as D drive).

You can mount the VHDX using the UI or PowerShell:

There are more paths as well. You can check out the Windows Setup Automation Overview on TechNet where you can see all the possible paths to place the unattend.xml file.



sysprep.exe vm mode

Windows Sysprep for Virtual Machines

For using the same system image for different virtual machines or physical computer, Microsoft created a tool called sysprep.exe. Most people should be already familiar with that tool. If not here is the description:

Sysprep prepares a Windows installation (Windows client and Windows Server) for imaging, allowing you to capture a customized installation. Sysprep removes PC-specific information from a Windows installation, “generalizing” the installation so it can be reused on different PCs. With Sysprep you can configre the PC to boot to audit mode, where you can make additional changes or updates to your image. Or, you can configure Windows to boot to the Out-of-Box Experience (OOBE).

This is great so you can sysprep a virtual machine copy the VHD or VHDX file and use it for the first boot of different VMs. In Windows Server 2012 and Windows 8, Microsoft added an addition to sysprep called the mode switch “/mode:vm”. The mode:vm switch allows you to identify the Windows as a Virtual Machine and sysprep.exe will generalize a Virtual Hard Disk (VHD or VHDX) so that you can deploy the VHD as a VHD on the same Virtual Machine (VM) or hypervisor. You must deploy the VHD on a Virtual Machine (VM) or hypervisor with the same hardware profile. For example, if you created VHD in Microsoft Hyper-V, you can only deploy your VHD to Microsoft Hyper-V VMs with a matching hardware profile, and you can only run VM mode from inside a VM.

This will boost the performance and time for the virtual machine for the first startup and installation. This also work of course with virtual machines running on other hypervisors such as VMware or Xen.

Run the following command inside the Virtual Machine (You find sysprep.exe in the  C:\Windows\System32\Sysprep folder):

Now you can copy the VHD or VHDX file from that virtual machine and use it for other VMs.