Last updated by at .

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

Tag: Windows 10

Bash on Windows 10

How to Install Linux Bash on Windows 10

With the Windows 10 Anniversary Update, which was released by Microsoft in Summer 2016, Microsoft included a Windows Subsystem for Linux in Windows 10. This allows you to enable Bash on Windows 10. In this blog post I quickly want to show how you can enable the Windows Subsystem for Linux on Windows 10. This is great if you want to use some Linux tools on your Windows 10 machine. I use it for example to use SSH to connect to Linux Virtual Machines on Azure.

First you have the following requirements:

  • Windows 10 Anniversary Update – Windows 10 Build 14393 and higher
  • 64-bit versions of Windows 10
  • Internet Connection to download the Windows Subsystem for Linux in Windows
  • Active Developer Mode in Windows 10

First enable Developer Mode There are two option you can do this

Open the Settings App, go to Update & Security, go to For developers and enable Developer mode:

Windows 10 - Developer Mode

You can also use the following PowerShell command to enable Developer Mode:

After this you can enable the Windows Subsystem for Linux as a Windows Feature in the Control Panel or PowerShell

Windows 10 - Windows Subsystem for Linux

Run the following PowerShell command to enable the Windows Subsystem for Linux:

Enable Windows Subsystem for Linux using PowerShell

After that you will need to restart your computer.

Now you can open up PowerShell or the command prompt and start using bash. (You can also start Bash directly from the Start Menu)

Bash on Windows 10

Hope this helps you to get started.

 



diskpart-usb-drive

Create a USB Stick for Windows Server 2016 Installation

If you have download the latest version of Windows Server 2016 you can create a USB stick to install it on a physical server.

For UEFI Systems:

  • The at least a 8GB USB drive has to be formatted in FAT32
  • The USB needs to be GPT and not MBR
  • Copy all files from the ISO to the USB drive

diskpart-usb-drive

This is it, and here is how you do it:

First plugin your USB drive to your computer. The USB drive should be bigger than 6GB.

Open a CMD prompt or PowerShell using the Run as Administrator option and open diskpart. Now you can do list all this by using

Select the USB disk, in my case this was disk 1

Clean the disk. Be careful this will remove all files and partitions on the USB media.

Now convert it to GPT

Create a new primary partition. But make sure the partition is not greater than 16GB otherwise it can be formatted with FAT32.

Format the partition with FAT32

Assign a drive letter to the volume

now you can exit the diskpart and copy all files from the Windows or Windows Server to the USB drive and boot it. This works with Windows 8, Windows 8.1, Windows 10, Windows Server 2012, Windows Server 2012 R2 and Windows Server 2016 or even Hyper-V Server in the same editions.

For MBR systems:

  • The at least a 8GB USB drive has to be formatted in FAT32
  • The USB needs to be MBR
  • Partition need so be set active
  • Copy all files from the ISO to the USB drive

diskpart-usb-drive-mbr

 

This is it, and here is how you do it:

First plugin your USB drive to your computer. The USB drive should be bigger than 6GB.

Open a CMD prompt or PowerShell using the Run as Administrator option and open diskpart. Now you can do list all this by using

Select the USB disk, in my case this was disk 1

Clean the disk. Be careful this will remove all files and partitions on the USB media.

Create a new primary partition. But make sure the partition is not greater than 16GB otherwise it can be formatted with FAT32.

Format the partition with FAT32

Set Active

Assign a drive letter to the volume

now you can exit the diskpart and copy all files from the Windows or Windows Server to the USB drive and boot it. This works with Windows 8, Windows 8.1, Windows 10, Windows Server 2012, Windows Server 2012 R2 and Windows Server 2016 or even Hyper-V Server in the same editions.

 

Important:

If Install.wim is larger than 4GB, you cannot copy the file to the drive, because of theFAT32 based partition limitation. The solutions for this is to split the wim file into smaller files.

split wim file using dism (you may have to change the drive letters):

 



Thomas Maurer Speaking

Speaking at IT/Dev Connections in Las Vegas

Today I am really proud to announce that I will be able to speak at IT/Dev Connections Conference in Las Vegas from 10-13 October 2016. Widely recognized for the depth and objectivity of its content, IT/Dev Connections training sessions teach developers and IT professionals the skills they need to do their jobs better. Its speakers include the most knowledgeable and accomplished developers, technology experts, and strategists in the industry. Covering everything from Microsoft’s roadmap and strategy to detailed best practices, these hands-on experts take attendees through the entire planning and implementation process, providing specific guidance across all perspectives.

ITDev Connections

In two break out sessions I will talk about new features in Windows Server 2016 and the Microsoft Cloud. I will also deliver a half-day pre conference workshop about Windows Server 2016, so you can learn all you need to know about the up coming Windows Server release.

Workshop

Workshop: Windows Server 2016 - Get Ready for the Next Generation of Windows Server

Monday, October 10, 2016: 8:00 AM – 12:00 PM – Windows Server 2016 is an upcoming server operating system from Microsoft developed concurrently with Windows 10 and as part of the Windows NT family of operating systems.Windows Server 2016 will be released between September 26 to 30, 2016 at Microsoft’s Ignite conference. While Ignite will provide high level overviews, Thomas Maurer (Microsoft MVP) will use this workshop at IT/Dev Connections 2016 to give you the very first chance to get instruction on how to actually use all the highly anticipated innovations and secret improvements in Windows Server 2016 including: Hyper-V 2016 Nano Server Storage Spaces Direct Storage Replica Windows Server Containers …And more!

Breakout Sessions:

Nano Server - The Future of Windows Server

Tuesday, October 11, 2016: 1:15 PM – 2:30 PM – Nano Server is the future of Windows Server. With Nano Server Microsoft created the foundation for Windows Server for the next 20 year. In this session you will get an overview about Nano Server and see some great live demos how you can deploy, manage and operate Nano Server as well as creating applications for it. Get a better understanding of Nano Server and see how you deploy, manage and operate it.

The best of Windows Server 2016: The New Foundation of your Datacenter

Wednesday, October 12, 2016: 3:00 PM – 4:15 PM – 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!

I am really looking forward to IT/Dev Connections and hopefully see you there!

 

 

 

 



Windows Defender PowerShell

How to disable and configure Windows Defender on Windows Server 2016 using PowerShell

Windows Server 2016 comes standard with built-in Anti-Malware called Windows Defender like Windows 10 Client. And per default, Windows Defender is active and has also turned on Real-Time Protection by default. In Windows Server 2016 Desktop Experience you can disable and configure Windows Defender using the UI or PowerShell, in the Windows Server 2016 Core version or on Nano Server you only have PowerShell available. Here are some quick command how you can do this:

Check the Windows Defender Configuration and Settings:

Turn off Windows Defender Real-Time Protection using PowerShell

Turn onWindows Defender Real-Time Protection using PowerShell

Add a File path exclusion:

Add process exclusion

 

I hope this helps you to easily configure Windows Defender on Windows Server 2016. Btw. This also works on Windows Defender on Windows 10.



HoloLens

My Microsoft HoloLens arrived – First Impressions

A while back Microsoft announced the Microsoft HoloLens and Windows 10 Holographic, which allows you to work with holograms. Last week my HoloLens finally arrived at my door step. And I had the chance to play with it a little bit over the weekend. I already had the chance to try it the first time a couple of weeks ago when I was speaking at the ITPro.ru event in Cluj. But since then Microsoft released a bigger update to HoloLens with some new feature like Bluethooth keyboard pairing, better voice commands, app improvements and much more.

Unboxing and Setup of the Microsoft HoloLens

HoloLens Package

The Microsoft HoloLens comes in a nice designed and large box with good quality. Basically what you can expect from a premium device which is not that cheap. You also get the HoloLens Clicker which you can pair with your HoloLens to click on things instead of using the click gesture.

HoloLens Box

I was quite surprised that the getting started guide only shows how you wear it and how you turn it on and off, but to be honest, that is all you need since the first setup and calibration experience is very easy, self-explaining and very nice designed.

 

Using Microsoft HoloLens

HoloLens Startmenu

To be honest, since this was the developer edition of HoloLens and it was still one of the first devices and software versions released to the public, I expected thing to be much more difficult and unstable. But already this release for me seems to be pretty good and usable. Even my mum and my dad, which are not really computer nerds, had no problems using it after only a couple of minutes.

To use it you simply look at things, use hand gestures, voice commands or paired Bluetooth devices for input. Especially the voice command and the gestures were working without any problems, things are recognized instantly and with no lag or misbehavior.

HoloLens Package

With the bloom gesture you can get a holographic start menu where you can find all the apps and Cortana, you can simply start an app by tapping on it. After that the app starts as a new hologram and you can first place it somewhere in the room. You can also size it and make sure it is at the right place, for example if you want to pin your Microsoft Edge Browser or pictures to the wall.

HoloLens Hyper-V

You get some default apps but you can also get some apps from the Windows Store. For me I downloaded the Mail and Calendar app and the Remote Desktop App. This allows me to manage my Hyper-V Servers directly from a hologram.

Vision and View

HoloLens Holograms

The view is surprisingly good, even the pictures I made to not really show this quality, but when you wear it the resolution and sharpness etc. are not really a problem.

One of the things you will notices is that the windows you can really see holograms is smaller than your normal viewing angle. So for example if a hologram is on the right edge of your view you can’t see it. But to be honest you get used to this very quickly.

Overall HoloLens Experience

Thomas Maurer HoloLens

So this was a quick summary of my first impressions of the Microsoft HoloLens. I have to be honest, I didn’t expect it to work that good. Microsoft HoloLens really works like Microsoft is advertising it. It is not just a crazy prototype device anymore, it is real. And I really can’t wait to see what developers do with the possibly Microsoft HoloLens offers to them.



Surface Hub Skype Meeting

My Microsoft Surface Hub Review

Last week we finally go our Microsoft Surface Hub for our itnetX office in Bern and I had the chance to do some testing. The Surface Hub is an interactive whiteboard developed by Microsoft ideally for business meetings. Before I get started let me show you the specs for the Surface Hub devices. Microsoft offers two models right now, a 84-inch model and a 55-inch model.

Microsoft Surface Hub

The Surface Hub 84” model is ideal for medium and large conference room and it allows three people to comfortably interact with the screen simultaneously. The 84” version has also a 4K resolution, an Intel i7 processor, 128GB SSD, 8GB of RAM and a NVIDIA Quadra K2200 graphics card. The Surface Hub 55” model is perfect for smaller conference rooms and in work environments where you’ll move your Surface Hub into different spaces. The 55” model comes with a Full HD resolution, an Intel i5 processor, 128GB SSD, 8GB of RAM and integrated Intel graphics.

Surface Hub Keyboard Surface Hub Pen

Both model feature a 100-point multi-touch display, 2 passive Infrared Presence Sensors, Ambient Light Sensors, 2 front-facing stereo speakers, 2 wide angle HD cameras, active pen support, Windows 10 and a wireless keyboard. To see the full specs of both devices check out the Microsoft Surface Hub website.

My first impression of the Surface Hub

Surface Hub Welcome Screen

My first impression was the Surface Hub looks great, it is perfect for every meeting room and it is very easy to use. The quality of the devices is, as usual for Microsoft Surface devices, really great and feels like a high quality premium device. When you come in come in the conference room use first see the big screen and showing the time, the next scheduled meetings and the most important apps like the whiteboard, wireless screen sharing.

Different Meeting Options

Surface Hub Startscreen

The Microsoft Surface Hub offers different meeting options. You can use it for in person meetings in the meeting room as a beamer replacement or wireless display for your notebook, as a whiteboard or use other apps like Office (Word, Excel, PowerPoint), Maps app or many more to come. The other thing the Surface Hub does very well is video conferencing using Skype for Business using the same apps and features.

The Surface Hub works perfectly with different deployment types

Perfect for in-person meetings

Surface Hub Whiteboard

If you are using the meeting room for a meeting with persons in the room, the multi touch screen and the apps are great. I really like the whiteboard app which allows you to draw diagrams and other stuff. A nice feature is that when you take on of the pens out of the holder it automatically open ups the whiteboard app and you can immediately start drawing. You can also use the screen as a display for your notebook as beamer replacement.

Surface Hub Screen Sharing

You can use the screen as a wireless display using Windows 10, Windows 8 or Windows 10 Mobile and of course the display also features cable input for DisplayPort, HDMI or VGA. If you use the wireless display connection in Windows 10 you can also allow input from the Surface Hub screen back to your Windows 10 computer. For example you project your screen to the Surface Hub to show a PowerPoint slide deck for example, you can stand up and touch the screen for the next slide or draw on the slide it self. By the way, connecting wirelessly is very fast, I used several different devices to connect with my Windows 10 devices using Miracast, like the Xbox One or the Microsoft Wireless Adapter, but none of the devices connected as fast as to the Surface Hub.

 

And of course this also works with other devices supporting Miracast like Windows 10 Mobile (especially cool with the Windows Continuum feature) and for example Android smartphones.

Skype for Business Video Conferencing

Surface Hub Skype for Business

The other great scenario is using the Microsoft Surface Hub for conference calls. You can join Skype for Business Meeting adding the Surface Hub device as a resource and it will automatically show the Skype for Business Meeting and you can join the meeting. You can also just invite other people using sending Skype for Business invites or using phone numbers to call them. You can also add the Surface Hub to an existing Skype for Business meeting or call your Surface Hub using a phone number. The two wide angle Full HD video cameras are great and show the whole meeting room. If there is a single attendee in the room the camera also focus on him and follows him instead of showing the whole room.

Surface Hub Wireless Display 1

The great thing here is that you again can use the same features and apps like the whiteboard, screen sharing and the apps. For example one scenario can be that several people sitting in the meeting room and one of the shares the screen to the Surface Hub, the Surface Hub is joined to a Skype for Business meeting with some remote attendees. The screen of the Surface Hub, showing the screen of the notebook of attendee in the meeting room is also shared with the Skype for Business remote attendees. Or you can see the screen sharing or presentation of remote attendees.

Surface Hub Call Skype User

The most important thing here is, that is very easy and simple to use and it just works as expected. It looks like we are getting now more Surface Hubs for all the different office locations, so we can do meetings between the office in Bern and Zürich.

Cleaning up a meeting

Surface Hub Cleanup

Now setting up a meeting or joining a meeting is really simple, and basically everything is possible. But what after the meeting is finished? You can very simple clean up your workspace and everything is gone, and no one can access your data.

Apps for the Surface Hub

Surface Hub Apps

As mentioned the Surface Hub comes with different apps like the whiteboard which lets you also do drawings, Office which lets you to use office documents like Word, Excel or PowerPoint and you also have the Maps app and the Microsoft Edge browser available. The Apps for the Surface Hub seem to be limited right now, but my guess is that Microsoft will soon enable the Windows Store to let you download and install apps on the Surface Hub. Microsoft has some example of apps on there Surface Hub website.

You can open Office documents from SharePoint, OneDrive, OneDrive for Business or SharePoint Online using Office 365 or connected USB devices directly from the Surface Hub, or you can share them from your notebook using screen sharing.

Overall Impression

The Surface Hub is an amazing device and we are very happy with the it, the device is great, works very easy and simple and it adds a lot of value to your meetings. If you ever have done a meeting using the Surface Hub you really want to have one for your self. If you have more question about the Surface Hub and his features and functionality just leave a comment.

 



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.