Configured RDP Gateway Server on a couple of session host servers using DNS round robin. Opened up TCP 443, several complaints of slowness from outside the firewall. It could take up to 1-2 minutes to launch an application from RDWeb, at other times it could be less 10 seconds. Is there any other ports I need to open here or configuration that will resolve this?
Slow Logging to RDPWEB from Internet
Remote Desktop Services Web Page Display Delay
I have setup a test domain, and a test Remote Desktop Services server (running Server 2012).
I find that all applications run well, except for web page viewing. I have tried Internet Explorer and Firefox to test if it was application specific.
What happens is I go to a website, and there is a small delay. Following a link into a new tab, and there is a multi-second delay as it loads. It eventually does, load, but is happening every time I use a website explorer. Connection to the server is via MSTSC v8 on the LAN.
Any help would be greatly appreciated.
2008 R2 - Memory Leak from svchost.exe - Module "rpcrt4" is the culprit
Hi All
Over the past week or so (after a set of Windows updates and restart) svchost.exe has increasingly used more and more memory. It probably gobbles up an extra 1GB per day and doesn't relent.
After running various diagnostics, the debug diagnostic tool finally provided me this information after a memory leak test:
rpcrt4!AllocWrapper+2b: 1.76 GBytes worth of outstanding allocations.
rpcrt4!Ndr64ClientInitialize+964: 1.36 MBytes worth of outstanding allocations.
Detailed module report(Memory)
Module details for rpcrt4
Module Name rpcrt4
Allocation Count 946941 allocation(s)
Allocation Size 1.76 GBytes
Module Information
Image Name: C:\Windows\System32\rpcrt4.dll Symbol Type: PDB
Base address: 0x00000003`00905a4d Time Stamp: Sat Nov 20 13:13:18 2010
Checksum: 0x00000000`00000000 Comments:
COM DLL: True Company Name: Microsoft Corporation
ISAPIExtension: False File Description: Remote Procedure Call Runtime
ISAPIFilter: False File Version: 6.1.7601.17514 (win7sp1_rtm.101119-1850)
Managed DLL: False Internal Name: rpcrt4.dll
VB DLL: False Legal Copyright: © Microsoft Corporation. All rights reserved.
Loaded Image Name: rpcrt4.dll Legal Trademarks:
Mapped Image Name: Original filename: rpcrt4.dll
Module name: rpcrt4 Private Build:
Single Threaded: False Product Name: Microsoft® Windows® Operating System
Module Size: 1.18 MBytes Product Version: 6.1.7601.17514
Symbol File Name: c:\symcache\rpcrt4.pdb\7D748DA6D7454C9EA38C8CEF1C9E75F22\rpcrt4.pdb Special Build: &
rpcrt4!AllocWrapper+2b has 944,468 allocations!
I'm running 2008 R2 64bit with anywhere up to 80/100 simultaneous RDP connections at any one time.
Can anyone help or advise as I cannot find any hotfixes for this issue.
Thanks
Ryan
Redirected Printers doesn't save setting
Hello guys!
I have Windows 2008 R2 with RDS, RemoteApp and WebAccess roles.
Users have local USB printers for printing barcodes
On local printers all configuration is done, for example, label has size 10x30
When user launches Any Application via RemoteApp: WordPad, Notepad, Excel etc and try to print through it, Printer has label parameters 7x28.When user tries to aplly new settings they are totally ignored.
When users connects via RDP, label parameters are correct.
Why theese parameters doesn't save in every user's session and how can I make it work?
Open Files do not close after logging on from a terminal server
Greetings all,
We have a 2008 R2 server that is a domain controller, running AD, DC, AV server, File Server.
Also have a 2008 R2 server that is a Terminal Server.
When a user logs into the terminal server (drives are mapped via GP) opens a map drive, then logs out of their session (not disconnect) the DC/File Server still shows the share open by that user. If the user logs in again it creates another "orphan" session, it does so infinitely and the only way to get rid of them is to reboot the Terminal Server.
All users, have roaming profiles, folder redirection and a policy that maps drives and printers. We thought it was an issue with the SEP12 and removed it from the terminal server, but that did not change this behavior. Please help.
Error Creating Server 2012 Personal Managed VDI Collection
I am trying to create a personal managed VDI collection on Server 2012. I am following the steps at http://blogs.technet.com/b/askperf/archive/2012/10/31/windows-8-windows-server-2012-pooled-virtual-desktop-infrastructure.aspx to create my collection. I am using a sysprepped template, and I am able to get all the way through the wizard. It goes and exports the template just fine. It also creates the two virtual desktops just fine. I see them on my Hyper-V servers, they can be powered up and work just fine. However, the status of the collection is Not Valid. When I look at the task status for the collection, I see that both of the virtual desktops have the following status: "Failed: The virtual machine is not ready for the virtual machine-based desktop deployment. I was able to find the following error in the event logs: "VM host [host] failed to execute VM Provisioning operation [Task: To perform post processing actions at VMHostAgent:] for virtual machine [vm-1] in pool [test_pool], Error: [Error code: 0x88130221.]" I tried searching both of the errors and I could not find anything for them. I have tried using the same template and I created another collection and I get the same errors. Does anyone have any suggestions to either find out more about the errors, or how to resolve them?
Terminal Server 2008R2: Blackscreen conencting with Multiple Monitors (Urgent !)
Hello,
we have a TerminalServer Farm of five Servers.
Connecting to the Servers with only one Monitor works fine. Connecting to the Servers with multimonitor support (2 Monitors or three Monitors) shows only a black screen on all monitor with the taskbar.
But its curios, I have this problem only on 2 of the 5 servers. All 5 Servers are absolutely identically (fresh) installed with a software dist. Really NO differences.
We've tried this with different clients. Win7, WinXP, Win7 Embedded (HP Thin Client T510), WinXP Embedded (HP TC 510). Same problem on all clients.
Any Ideas ?
Thanks a lot.
Regards...
Unable to remove deleted Session Hosts from RDS2012 Deployment
Environment Overview: (RDS 2012 Environment)
2 RDS Connection Brokers with HA
2 RD Web Servers
2 Session Hosts - 1 Collection (There used to be 6 servers, 2 collections)
Originally, our RDS environment was being implemented to remove our old Citrix environment, and to move some legacy apps over to an RDS solution. Since then, we've decided to go another route, but we've found some other uses for RDS. The issue arises from deleting 4 of the old session hosts that were part of an old collection. I deleted the VMs, but did not remove them from the RDS configuration via Server Manager. As well, they were removed from AD. Now when I go into Server Manager, and attempt to remove them from our RDS environment, I get an error that says: "Could not remove the configuration. Object reference not set to an instance of an object".
Has anyone ever seen this before?
Thanks! Nate
Missing Outlook Profiles
Any suggestions?
RDS 2012 Session Host User Profile Disk configuration
Is it possible to change the default size of the user profile disk?
I have deployed a collection with user profile disks redirected to a network path, all works well. However the default size as dictated by the UVHD-Template is 200Mb - which seems large for a default profile. I have tested a few logons to our RemoteApps and mounted the UPD's to check the contents and at most there has been 10Mb of data contained - though with that said the UHVD for the users is 250Mb...!
Therefore I would like to change the default size of the UPD from 200Mb to something more reasonable, for example 50Mb.
Any advice would be useful
thanks
Rich
RDS in WS2012 Thin Clients not getting connected : Urgent Help Required
Hi Everyone,
I have managed to install and configure WS2012 with Hyper V and a virtualized TS Server. In fact the inputs and problems/solutions available in this forum have helped me.
I have following problem :
I have created a virtual which is a RDS Server It has RDCB/RDSH/RDWEB /RDGateway roles installed on it. The Remote DEsktop Licensing shows no errors or issues. If I login through IE, I am able to login and see the published the applications on this server. Both my ADDS server and TS Server as well as Thin Clients are in the same subnet on local LAN within the premises.
I have a few Thin Clients in my local LAN network with WIN7 embedded. These are not able to log in through RD Gateway.
1. If I give IP address of the RDS server & tick automatically detect RD Gateway settings, the RDP Client connects as a Remote Console Admin. Initially it says the server is an untrusted server, but if I say connect anyway, it connects.
2. If I provide IP address in General Tab ( remote computer ) and RDGateway server IP Address in Advanced Settings ' use following Gateway Server' it returns an error stating ' the subject in the certificate and server name does not match ' and does not connect.
3. INstead of IP Address, if I provide FQDN for TS Server ( TS-Server.mydomain.local ) ,as well at 'use this RDGateway server , it says the RD gateway server is temporarily unavailable, please try later.
This is holding up my go-live date for the server,. Any help will be highly appreciated.
Added On 14-06-2013
I have tried to do a Remote DEsktop connection from TS Server to itself, even there it says ' The RD gateway server is temporarily unavailable, please try later. '
I have checked logs but there in nothing in them.
From :
shekhar-nsk
RDWeb Redirect
I have a Server 2012 test server running all the RDS roles.. I am trying to do a RDweb 301 redirect but when I add /RDWeb/Pages/en-US/Default.aspx I get the following error:
Error: Unable to display RD Web Access
An unexpected error has occurred that is preventing this page from being displayed correctly.
Viewing this page in Internet Explorer with the Enhanced Security Configuration enabled can cause such an error.
Please try loading this page without the Enhanced Security Configuration enabled. If this error continues to be displayed, please contact your administrator.
MS-APP-V for TS V4.5 SP1
While downloading software for TS Servers, I have downloaded MS-APP-V for TS V4.5 SP1 which I have not been able to install. If you do the installation it says 'Microsoft VC++ SP1 Redistributable is required. I downloaded the same but the installation of this package fails with no reason given.
1. What does this CD /image contain ?
2. How can one get this installed? It seems to contain some update for Application virtualization for Terminal Services Update. Ubfortunately there is no Readme file or documentation on the CD.
I am installing this on WS2012 std version on a virtualized server.
From :
shekhar-nsk
TSE RDS temporary licences
Hi everyone,
I have installed a Remote desktop service on Windows 2008R2 with Licence servise.
I would like to know if is it possible to have more than 25 users during a week waiting for get RDS-CAL licences ? Is there a "limited time" when the server allows more than 5 connections or I have to install RDS licences immediatly ?
Thank you in advance.
Access is Denied Remote Desktop Services 2008R2
Setup:
DomainA.DomainB.Local (2 Sites with a Single 2008R2 DC in each site)
TS1.DomainA.DomainB.Local (2008R2 main site)
TS2.DomainA.DomainB.Local (2008R2 main site)
This doesn't always happen but when it does it affects all domain users, occasionally when trying to RDP to TS1 all users get the error access denied with an ok button, if they click ok it just ends the session. This affects users in DomainA & DomainB (there are 4 users in DomainA that permanently use the TS to work and the majority of the time it is ok. when this happens even domain admins from either domain cant login (they all have access to the TS for RDP and can normally use it). If a domain admin logs in on the console that works and the Local administrator account can login locally or through RDP.
If i reboot the TS it will be fine and probably work for another week or two without any more issues, this is only affecting 1 TS and we have several in the Forrest (4 in this particular domain)
How do I change the URL to the Remote Web Access server in Windows Server 2012?
Hallo!
I have set up a Remote Dexktop Service using the "Quick" deployment method in Server Manager and everything is working greate internally, but I cannot start an app published in Remote Web Access from outside our network.
The problem is that it wants to start the using the internal URL, for example, server.domain.local, instead of the external one, for example remote.server.com.
I therefore want to know how I can change the default URL for the Remote Web Access server and all the Remote Web Apps in Windows Server 2012?
I have allready looked in Server Manager and I can change some of the deployment settings in server manager, but there is no way to alter the URL of the Remote Web Access server. See below images:
Pressing the internal URL only results in opening the internal URL.
This was very simple to do in Windows Server 2008 R2 using the tsconfig tool, but it does not seam to be any way of solving this in server manager.
A possible sollution would be to alter the registry someware in HKLM->Software->Microsoft->Windows NT->Terminal Services. But this can easaly lead to problems due to wrong format, etc. and is probably not supported.
Is there a simpler and supported way?
RD Web Printer Mapping/Re-Mapping Time
I am running Server 2012 and my Clients are launching an RemoteApp from the Work Resources RD Web Access page in IE. Everything is working fine in this regard.
The problem is this. The first time the users launch the RemoteApp the printer maps in about 6 seconds which is good. If they close the RemoteApp and then Reopen it within the next 2-3 hours it take about 1 minute and 6 seconds for the printer to map. After 2-3 Hours of being disconnected it goes back to mapping in 6 seconds.
The "RemoteApp Session Logoff Delay" in Group Policy is set to "Immediately".
That being said if I logon using a regular RDP connection to a Remote Desktop and Logoff in the normal fashion then re-launch the same RDP Connection, the printer maps in the normal 6 seconds.
If I force "Log off" a RemoteApp RD Session through the Server Manager Connections window and then log them back on immediately after, the printer maps in the normal 6 Seconds.
I have checked both the Active Sessions in Server Manager and the Printer Management Window to make sure the RD Web Sessions and its associated printer have disconnected but there is something hanging around in the background when an RD Web Session RemoteApp is closed that Server 2012 sees as still active. In short when the users closes the RD Web RemoteApp it is not doing a complete Logoff of the session for more than 2 hours.
I have checked every setting in GP I can think of but can't find anything other than the "RemoteApp Session Logoff Delay" that indicates it would change this behavior. Please advise if I have missed a setting or I have found an actual bug that requires an update to correct.
I'm a patient person but for a cashier to have to stand in front a paying customer waiting for a printer to map so they can have their receipt, an extra minute can be a long uncomfortable time.
Delegate rights
How can I programatically configure Remote Desktop Services Session Host in Windows Server 2012 without a domain?
We build turn-key solutions for customers, and for years, we have been doing this. What I am looking for is a script-based method of performing the following actions:
- Install Remote Desktop Services Session Host
- Configure some "standard" settings: IdleTimeOut, Disconnected session behavior, temporary folders, encryption levels and such
My understanding, with w2k12, is all of this must be done to a Session Collection. I have a PowerShell script that performs the install of Remote Desktop Services - Session Host, Connection Broker, and Web Access (Add-WindowsFeature RDS-RD-Server, RDS-Connection-Broker, RDS-Web-Access) while NOT on a domain, and now I am stuck trying to configure it.
When testing with this server on my production domain, I can get the following command to run: ($strFQDN is populated in the script)
New-RDSessionDeployment -ConnectionBroker $strFQDN -WebAccessServer $strFQDN -SessionHost $strFQDN
Once off of the domain (which is a requirement for customer server builds, not allowed to be on my domain, or any until it is at the customer site) I cannot get this command to function as expected. I am presented with the following output:
New-RDSessionDeployment : Validation failed for the "RD Connection Broker" parameter.
<ServerName> Unable to connect to the server by using Windows PowerShell remoting. Verify that you can
connect to the server.
At C:\scripts\ConfigureRDS.ps1:23 char:1
+ New-RDSessionDeployment -ConnectionBroker $strFQDN -WebAccessServer $strFQDN -Se ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RDSessionDeployment
The answer provided here (http://social.technet.microsoft.com/Forums/en-US/winserverTS/thread/cbffb2d4-ff9d-49ee-a9ce-a60db2262422) is simply a cop-out, as to why this was so poorly designed. Yes, more people are moving to the AD world. Why in the world could that be used a justification to just completely bend over your smaller customers? Or, customers that provide a value-add on your products? But, I digress...
Thoughts? How can I accomplish this VERY simple task WITHOUT putting this system on a Domain? (Well, very simple in Windows Server 2003/8/8R2)
Remoteapp over Internet
Greetings!
We have 4 hosts:
1.Application server
2.Mssql server
3.The terminal server with RemoteApp and WebAccess
4.Domain controller with CA is on a separate site.
They
are all in DC in Europe, the traffic goes through the software-based router, which is secured by firewall for ip ranges. There is max 200 user sessions, all of them are in the domain, they have network drives, printer caught up via GPO and local USB printers.
On the terminal server role installed RemoteApp and WebAccess.Issued CA certificate is used in the domain.
Through software-based router originally probrosheny only 443 and 3389 ports.
At one point climbs error:
Service Control Manager 7001 umRdpService, then begins to crumble constantly bug TerminalService-Printers in 1103 and none of the devices are forwarding a RDP session.
Error 7011 comes out more about services and Netman UxSMS.
Another crawl errors PrintService 215 and DCOM 10009
I did in HKLM \ System \ CCC \ Control option ServicePipeTimeout = 500000
It was fly less frequently, but still every day is steadily proiskhodit.Perezapusk service RDS UserMode
Port Redirector does not help.
In order to solve this problem I made the following steps:
1.Select the maximum number of number of printers in the session: HKLM \ Software \
Policies \ Microsoft \ Windows NT \ Terminal Services option MaxPrintersPerSession = 20
2.Forced printer redirection: HKLM \ System \ CCC \ Control \ Terminal Server \ Wds \ rdpwd \ fEnablePrintRDR = 1
3.Install updates kb2525949 and kb2465772
I thought that the problem may be in the closed ports, so I made the following steps:
1.Select range of dynamic TCP and UDP:
netsh int ipv4 set dynamicport tcp start = 10000 num = 1000
netsh int ipv4 set dynamicport udp start = 10000 num = 1000
2.Set ports for DCOM HKLM \ Software \ Rpc \ Internet 50000-50500.Checked the job through DTCPing by the local name - all gud.
3.Set fixed port for WMI equal 24158
4.Stopped service NetDriver HPZ12, PML Driver HPZ12
5.Disable EasyPrint Driver via GPO, there changed the "Point and Print Restrictions" on the Disabled and the "Ignore failure delegation" has changed to"Enabled"
4.Redirect these ports through software-based router.
The result: today employs about 50 people, I saw a couple of PrintService 215
and DCOM 10009, how to fight them do not know.About
the DCOM I would venture to guess that the problem is due to the fact that the service is not able to resolve dns names and uses netbios hostnames on the Internet as part of it when trying to connect an error, but the registry HKLM \ Software \ Policies \
Microsoft \ Windows NT \ Rpc explicitly specified, IgnoreDelegationFailure = 1, it would have to ignore but
still continues to pour in error.
And just noticed that for some
reason the printer is not deleted after the session, each person pulls a printer 1-2, 50 ~ 100 printers are hanging even after restarting the server.
In order to solve this problem I made the following steps:
1.Install update KB2655998
2.Install MicrosoftFixit50833
3.Downloaded utility http://inactivetsport.codeplex.com/ but for some reason she told me that I had no "is not the ports"
The result is zero, the printer will still hang after the sessions and how to remove them automatically I can not imagine.
Please help me advice!))