Configure Remote Desktop Services on Windows Server 2012 R2

Follow me Before we being the article obvious from the Title, lets try and answer a simple question first, What are Terminal Services or Remote Desktop Services? Terminal Services provides the ability to host multiple, simultaneous client sessions on Windows Server Terminal Services is capable of directly hosting compatible multi-user client desktops running on a variety of Windows-based and non Windows-based computers. Organizations are always searching for ways to reduce the costs of ownership and this is one of the major goals of Terminal Services. Terminal Services lets enterprises more easily and cost-efficiently accomplish this goal by allowing organizations to: Centrally deploy and manage Windows-based applications.   Now that we have breiefly explain about Remote Desktop services, lets start building a remote Desktop server on a Windows 2012 R2 Host. A step by step guide to build a Windows 2012 R2 Remote Desktop Services deployment. RDS, (Remote Desktop Services) 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 their own user session and desktop, and are completely unaware of each other. All 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.   Things to Watch Out For: Application Licensing: Not every application can be installed on a...

Promoting W2k12R2 ADC in Existing W2k8 Domain

Follow me The question to be  asked is, Why do we need to add additional Domain Controller? This answer is very simple: “for services redundancy” or “for domain authentication improvement in remote Site”. In case of single Domain Controller failure, we still have another one which can provide authentication services in our network, which avoids business discontinuity. So we assume that you already have an existing Windows 2008/ R2 or Earlier domain controller in place and also you have a Fresh New Windows 2012 R2 Box ready to get promoted as a ADC. As its going to be a DC, its fairly important that it should have a static IP address of same subnet or a routable subnet to an existing DC. Also don’t forget to point this new W2k12 server to existing domain controller (in our case 2k8 server) IP address.   In this Example the Domain Controller is using 192.168.0.253 IP. And On the system we are promoting Additional Domain Controller the IP is- 192.168.0.252, so we are going to point this new server to existing domain controller for DNS, as in screenshot below.   Since DCPROMO is no more there.. I mean… the option is replaced in Windows Server 2012 R2 So the way to promote a server to a domain controller has been changed. Refer below As the first step lets pull up the Server Manager.     Microsoft has designed Windows Server 2012 keeping in mind Cloud Computing… And this is one fine example after Storage Pool is this page… So let`s assume that you have to deploy a domain controller on another location. What all options do you...

Unable to Change IE Zone Security Settings

Follow me Recently experienced an issue where the IE Zone Security settings for Internet zone were set to High, and are unable to modify it. The Default Level button is grayed out, and when we click on Custom Level, it only showing High (default) as an option. You may have noticed that the High is set to default, and we have no other options to choose from. In order to fix the issue, you can simply reset the IE settings to default. Follow the steps to do so. 1. Open Internet Options. (Window key + R – Type: inetcpl.cpl and press OK) 2. Click on Advanced then click on Reset Button. 3. Press OK on the next screen, and than close the Internet Options window. Now, launch the Internet Options again, and go to Sites, you have all the default options available. Please feel free to reply with your comment if any questions. You can also visit Pledge Technologies for paid technical support. Follow...

IE Proxy Setting Keeps Changing

Follow me I worked on an issue recently where the IE Proxy Setting would keep on enabling by itself no matter how many times you disable them. I googled on the issue and found numerous articles and posts suggesting different solution, and none of them worked. I ended up running multiple scans to check for any Malware, Adware, Virus, and Spyware etc., and all would may show that there is problem, and is fixed. However, every time I disable the IE Proxy Setting, it would enable again all by itself. Solution: After spending hours, here is how I resolved it, and I’m sure that you’ll be able to do it by yourself. Please note that this article applies to all version of Microsoft OS like Windows 7, Windows 8, Windows 8.1, Server 2003, Server 2008, Server 2012, etc. Download Process Monitor from Microsoft. (If your PC is not connecting to internet, do it from another PC, and transfer file) Extract the files and launch the application. First step is to Stop the Capture, by either CTRL + E  or clicking on the icon . Disable all the filters except Registry Activity. This is all we need in this particular scenario. Also clear the logs by pressing CTRL + X or the icon . Go to Start — Run (or press Window Key + R) — Type inetcpl.cpl — Go to Connections Tab– than to LAN Settings. Bring the Process Monitor and LAN Settings window side by side. Start the Capture on Process Monitor by clicking on the icon  or press CTRL + E. On the LAN Settings window, uncheck the box for “Use...

Unable to install RDS role Remotely on Server 2012

Follow me At times, you may try to install a Role on server remotely, and it that fails it could be due to number of reasons. In this scenario, I’m going to share my experience I had when the Remote Desktop Services failed to install remotely on a Server 2012. Issue: Getting the following error message when installing RDS remotely. Unable to connect to the server by using Windows PowerShell Remoting Analysis: You get this error message when you try to connect to the Server under the Add Roles and Features Wizard for Remote Desktop Services. As earlier said, this may happen due  a number of reasons, however this solution is out of the box. The Remote Shell is configured with 150 MB by default. This particular environment has IIS App Pool on the server and hence the available memory was not sufficient to create a remote session. This would also apply if you have SharePoint running on that server. Solution: Create the following Registry Keys and reboot the server. This worked for me, hope will work for you too. Ensure that you backup your registry before making any changes to it. Under: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters Value: MaxRequestBytes Type: DWORD Data: 65564 (Decimal) Under: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters Value: MaxFieldLength Type: DWORD Data: 65564 (Decimal) Reboot the server, and voila, we are able to connect to the server.   Follow...

Windows 2012: Rdp black screen on Windows Server

Follow me A client reported an issue that when some one RDP into their Windows 2012 server (which is also a domain controller) s/he get a black screen, The same black screen exist even if some one logs into console session, however apart from this all the services on the server functions just fine.  The only thing they can do to resolve the issue is to reboot the server. We researched on the issue and found that a lot of people are facing same or similar issues on server 2008 R2 and Windows 2012, We did implement some possible solutions on the server but as of now I am not Cent Percent sure if the issue is resolved as it happens rarely. Solution 1: We have observed that when a user gets black screen s/he, usually it has a disconnected session which is not getting reinitialize, so as a solution we implemented an idle session timeout limit on the server, so that after a specific time (18 hrs in our case), any disconnected session will be logged off immediately. The settings can be implemented in session state if the server is configured as a Terminal server or session host server.  it can also be configured by manually editing registry, we although configured it using local Group policy on the server. Solution 2: Some people have claimed to resolve this issue by configuring following group policy setting to enable both TCP and UDP protocols, if you do so, ensure that you make required changes in your network router or Firewall. Computer Configuration\Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Connections Solution 3:...