Book Image

Mastering Windows Server 2016

By : Jordan Krause
Book Image

Mastering Windows Server 2016

By: Jordan Krause

Overview of this book

Windows Server 2016 is the server operating system developed by Microsoft as part of the Windows NT family of operating systems, developed concurrently with Windows 10. With Windows Server 2016, Microsoft has gotten us thinking outside of the box for what it means to be a system administration, and comes with some interesting new capabilities. These are exciting times to be or to become a server administrator! This book covers all aspects of administration level tasks and activities required to gain expertise in Microsoft Windows Server 2016. You will begin by getting familiar and comfortable navigating around in the interface. Next, you will learn to install and manage Windows Server 2016 and discover some tips for adapting to the new server management ideology that is all about centralized monitoring and configuration. You will deep dive into core Microsoft infrastructure technologies that the majority of companies are going to run on Server 2016. Core technologies such as Active Directory, DNS, DHCP, Certificate Services, File Services, and more. We will talk about networking in this new operating system, giving you a networking toolset that is useful for everyday troubleshooting and maintenance. Also discussed is the idea of Software Defined Networking. You will later walk through different aspects of certificate administration in Windows Server 2016. Three important and crucial areas to cover in the Remote Access role -- DirectAccess, VPN, and the Web Application Proxy -- are also covered. You will then move into security functions and benefits that are available in Windows Server 2016. Also covered is the brand new and all-important Nano Server! We will incorporate PowerShell as a central platform for performing many of the functions that are discussed in this book, including a chapter dedicated to the new PowerShell 5.0. Additionally, you will learn about the new built-in integration for Docker with this latest release of Windows Server 2016. The book ends with a discussion and information on virtualizing your datacenter with Hyper-V. By the end of this book, you will have all the ammunition required to start planning for and implementing Windows Server 2016.
Table of Contents (19 chapters)
Mastering Windows Server 2016
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Navigating the interface


Unfortunately, Microsoft turned a lot of people off with the introduction of Windows 8 and Server 2012, not because functionality or reliability was lacking, but because the interface was so vastly different than it had been before. It was almost like running two separate operating systems at the same time. You had the normal desktop experience, in which all of us spent 99.9% of our time, but then there were also those few moments where you found yourself needing to visit the full page Start menu. More likely you stumbled into it without wanting to. However you ended up there, inside that fullscreen tablet interface, for the remaining 0.01% of your Server 2012 experience you were left confused, disturbed, and wishing you were back in the traditional desktop. I am, of course, speaking purely from experience here. There may be variance in your personal percentages of time spent, but based on the conversations I have been involved with, I am not alone in these views. And I haven't even mentioned the magical self-appearing Charms bar. Some bad memories are better left in the recesses of the brain.

The major update of Windows 8.1 and Server 2012 R2 came as a welcome relief to these symptoms. There was an actual Start button in the corner again, and you could choose to boot primarily into the normal desktop mode. However, should you ever have the need to click on that Start button, you found yourself right back in the full page Start screen, which I still find almost all server admins trying their best to avoid at all costs.

Well, it turns out that Microsoft has been listening because the interface in Windows 10 and Windows Server 2016 seems to have found a very good balance.

The new Start menu

The first big difference you will recognize in Windows Server 2016 is the Start menu. There is a real Start button that now launches a real Start menu, and one that doesn't take over the entire desktop! Still skeptical? Here's a screenshot to prove it!

.

Now that is a breath of fresh air. A simple Start menu, and more importantly one that loads quickly over remote connections such as RDP or Hyper-V consoles. No more waiting for screen painting of the full Start screen. If you click on All Apps, as expected you see all of the applications installed and available for you to open on the system. Right-clicking inside the blue area of the Start menu gives you options for personalization and properties so that you can adjust the location and presentation of the Start menu and taskbar to your liking.

The hidden Admin menu

As nice as it is to have a functional Start menu, as a server administrator I still very rarely find myself needing to access the traditional menu for my day-to-day functions. This is because many items that I need to access are quickly available to me inside the context menu, which opens by simply right-clicking on the Start button. This menu has been available to us since the release of Windows 8, but many IT professionals are still unaware of this functionality. This menu has become an important part of my interaction with Windows Server operating systems, and hopefully it will be for you as well. Right-clicking on the Start button shows us immediate quick links to do things like open the Event Viewer, view the system properties, check Device Manager, and even shut down or restart the server. The two most common functions that I call for in this context menu are the Run function and opening the Command Prompt. Even better is the ability from this menu to open either a regular user context Command Prompt, or an elevated/administrative Command Prompt. Using this menu properly saves many mouse clicks and shortens troubleshooting time.

Alternatively, this menu can be invoked using the WinKey + X keyboard shortcut!

Using the Search function

While the hidden context menu behind the Start button is useful for calling common administrative tasks, using the search function inside the Start menu is a powerful tool for interfacing with literally anything on your Windows Server. Depending on who installed applications and roles to your servers, you may or may not have shortcuts available to launch them inside the Start menu. You also may or may not have desktop shortcuts, or links to open these programs from the taskbar. I find that it is commonly difficult to find specific settings that may need to be tweaked in order to make our servers run like we want them to. The Control Panel is much more complex than it used to be, and navigating through it with a mouse in order to find a specific setting can take a lot of extra time. All of these troubles are alleviated with the search bar inside the Start menu. By simply clicking on the Start button, or even easier by pressing the Windows key (WinKey) on your keyboard, you can simply start typing the name of whatever program or setting or document that you want to open up. The search bar will search everything on your local server, and present options to you for which application, program, or even document to open.

As a most basic example, press WinKey on your keyboard, then type notepad and press the Enter key. You will see that good old Notepad opens right up for us. We never had to navigate anywhere in the Programs folder in order to find and open it. In fact, we never even had to touch the mouse, which is music to the ears for someone like me who loves doing everything he possibly can via the keyboard.

An even better example is to pick something that would be buried fairly deep inside Settings or the Control Panel. How about changing the amount of time before the screen goes to power save and turns itself off? The traditional server admin will open the Control Panel, probably navigate to the Appearance and Personalization section because nothing else looks obviously correct, and still not find what they were looking for. After poking around for a few more minutes, they would start to think that Microsoft forgot to add in this setting altogether. But alas, these power settings are simply moved to a new container, and are no longer accessible through Control Panel, whatsoever. We will discuss the new Settings screen momentarily in this chapter, but ultimately for the purposes of this example you are currently stuck at the point where you cannot find the setting you want to change. What is a quick solution? Press your WinKey to open the Start menu, and type monitor (or power, or just about anything else that would relate to the setting you are looking for).

You see in the list of available options showing in the search menu one called Choose when to turn off the screen. Click on that, and you have found the setting you were looking for all along.

You will also notice that you have many more options on this Search screen than what you were originally searching for. Search has provided me with many different items that I could accomplish, all relating to the word monitor that I typed in. I don't know of a more powerful way to open applications or settings on Windows Server 2016 than using the search bar inside the Start menu. Give it a try today!

Pin programs to the taskbar

While Windows Server 2016 provides great searching capabilities so that launching hard-to-find applications is very easy, sometimes it's easier to have quick shortcuts for commonly used items to be available with a single click, down in the traditional taskbar. Whether you have sought out a particular application by browsing manually through the Start menu, or have used the Search function to pull up the program that you want, you can simply right-click on the program and choose to pin to the taskbar in order to stick a permanent shortcut to that application in the taskbar at the bottom of your screen. Once you have done this, during future logins to your session on the server, your favorite and most used applications will be waiting for you with a single click.

As you can see in the following screenshot, you also have the ability to pin programs to the Start menu, which of course is another useful place from which to launch them regularly.

Many readers will already be very familiar with the process to pin programs to the taskbar, so let's take it one step further to portray an additional function you may not be aware is available to you when you have applications pinned.

The power of right-click

We are all pretty familiar with right-clicking in any given area of a Windows operating system in order to do some more advanced functions. Small context menus displayed upon a right-click have existed since the mouse rolled off the assembly line. We often right-click in order to copy text, copy documents, paste the same, or get into a deeper set of properties on a particular file or folder. Many day-to-day tasks are accomplished with that mouse button. What I want to take a minute and point out is that software makers, Microsoft and otherwise, have been adding even more right-click functionality into application launchers themselves, which makes it even more advantageous to have them close at hand, such as inside the taskbar.

The amount of functionality provided to you when right-clicking on an application in the taskbar differs depending on the application itself. For example, if I were to right-click on Command Prompt, I have options to either open Command Prompt, or to Unpin this program from taskbar. Very simple stuff. If I right-click again on the smaller menu option for Command Prompt, I have the ability to perform the same functions, but I could also get further into Properties, or Run as administrator. So I get a little bit more enhanced functionality the deeper I go.

However, with other programs you will see more results. And the more you utilize your servers, the more data and options you will start to see in these right-click context menus. Two great examples are Notepad and the Remote Desktop Client. On my server, I have been working in a few text configuration files, and I have been using my server in order to jump into other servers to perform some remote tasks. I have been doing this using the Remote Desktop Client. Now, when I right-click on Notepad listed in my taskbar, I have quick links to the most recent documents that I have worked on.

And when right-clicking on my RDP icon, I now have quick links listed right here for the recent servers, which I have connected to. I don't know about you, but I RDP into a lot of different servers on a daily basis. Having a link for the Remote Desktop Client in the taskbar, automatically keeping track of the most recent servers I have visited definitely saves me time and mouse clicks as I work through my daily tasks.

These right-click functions have existed for a couple of operating system versions now, so it's not new technology but it is being expanded upon regularly as new versions of the applications are released. It is also a functionality that I don't witness many server administrators utilizing, but perhaps they should start doing so in order to work more efficiently, which is why we are discussing it here.

Something that is enhanced in the Windows 10 and Server 2016 platforms that is also very useful on a day-to-day basis is the Quick access view that is presented by default when you open File Explorer. We all know and use File Explorer and have for a long time, but typically when you want to get to a particular place on the hard drive or to a specific file, you have many mouse clicks to go through in order to get to your destination. Windows Server 2016's Quick access view immediately shows us both recent and frequent files and folders, which we commonly access from the server. We as admins often have to visit the same places on the hard drive and open the files time and time again. Wouldn't it be great if File Explorer would lump all of those common locations and file links in one place? That is exactly what it does.

You can see in the following screenshot that opening File Explorer gives you quick links to open both frequently accessed folders as well as links to your recent files. A feature like this can be a real time saver, and regularly making use of these little bits and pieces available to you in order to increase your efficiency portrays to colleagues and those around you that you have a real familiarity and comfort level with this latest round of operating systems.