Solved

Installing Remote Desktop Services on Windows Server 2012 R2 EC2 fails every time

Posted on 2016-09-05
13
410 Views
Last Modified: 2016-09-06
Hi All, we have recently moved all of our servers from a private cloud provider to AWS. As part of the move, there was a task to consolidate around 7 - 13 windows boxes, with a separate service running on each, into 1 APP and 1 DB server. We have now completed this process finishing with Sage 200 which was moved by a third party professional service. Sage is set up to be used as a remote application, at the moment only 2 people can access the application at one time as Remote Desktop Services is not installed on the APP server.

Whenever I try to install RDS it breaks the server. After looking like a successful install, the server will reboot to complete the process and then not be accessible again. I can see that it is on in AWS, it has only passed 1 of the 2 AWS status checks, non of the services running on it are accessible (e.g. we have LanSweeper running on it), I cant ping it and I cant RDP to it. If I view the instance screen shot, I can see the 'Ctrl Alt Delete' screen which hasn't frozen as the time changes. As AWS doesn't offer any kind of console to hard link into the server (Like a v sphere client for VMWare) the only way to get the server back to any working order is to restore from an image. I have now restored 2 images so that one can be used by staff but only 2 at a time and I can use the other to try and figure out what's going wrong.

Some things I've tried (all result in a non-responsive server which needs to be terminated and a new one restored)
- Turn Windows firewall on during the installation. I saw this in a Microsoft online solution.
- Get Windows up to date. Windows hadn't seen an update in a while and in fact the first update attempt failed. I ran WinUpdateDiag tool to get it working and up to date.
- Install RDS using Powershell. Again, a suggestion I saw online.

The last time I tried was after getting windows up to date, I installed the RDS features and then whilst the machine was booting back up I sat refreshing the instance screenshot in AWS watching the 'Working on features' progress up to 100% and then say 'we couldn't complete the features. undoing changes'. It then went into the unresponsive state that I've previously mentioned.

I'm now in a position the suggest Citrix to my boss or spin up a new server and migrate Sage again but I'd like to throw it out to the community first. Any suggestions greatly appreciated and let me know if you need more info.
0
Comment
Question by:Michael McDowell
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 5
  • 2
13 Comments
 
LVL 5

Expert Comment

by:Mdlinnett
ID: 41785433
Are the sage sql instance and iis application pools installed on the rds?

How are you installing the rds roles when doing it via the gui?
0
 
LVL 39

Expert Comment

by:Philip Elder
ID: 41785509
The RDS Roles are intensive installs with multiple reboots required.

Suggestion: Download the ISO for the latest revision of the 2012 R2 ISO.

Mount the ISO in the VM.

When running the PowerShell to install the necessary roles set the -Source switch:

Install-WindowsFeature Net-Framework-Core,Net-Framework-Features,Remote-Desktop-Services,Desktop-Experience,RDS-Connection-Broker,RDS-Gateway,RDS-Licensing,RDS-RD-Server,RDS-Web-Access,RSAT-RDS-Tools,RSAT-RDS-Gateway,RSAT-RDS-Licensing-Diagnosis-UI,RDS-Licensing-UI,Print-Services,Print-Server,Search-Service -IncludeManagementTools -Source X:\sources\sxs\ -Restart

Where X: is the drive the ISO takes when mounted.

That should give the necessary source files during the initial setup process.
0
 

Author Comment

by:Michael McDowell
ID: 41785822
@mdlinnett SQL is not installed on the APP server, it is installed on a separate DB server but IIS is installed on the APP server. I'm using role based or feature based install (I've also tried RDS Services installation) and installing everything but the Virtualisation Host

@Philip Elder I'll give that a try and let you know how I get on.
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 5

Expert Comment

by:Mdlinnett
ID: 41785858
As the Sage DB is installed elsewhere, can you just start from scratch?

Install Flat 2012 R2 > Install the RDS Roles using the RDS Services Installation method via Server Manager > Install Sage client software?
0
 

Author Comment

by:Michael McDowell
ID: 41785872
@mdlinnett Yes that is an option. The powers at be would like all internal services as consolidated as possible so it's unfortunately a last resort.
0
 
LVL 5

Expert Comment

by:Mdlinnett
ID: 41785963
How will reinstalling go against what the powers that be are after? You have a second instance for figuring out the problem, can you try it there, get that sorted, then your users can use that?
0
 

Author Comment

by:Michael McDowell
ID: 41786308
Because they want everything on one server, it makes things cheaper etc. etc.

@Philip Elder that didn't work unfortunately. After trying to install using the ISO as the source everything went fine. The server rebooted, I could ping it and I could see the log on screen from the 'instance screenshot' in AWS. When I tried to RDP to it, it would configure the session and then cut out just before it opened the RDP window could open. I tried to reboot the server from AWS and it is now back in to the unresponsive state.
0
 
LVL 5

Expert Comment

by:Mdlinnett
ID: 41786346
But you already have the second instance? That's what's confusing.
0
 

Author Comment

by:Michael McDowell
ID: 41786355
Yes the secondary instance is a copy of the first. I can use this to try and get RDS working without disrupting anyone working off the APP server. Then I can replicate the process I made on to the production APP server out of hours.

After discussing with the boss, it looks like we're going with a secondary server anyway. Thanks for your responses.
0
 
LVL 39

Expert Comment

by:Philip Elder
ID: 41786361
We set up VMs on all sorts of platforms, though we've not worked with Amazon, and I find it puzzling that something would be breaking down post-install of the roles.

Are you able to RDP from a functioning VM on that "network"?
0
 

Author Comment

by:Michael McDowell
ID: 41786385
I'm RDPing form my computer internally as there is a site to site VPN connection set up from our office to AWS.
0
 
LVL 5

Accepted Solution

by:
Mdlinnett earned 500 total points
ID: 41786387
Michael, I'm sorry if my responses may seem curt, I was just trying to understand the situation :)

My advice would be to get 2012 reinstalled, install the RDS Roles in Server Manager using the RDS Services Installation method via Server Manager.  This will get your RDS collection up and running in the simplest way.

Once you've reached that position, THEN introduce the 3rd party items that can cause problems like Sage.

I recently had to have a Sage 200 reinstallation (Including the SQL Instance) following demotion of a Domain Controller, so I'd treat Sage as cherry on top of the cake!
0
 

Author Comment

by:Michael McDowell
ID: 41786411
"treat Sage as cherry on top of the cake" I completely agree! Never have I dealt with a more problematic piece of software... Thanks for the support, we're going with a fresh install.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The following article is comprised of the pearls we have garnered deploying virtualization solutions since Virtual Server 2005 and subsequent 2008 RTM+ Hyper-V in standalone and clustered environments.
Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
Need to grow your business through quality cloud solutions? With everything required to build a cloud platform and solution, you may feel like the distance between you and the cloud is quite long. Help is here. Spend some time learning about the Con…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question