Monday, 23 December 2013

What is Terminal Services (Remote Desktop Services)
Starting with Server 2008 R2, Terminal Services has been renamed to Remote Desktop Services. RDS, as it is abbreviated, allows you to have a powerful server that all your users connect to using the Remote Desktop Protocol (RDP). You can think of it as a computer that lots of people remote desktop into at the same time, however they all have there own user session and desktop, and are completely unaware of each other. All you applications are installed once and available for any user to run. The user can remote into the server using the Remote Desktop Connection Manager included in Windows or more often than not can connect from thin clients, in fact they can connect from anything that implements the Remote Desktop Protocol.  If you are looking to save money and already have old machines, you should look at the recently launched OS from Microsoft called Windows Thin PC, which essentially turns your machines into thin clients.
Things to Watch Out For:
·         Application Licensing: Not any application can be installed on a Remote Desktop Server. A prime example is Office 2010. If you want to install Office on a RDS Server you will need the Volume License version, or you wont be able to install it
·         Client Access Licenses: Connecting to a RDS Server also requires licenses in the form of Per User or Per Device Client Access Licenses, this is what allows more than a single user to remote into the server. Although you will still need to purchase licenses, buying CALs is way cheaper than buying everyone a new Windows 7 license.
Note: The applications you wish to run on the Remote Desktop Server should not yet be installed, they should only be installed once you have installed the Remote Desktop Session Host Role.
Installing Remote Desktop Services
Open the Server Manager and right-click on roles, select Add Roles from the context menu.
Click next on the Before You Being page to bring up a list of Roles that can be installed, select Remote Desktop Services and click next.

On the Introduction To Remote Desktop Services page click next, this will bring you to the Role Services page, select the Remote Desktop Session Host as well as the Remote Desktop Licensing Service and then click next.

When you get to the application compatibility page it tells you that you should install the Session Host Role before you install your applications, just click next as we have not yet installed our applications. You are then asked if you want to require NLA, this will only allow Windows clients to connect to the Remote Desktop Session Host Server, in addition they must be running a Remote Desktop Client that support Network Level Authentication. I will go ahead and require NLA and then click next.

Now you have to choose a licensing method, most of you guys wont have Remote Desktop Client Access Licenses, so you can leave your option at Configure Later this will give you unlimited access to the Remote Desktop Server for 4 Months (120 Days). However, if you do have licenses here is some information help you make your choice:
Licensing Modes
The licenses you purchased can be used either as Per User or Per Device. It is purely up to you, however if you already have a RDS Licensing Server you will have to choose the same option you chose when importing the licenses originally.
·         RDS Per User CAL –  This means that every user that connects to the RDS Server must have a license. The user is assigned the license rather than the devices that he/she connects to the server from. This mode is a good choice if your users want to connect from a lot of different computers or devices (iPad, Home PC, Laptop, Phone etc)
·         RDS Per Device CAL – If your users share a common workstation this is the mode for you, the license is given to the device rather than the users, this way many people can connect from a single device. However, if they try to connect from a different device they will not be able to since their user account doesn’t have a license.
I will leave mine at configure later and click next.

Now you should specify who can connect to the Remote Desktop Server, I will just add my user account (Windows Geek), then click next.

You are now given the option of making the RDS Server look and act more like Windows 7, this is to avoid users getting confused when they see the classic theme. I will enable the all the settings, it requires more bandwidth though, so take your network traffic into account before going click-happy and selecting everything. Once you have made your choice click next.

Since we are running Server 2008 R2, we don’t need to specify a Discovery Scope so just click next again.

Finally you can click on install.

Once installation is complete, reboot your server, when you log in the configuration will complete. That’s all there is to installing a Remote Desktop Server.
Activation
If you need to install your licenses you can do it through the RD Licensing Manager. You will need to activate the Server first though. I wont go through this, as it is self-explanatory.

Once you have installed you Licenses you will need to specify a license server for the RDS Session Host to use, to do this, open the RDS Session Host Configuration MMC

When the console opens double-click on the Remote Desktop license servers link.

Now you can specify your licensing mode and then hit the add button to specify a licensing server.

As I said before, you can skip this activation section and use Remote Desktop Services for 120 Days before you need to purchase a CAL. Once you have done this you will need to install your applications. However you cant just install them in any fashion you want, there is actually a special method for installing applications on a Remote Desktop Server.

Tuesday, 3 December 2013

How to Image With Windows Deployment Services (WDS)

In this post we will see how to install and configure Windows Deployment Services. Windows Deployment Services is a technology from Microsoft for network-based installation of Windows operating systems. In windows server 2003 it was called as Remote Installation Services (RIS). The purpose of WDS is to remotely deploy the windows operating systems, Windows Deployment Services role in server 2008 R2 enables you to efficiently deploy Windows operating systems, particularly Windows 7, Windows Vista and Windows Server 2008 R2. Windows Deployment Services role can be used to set up new computers through a network-based installation without the IT Professional having to be physically present at each computer and without having to install directly from CD or DVD media.

On the server where you are installing Windows Deployment Services role, launch the Server Manager, right click on Roles, click on Add Roles. On the Server Roles page, select Windows Deployment Services. Click on Next.
On the Role Services page, the Deployment Server and Transport Server roles are checked by default. Click on Next.

Once the installation is complete click on close.

If you are looking for command line installation of WDS server, then use the below command.
Open the powershell and run the command ServerManagerCmd -install WDS.

Click on Start, click on Administrative Tools, click on Windows Deployment Services. On the WDS console, expand Servers, right click on the WDS server and click on Configure Server.

Read the requirements once before you click next.

Choose the Remote Installation Folder location on other drive. The folder contains the boot images, install images, so make sure this drive has enough space to hold the data. Click on Next.

Select Respond to all client computers (known and unknown). Click on Next.
Uncheck the checkbox for Add images to the server now. We will add the images in the next step. Click Finish

In this step we will add Boot Image and Install Image. Boot images are images that you boot a client computer into to perform an operating system installation. To add the boot image, right click Boot Images and click on Add Boot Image

Browse to the location where the operating system installation files are stored. In this example we will importing boot.wim from windows 7 professional SP1 64 bit DVD as boot image. The boot.wim file can be found under folder named Sources. Select boot.wim and click on Open.
Enter the name for the boot image. Click on Next.
We have imported or added a boot image to our WDS server. Click on Finish.

.The boot image can be seen under Boot Images folder.

To add the Install image, right click Install Image, click on Add Install Image, provide a name and create a new Image Group. Click on Next.

Now we have to select and add the Install image. Install images are the operating system images that you deploy to the client computer. Click on Browse and the select Install.wim. Click on Open.

In the below screenshot we will select all the editions of windows 7 that are listed. click on Next.

Click on Finish to close the Add Image Wizard.
Lets configure the WDS server properties now. Launch the Windows Deployment Services Console, right click the WDS server and click on Properties. Click on Boot and make sure Require the user to press the F12 key to continue the PXE boot is selected for known and unknown clients.

Click on PXE Response and make sure that Respond to all client computers (known and unknown) is selected. Click on Apply and Okay.
In the next post we will look at steps to deploy an image using WDS and also to capture it.