Quantcast
Channel: Remote Desktop Services (Terminal Services) forum
Viewing all 25525 articles
Browse latest View live

Intermittent Connection Issues to our Remote Desktop Server

$
0
0

So we have a Hyper-V VM that is running Server 2008 R2. When using remote desktop to connect to this server we are randomly having issues connecting when trying to connect using both our external dns and ip address and also with the internal server name.

We receive the following error:

Remote Desktop can't connect to the remote computer for one of these reasons:

1) Remote access to the server is not enabled

2) The remote computer is turned off

3) The remote computer is not available on the network

All of the above are fine as we have used this server for a number of years. Its only been a recent thing that this has stopped working intermittently. I have 6 users connected today and now if i try and log in i get this message and i am trying several users who i know have connected recently.

Any ideas would help ?


Failed to create KVP sessions string. Error Code 0x8007007A

$
0
0

I have two RDS servers running Server 2012, and since a couple of days users are reporting they get disconnected often. In the eventlogs, I found a couple of events where a user was disconnected without further information. I also found a lot of "Failed to create KVP sessions string" events. I couldn't find any relevant information about this event, but it appears the most at moments when users are being disconnected from the RDS server.

This is the event:

Log Name:      Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational
Source:        Microsoft-Windows-TerminalServices-RemoteConnectionManager
Date:          3/12/2013 10:01:26 AM
Event ID:      1152
Task Category: None
Level:         Error
Keywords:     
User:          SYSTEM
Computer:      TS02.contoso.com
Description:
Failed to create KVP sessions string. Error Code 0x8007007A
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-TerminalServices-RemoteConnectionManager" Guid="{C76BAA63-AE81-421C-B425-340B4B24157F}" />
    <EventID>1152</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x1000000000000000</Keywords>
    <TimeCreated SystemTime="2013-03-12T09:01:26.771581100Z" />
    <EventRecordID>11344</EventRecordID>
    <Correlation />
    <Execution ProcessID="836" ThreadID="840" />
    <Channel>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</Channel>
    <Computer>TS02.contoso.com</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <UserData>
    <EventXML xmlns="Event_NS">
      <Param1>2147942522</Param1>
    </EventXML>
  </UserData>
</Event>

Does someone have any idea what might cause this error? Thanks!

Environment Variables

$
0
0

I am trying to set certain environment variables on a Windows 2012 R2 Remote Session Host based on the client machine. I have configured a login script to set the variable, and it does work, but not when set a a login script.

Here is the vb script:

Set objShell = CreateObject("WScript.Shell")
Set objEnv = objShell.Environment("USER")
client=objShell.ExpandEnvironmentStrings("%ClientName%")

Select Case client
Case "Workstation1"
	objEnv("Variable") = "Variable Data1"
Case "Workstation2"
	objEnv("Variable") = "Variable Data2"
End Select

If I run this script, the variable gets set correctly. But if it is set as a logon script, it is not retrieving the client name. I assume this is due to the fact that the terminal session hasn't fully initialized when the script is executed.

I have made sure that 'Run logon scripts synchronously' is disabled and even set a delay in the script, but it still won't work.

Any suggestions would be appreciated.

telnet client mess codes when connecting to telnet server

$
0
0

Hi there,

I have a Windows Server 2008 R2 acting as a telnet server. I have a windows 8.1 acting as a telnet client. When i connect to the server, its display are all mess code. 

I don't know where i am doing wrong. Please help

Jingfei


Keep involved!

RemoteApp Applications Dropping and Reconnecting (Only Externally)

$
0
0

In my environment, we have RDS setup for both Session Hosts and Virtualization Hosts (Server 2012 r2).  We host a good handful of applications for our end users to access from both in the office and externally at home, via VPN or just connecting via the RD Gateway. 

In the past week or two, some users are complaining that while working remotely at home, their RemoteApp application will randomly bring its focus to the front of the screen and they just have to click back on whatever they were working on (non-remoteapp program).  This does not seem to happen on computers in the office, on the network, only externally.  I am able to replicate the problem on my personal computer at home, my work system at home as well as work laptops on our external network, it happens about once every 10-15 minutes.  When I open server manager, it shows a Disconnect Time that matches up with when the application brings its focus to the front of the screen, so it appears to be disconnecting and reconnecting within a split second.

I read some other threads about removing KB2923545, but this did not fix the issue.

My next step was to check the event logs on the session host servers and it seems as right before it disconnects, there is an Error log under Remote Desktop Services1 with an Event ID of 1152 stating "Failed to create KVP sessions string. Error Code 0x8007007A".  Upon looking this error message up both here on technet and around the internet, most responses were that it's related to Licensing.  Our RDS is setup as a "Per User" based license, which was setup by the staff prior to me who are no longer with the organization.  I checked our licensing server and it shows "Windows Server 2012 - Installed RDS Per User CAL - Volume License" of 5000 Total, and 4484 Available and 516 being used.  We also have "Windows Server 2012 - Installed RDS Per Device CAL" of over 8000 with 10 being used.

Is there anything else I should be checking...I appear to be at a loss to figuring out why this is happening.  To me, it's not huge, but to the end user, it's an inconvenience to them.

RDS Lincensing

$
0
0
windows server 2012 R2 Remote Desktop  services will stop working in X days. On the RD Connection Broker Server.

Server Error in '/RDWeb/Pages' Application

$
0
0

Hello,

I have been running Remote desktop services on this server for a while. I was just some apps yesterday. Everything was working fine. All of a sudden I came in this morning and I see this error message.

Server Error in '/RDWeb/Pages' Application.

Unable to load DLL 'tspubfilter.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.DllNotFoundException: Unable to load DLL 'tspubfilter.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Source Error:
The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

  <%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
   <system.web>
       <compilation debug="true"/>
   </system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:
[DllNotFoundException: Unable to load DLL 'tspubfilter.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
   Microsoft.TerminalServices.Publishing.Portal.NativeMethods.TSSetupAccessCheck(SafeFilteringResourceManagerHandle& resourceManager) +0
   Microsoft.TerminalServices.Publishing.Portal.AppFilterer..ctor() +90
   Microsoft.TerminalServices.Publishing.Portal.RWSCPUBAccessor..ctor(String tsName, Boolean PollAppFreshness) +985
   Microsoft.TerminalServices.Publishing.Portal.RWSCPubAndTsAccessor.GetWorkspaceInfo() +64
   Microsoft.TerminalServices.Publishing.Portal.RapWebService.GetWorkspaceInfo() +71
   Microsoft.TerminalServices.Publishing.Portal.WebFeed.GetDataForFeed(String userSid, String folderName, Dictionary`2& resource_list, Dictionary`2& ts_list, List`1& folders) +235
   Microsoft.TerminalServices.Publishing.Portal.WebFeed.GenerateFeed(String userSid, FeedXmlVersion xmlVersion, String folderPath, Boolean writeXmlDecl) +128
   ASP.en_us_default_aspx.Page_PreInit(Object sender, EventArgs e) +1636
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Page.OnPreInit(EventArgs e) +9644930
   System.Web.UI.Page.PerformPreInit() +31
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +335


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.18045

I have looked around other individuals issues that are some what similar error messages but it didn't resolve mine.

I have windows 2012 server.

Thanks in advance

OpenGL in Windows Server vNext Technical preview

$
0
0
I'm using nVidia Tesla C2050 card. I've setup two VMs and the RemoteFX driver is detected. The latest nVidia drivers for the C2050 are installed on the host machine.

I tried a Heaven Benchmark inside VMs for a test and DirectX 11 and 9 benchmarks are working properly.
The problem is OpenGL doesn't work. Any other applications also doesn't detect OpenGL acceleration. It just falls back to software renderer.

Do I need to do any special configuration to enable OpenGL or the drivers are not working properly for the my card?

Server 2012 R2 RD Gateway - change target port

$
0
0

I have a 2012 R2 RD session host collection with RD Gateway configured and working.

Now I need to have external clients connect to another rdp listener on the session hosts, and have added an extra listener on each host listening on port 3390. All is well on that part.

But I am stuck in what I expected to be the easy part - how do I setup the rdp link in the RD Gateway portal to connect external clients to port 3390 on session hosts?


RDS 2012 R2 RD Gateway connect on port 3390 for external users

$
0
0

I have a working 2012 R2 RDS farm setup, with 2 Session Host servers. I want to reconfigure the external access so that users connect to port 3390.

I have setup the extra RDP Listeners on the Session Hosts for port 3390. I can connect to both 3389 and 3390 from the internal network, so the listeners are working.

I use powershell to change the port on the rdweb shortcut to the farm:

Set-RDSessionCollectionConfiguration –CollectionName RDS -CustomRdpProperty “use redirection server name:i:1 `n alternate full address:s: rds.domain.com:3390 `n authentication level:i:0”

Only adding :3390 (before I add this it is working)!

After adding the new port I get this error when trying to connect externally:

Remote Desktop can’t find the computer “rds.domain.com”. This might mean that “rds.domain.com” does not belong to the specified network.

My firewall is configured to allow and NAT 80, 443 and 3391UDP to my RD Gateway.


KL_Dane

RDS Windows Server 2012 R2 - Problems in access from Mac OS X Remote Desktop

$
0
0

Hello,

I'm having problems with access via Remote Desktop App from Mac OS X to RD Gateway (Windows Server 2012 R2).

My system is mounted as follows:

1 Windows Server 2012 R2 with roles/applications (GATEWAY):

  • RD Broker;

  • RD Gateway;

  • RD Web Access ;

  • RD Licensing;

  • Active Directory;

  • DNS Server;

  • SQL Instance (default instance for RD Broker);

  • IIS;

1 Windows Server 2012 R2 with roles (APP01):

  • RD Session Host;

1 Windows Server 2012 R2 with roles (APP02):

  • RD Session Host;

The problem is that when I try to remotely access an application get the following error (and authentication is correct):

Translation from Portuguese:

"Other User"

"The username or password are incorrect. Try again."

If I put OK, then I enter the same password and same username and I connect successfully.

Through Windows I have no problem !!!


Someone help me?

Your interactive login privilege a has been disabled

$
0
0

Hi,

We have a good to go envoirnment with Xen app 6.5. This monday onwards we started reciving lot of calls where in people complaint about "Your interactive login privilege a has been disabled" upon finding i see on AD account properties Deny permission to log on Session Host server option is enabled. Unchecking the option resolves the issue, however, need to find how come this is enabled.

The last activity which we can track is OU movement of these objects and there is no GPO defines this behaviour. I want to enable auditing for such things.

RDS on DC or no DC in Hyper-V

$
0
0

I need to have SQL Server 2012 functionality on my website.  I have a copy of SQL Server 2012.  I have installed it on Windows Server 2012 R2 on the first installation.  I have also Remote Desktop Services on that first installation: RD Connection Broker, RD Licensing, RD Web Access, a RD Virtualization Host.  When I decide on a SSL certificate I will be able to install RD Gateway and get it up and running.  I cannot get RD Session Host to install on the first install as expected.

My question is will I be able to have SQL Server 2012 functionality on my website without RD Session Host and the other RDs on the first install or do I have to install all of the RDs including a RD Session Host on a Hyper-V without a Domain Controller?

Second question is how do I access the SQL Server 2012 on Remote Desktop Services Hyper-V in my first installation or other Hyper-Vs?

Slow outlook 2013 using large office 365 mailbox in terminal server environment - Windows search edb file size

$
0
0

Hi all, we have this issue on multiple servers:

Customers with their own local terminal servers (15 users, RDP to a server sessio) that have office 365 mailboxes are having issues with the windows search EDB file where it becomes HUGE (80+gbs).

Reason for this is because all these users have large ost files in which they share the same shared mailboxes (site specific for example) and there goes something wrong with the windows search index database file.

Temporarly we solve this by deleting and rebuilding the search index but in mere weeks the database edb file itself is back consuming a lot of space.

We CAN NOT AFFORD to work in ONLINE mode of outlook: the whole experience for end user is horrible. the outlook clients just react real slow because you're constantly working in mailboxes of sizes larger than 20gbs combined. So we managed to cache it for one month. 

is there any permanent fix to tihs, how can we make our outlook mailboxes work fine on this terminal server without caching? the experience is horrible if we don't cache.

edit: we tried a lot of stuff, archiving, hardware accelerations, ...

RemoteFX issues - possibly drivers

$
0
0

Hi Guys,

So I have an RDS configuration with 2 dell 720's with Server 2012 and Nvidia Grid K2 GPUS.  I've been using these as RD Visualizations Hosts to serve up windows 7 SP1 to around 50 users.  Everything seems to be working great in windows 7.

I've been toying around with updating all the virtual desktops to Windows 8.1, and again most everything works fine except RemoteFX is having issues.  Whenever I add the adapter in Hyper V Manager I get the following errors on the host at boot:

No matter what I do I can't seem to get the system to use the Remote FX 3d adapter (change resoultion, uninstall reinstall drivers, rebuild the windows 8.1 desktop, Create an entirely new virtual machine, etc.)

Has anyone seen this before?  Is this due to me running 8.1 VM's on Server 2012 and Not on R2?

Thanks Guys!


Best Practice for Making Windows 2012 R2 RDS server apps availble to Internet users

$
0
0

Hello

We currently have a single Windows 2012 R2 Remote Desktop server with all the roles on a single server. We would like to make it available for users from the Internet, is it secure to just open the https port for this server and configure outside DNS entries for users to log in. If we deploy the Gateway at the DMZ will it still need to be member of the Active Directory. Can we have multiple Gateways, for example keep the existing one and add another at the DMZ.

Thank you.

2012 r2 Server Manger cannot manage RDS: Collections, Host Servers, and Connections won't display

$
0
0

Hello,

We have a 2012 r2 server running RDS publishing a number of RemoteApps.

When we go to the Server Manager and drill down to the Remote Desktop Services area we are seeing a number of the sections that will not display their information and we can no longer manage RDS via Server Manager.

Starting at Server Manager\Remote Desktop Services\Overview the "Deployment Servers" window shows a red banner with "Could not refresh the list of servers"

Going to the Server Manager\Remote Desktop Services\Collections, all three of the windows, Collections, Host Servers, and Connections will eventually display the similar type of error message, stating to check the status of the services for Remove Desktop Connection, Windows Remote Management and Windows Internal Database.

server manager error

 

The server is fully patched, event logs don't show anything of note.

We've rebooted the server and confirmed all those services and all "Remote Desktop *" services are running.

We're still able to access the RDWeb instance to use the published applications. 


This had been working previously, not sure when it last was though as we don't always go into Server manager. We can manage the remoteapps via powershell, but are curious why Server Manager no longer functions.


Any assistance would be greatly appreciated.

thanks...

Remote Desktop Web Access - Does not seem to access the GAC

$
0
0

Using Windows 2008 R2 and Remote Desktop Web Access.

Using application programs have some 3rd party .NET code loaded in the GAC.  The application runs with no problem by connecting to the server using standard RDP (not web access).

The application runs over Web Access, but does not seem to read the code in GAC because we get 3rd party licensing errors.  Again, we do not get the errors over a standard RDP connection.

Question:  Are .NET 4.0 programs run in a different way when run over Web Access?  If so, how?

Thanks

Tom


MisterT99


How to use GPU to speed up youtube when watched via rdp?

$
0
0
anyone know how/if I can use my GPU to speed up youtube (and other videos) when I'm using rdp (remoteapp)?  I have a windows 8.1 enterprise machine running hyper-v with a windows 8.1 Enterprise VM.  My GPU is a Nvidia GeForce 610.  I am noticing 100% cpu on the VM when watching youtube with a remoteapp session of chrome.  The video is a little choppy too.  Any suggestions would be greatly appreciated!

Outlook new mail notification not being displayed in remoteapps mode.

$
0
0
anyone know why my outlook doesn't display new mail notification messages (the rectangular window system notifications)? I'm running outlook 2013 pro thru a remoteapp session. Does remoteapp just not support windows 8's or outlook's notification feature? Any suggestions would be great! 
Viewing all 25525 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>