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

RDS 2012 UnifiedSessionID

$
0
0

We have had RDS 2012 in production for about a month or two. Every once in a while i am getting a user with a empty UnifiedSessionID. Any thoughts on what is causing this? 

Get-RDUserSession | Where-Object {$_.UnifiedSessionID -eq $null} | fl

When this happens the user seems to be hung. Cant login to the environment. I cant kick them out with the  

Get-RDUserSession | Where-Object {$_.UnifiedSessionID -eq $null} | Invoke-RDUserLogoff -Force

as it says access denied.

I am not even really sure how i am fixing them... after some tinkering they are fixed. This morning i rebooted the VDI management box and it cleared it up.



RDP Crash on undock and at random

$
0
0

When I undock my laptop (Win7, Dell M4700), all my RDP sessions to Windows Server 2012 crash. RDP to Server 2008 are fine.

Here is what I get in the event viewer when undocking:

Fault bucket 3998788290, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: mstsc.exe
P2: 6.3.9600.16415
P3: 524b5b3d
P4: TSPrint
P5: 1.9.9.7
P6: 5232effa
P7: f9
P8: 14b
P9: System.NullReferenceException
P10:

Attached files:
C:\Users\user\AppData\Local\Temp\WERF7E6.tmp.WERInternalMetadata.xml

These files may be available here:
C:\Users\user\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_mstsc.exe_f6208170a01f75d076ba1fdcc7e14c3f485e36_1a1d1757

Analysis symbol:
Rechecking for solution: 0
Report Id: e38a7995-4ee7-11e4-93f9-f01faf138a9c
Report Status: 0

And with random crashes:

Fault bucket , type 0
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: mstsc.exe
P2: 6.3.9600.16415
P3: 524b5b3d
P4: TSPrint
P5: 1.9.9.7
P6: 5232effa
P7: f9
P8: 14b
P9: System.NullReferenceException
P10:

Attached files:
C:\Users\user\AppData\Local\Temp\WEREE73.tmp.WERInternalMetadata.xml

These files may be available here:
C:\Users\user\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_mstsc.exe_f6208170a01f75d076ba1fdcc7e14c3f485e36_1631f49b

Analysis symbol:
Rechecking for solution: 0
Report Id: 5fafec5c-4ee4-11e4-93f9-f01faf138a9c
Report Status: 1


w2012 Remote Desktop Session Deployment not recognized in Powershell

$
0
0

Hello Guys,

In order to solve another problem I'm having, I wish to add a RemoteApp using Powershell. I have created a remote desktop session Deployment using the Server Manager, and adding RemoteApps there works perfectly. However, when I want to use Powershell to add a RemoteApp, it gives me the following error message:

New-RemoteApp : A Remote Desktop Services deployment does not exist on sv-xxx-rds03.xxxx.infra. This operation can be
 performed after creating a deployment. For information about creating a deployment, run "Get-Help Set-VDIDeployment" o
r "Get-Help Set-RDSHDeployment".
At line:1 char:1+ New-RemoteApp+ ~~~~~~~~~~~~~+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-RemoteApp

When I want to create a new SessionDeployment I get the following:

New-SessionDeployment : A session-based desktop deployment is already present.
At line:1 char:1+ New-SessionDeployment+ ~~~~~~~~~~~~~~~~~~~~~+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-SessionDeployment

Anyone any idea how I can make my server recognize the fact that he already has a deployment and that he's a member of that deployment?



Get-RDRemoteApp fails to find deployment

$
0
0

I have created a rds deployment as follows

3x Server 2012r2
RDSH01 (RemoteApp Host)
RDSGW01 (is actually running web access)
RDSBR01 (Broker)

I created it using the add role wizard and everything is currently working as expected.

When I run get-RDremoteapp I get the following message

Get-RDRemoteApp : A Remote Desktop Services deployment does not exist on RDSH01.domain.com. This operation can be
performed after creating a deployment. For information about creating a deployment, run "Get-Help
New-RDVirtualDesktopDeployment" or "Get-Help New-RDSessionDeployment".+ CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException+ FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Get-RDRemoteApp

I have tried running this remotely and directly on each of the 3 machines above, however I get the same error message.

Any suggestions?


Please wait for local session manager...

$
0
0
After a few days uptime our terminal servers (Windows Server 2008 x64 SP1) display the message "Please wait for local session manager..." when the client first establishes a connection to the terminal servers just prior to prompting them for their credentials.  The duration of the message seems proportional to the uptime - the longer it is up the longer the delay.  By the end of a week this message can remain for several minutes and by the end of two weeks you need to have a good book!  (okay; it is only about 10 minutes...)

I had noticed that the Private Working Set memory seems to grow from ~10MB to ~100MB in a few days and to ~250MB within a week. 

I am aware that there is a handle leak in lsm.exe when playing an audio file in Windows Media Player 11 (KB933245) but until now I had ruled this out as we do not have the Desktop Experience feature installed on the Terminal Servers and so Windows Media Player is not installed.  Add to that the fact we have not enabled the Windows Audio service and I find it hard to see how that known issue could be the cause of our problem.

I am going to install the hotfix on one of the terminal servers later today to see whether is does have any impact but in the meantime I was wondering whether anyone else experienced this problem?

Many thanks,

Server 2012R2 -- RDS Farm with XP and Windows Vista Clients

$
0
0

Hi There,

My team has been having some fun in getting our Server 2012R2 farm operational, annoyingly MS documentation is severely lacking on how to correctly configure a 2012R2 Farm correctly.

We have an RDG1-TCC server, which is the RDGateway, RDConnection Broker and RDWeb Server. We have two session host servers RDS1-TCC and RDS2-TCC.

It took us some time and much online research to figure out exactly how we needed to configure the RDS server as a lot of information online for 2012R2 was apparently incorrect(was based on 2008R2 practices). We started off with using a DNS Round Robin for the RDS Session hosts servers and after a number of certificate issues, we later found this was incorrect. We're now using RDWeb exclusively, which appears to be the correct way to have the Connection Broker working?

We've ran into a number of issues with certificates too, we have an external certificate for remote.domain.com. Installing this on all 4 options in the certificate manager has made internally work correctly via RDWeb, however externally we are getting a certificate mismatch as it's trying to connected to RDG1-TCC with a certificate for remote.domain.com. I'm pretty sure I can resolve this with a replacement remote.domain.com certificate that includes a SAN for *.domain.internal. Testing with a self signed certificate seemed to resolve this issue.

Now providing i've configured everything the correct way, we have an issue where RDWEb RDP files do not work internally or externally for XP, Vista or Windows 7 (With RDP7.1). Windows 8/8.1 and Windows 7 with RDP 8/8.1 updates work perfectly fine. Unfortunately this new client has a few XP machines that they are not willing to update just yet.

Is there a known fix/workaround to get these older clients working correctly?

Sorry for the extremely long post, but I'm sick of banging my head against the wall trying to get something that we assumed would have been fairly simple to get up and running.

Cheers,

Ben

Specific Application filter while desktop sharing

$
0
0

I need help for the specific application filter while on desktop sharing.

http://blogs.msdn.com/b/rds/archive/2007/03/23/writing-a-desktop-sharing-application.aspx

I got the samples for desktop sharing using Windows Desktop Sharing References. In that I need to filter the specific application. But i didn't know How to do that.

By using following things we can try to filter the specific Application. But I want to know, how to call Viewer side share property to fire the OnApplicationUpdate Eventon server side.

RDPSRAPI_WND_FLAGS enumeration - How to set the flag for specific application to give high level security process.

IRDPSRAPIApplicationFilter

_IRDPSessionEvents_OnApplicationUpdateEventHandler Please give me some examples to do this.... Thanks Narmadha

Grant RDP access to ONE user on multiple computers !

$
0
0

I want to Grant RDP access to ONE user on multiple computers using PowerShell.

List of computer names are stored in an excel sheet.

Can this be done easily ?


Thanks, Yeleshwar



How to check status of a particular port by using netstat command?

$
0
0

How to check status of a particular port by using netstat command?

I want to check  port 443 in my server is open or not, is there any other way to check port via commandline?

Specific Application filter while desktop sharing

$
0
0

I need help for the specific application filter while on desktop sharing. i.e i have to share entire Desktop with current running processe except server application window (UI).

http://blogs.msdn.com/b/rds/archive/2007/03/23/writing-a-desktop-sharing-application.aspx

I got the samples for desktop sharing using Windows Desktop Sharing References. In that I need to filter the specific application. But i didn't know How to do that.

By using following things we can try to filter the specific Application. But I want to know, how to call Viewer side share property to fire the OnApplicationUpdate Event on server side.

RDPSRAPI_APP_FLAGS& RDPSRAPI_WND_FLAGS enumeration - How to set the flag for specific application to give high level security process.

IRDPSRAPIApplicationFilter

_IRDPSessionEvents_OnApplicationUpdateEventHandler Please give me some examples to do this.... Thanks Narmadha

No Remote Desktop License Is Specified

$
0
0

Hello,

I have configured remote desktop license in workstation environment. In this environment no Active Directory. So i have configured RDP in workstation. I have Active the RDP server  and Install License using RD License Manager.

I got some following error. Please suggest

RDP MaxBandwidth key

$
0
0

Hello

We use some sort of dictation software ,users are logged into the terminal server at the remote sites when they listen audio and when it is  choppy and jittery we would edit /alter the MaxBandwidth value for your RDP connection by changing this registry key: HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32\Terminal Server\RDP MaxBandwidth: 0x000056b9 (22201)

This was working well in 2003 but since moved to  2008 R2 we were not able to find mentioned registry setting and to alter audio quality.

Does anybody know if there is similar key in W2K8 R2 registry?

We already tried with audioqualitymode entries but this did not give desirable results as mentioned registry settings 

Thank you 

RDS VM's crashing 0x50 PAGE_FAULT_IN_NONPAGED_AREA

$
0
0

Hi,

We have a new Dell R820 running Server 2012 Std as a Hyper V host, with 6 Server 2008 R2 Std VMs. 2 of the VM's are RDS servers, one with 25 users (RDS1) and the other with 10 users (RDS2). Since go live approx 3 weeks ago, the 2 RDS VM's have been crashing. RDS1 approx once a week and RDS2 approx 2or 3 times a week. Some crashes will leave a dump file, other crashes will not. From initial look at the dumpfiles, I have the following info:

PAGE_FAULT_IN_NONPAGED_AREA (50)
Invalid system memory was referenced.  This cannot be protected by try-except,
it must be protected by a Probe.  Typically the address is just plain bad or it
is pointing at freed memory.
Arguments:
Arg1: fffff680003b9268, memory referenced.
Arg2: 0000000000000000, value 0 = read operation, 1 = write operation.
Arg3: fffff800016f2dbc, If non-zero, the instruction address which referenced the bad memory
 address.
Arg4: 0000000000000002, (reserved)

They have referenced aAcentral.exe (a program from our Practice Management software APS), chrome.exe twice, and iexplore.exe.

None of the other VM's (2008 DC, file/print, mailserver, sql server) are crashing, just the 2 RDS VM's, which restart themselves, then users log back in, obiously losing any work they had open.

Can anyone help me out as to the cause and how to stop it?

Windows Server 2012 RDG connection unsuccessful

$
0
0

I have a following setup (all machines run Windows Server 2012 with latest Windows Updates)

 - 1x Remote Desktop Connection Broker, this machine runs the RDWeb application too (TSBroker)
 - 1x Remote Desktop Gateway Server (TSGW)
 - 3x Remote Desktop Session host machine (TSAPP01-TSAPP03

The network publication is the following:

 - TCP 80 / TCP 443 -> TSBroker
 - UDP 3391 -> TSGW

My actual problem is I cannot connect to the farm via RDG with mstsc client, nor with RemoteApp, nor with a well-configured manual mstsc connection. I can reach authentication stage, I can enter the username and the password, but the client says "remote desktop gateway server is temporary unavailable". Things I checked/tried:

 - The connection between the farm and the client is good, client has no networking issue, DNS resolution is good
 - There is a turned on Windows Firewall on machines, but the Domain profile set up to Allow/Allow, so there is no Windows Firewall restriction between machines.
 - I tried to check all the logs on all machines during an unsuccessful login. Nothing written down, nor on broker, nor on gateway, nor on the session hosts. The only log i get about unsuccessful login is the following:

RDPClient_Gateway: An error was encountered when transitioning from AAStateInitializingTunnel to AAStateError in response to 6 (error code 0x800706BA).

I found near absolute nothing about this error.

There was a state when this system worked, but as it is a work-in-progress infrastructure, we had a temporary certificate on the servers. We reached that stage where we were able to replace these certificates with working ones. After it, we started experience that issues I describet above.

I do not know what is broken in this system. I have very light knowledges in Windows Server 2012, and nothing in Windows Server 2012 RDS. I would be happy for any real help what points where can I find a problem or a solution. As I am not too comfortable in this system, please be very specific, describe me required steps one-by-one, to make sure I doing things right.

I would be very thankful for your help.


George Hron

Specify Access Database in RemoteApp RDP

$
0
0
I am trying to get Access to open a specific file when launching a RemoteApp.  I am using the following argument when creating the RDP.

 D:\Programs\%USERNAME%\folder\file.ade

Access reports that the file is not available.   It works through a shortcut on the desktop.  Does RemoteApp not recognize the %USERNAME%? 



P.S.  I have tried creating a installer with the same results. 

Migrating roaming profile from Windows 2000 TS to Windows 2008 R2 RDS

$
0
0

We have one TS running on Windows 2000. There are over 200 TS users. We are planning to migrate it to Windows 2008 R2. What's the easy way to migrate the roaming profile? Base on this article

Generally, user profiles that you create for users in Windows 2000, ... Server  2003 roaming user profile on Windows Vista or on Windows Server2008. ...  These methods migrate the roaming profile data to the new Version 2 user profile  format ...
support.microsoft.com
support.microsoft.com/kb/947025

There are two methods to migrate roaming profile. "Method 2: Use the Folder Redirection feature to share data between Version 1 and Version 2 user profiles" doesn't "migrate the desktop settings and preferences such as wallpaper because of the differences in the operating systems". That isn't for us.

"Method 1: Use the User State Migration Tool to migrate profile data to the new format (Windows Vista Only)" is recommend that you the User State Migration Tool (USMT) to migrate profile data in the following scenarios:

  • You do not use roaming user profiles or folder redirection.
  • You want to enable a more full-featured migration of user profile data from Windows 2000-based or from Windows XP-based systems to Windows Vista-based systems.

Note The User State Migraton Tool will not function on Windows Server 2008. 

So the method 1 doesn't work. Any suggestions?


Bob Lin, MCSE & CNE Networking, Internet, Routing, VPN Networking, Internet, Routing, VPN Troubleshooting on http://www.ChicagoTech.net How to Install and Configure Windows, VMware, Virtualization and Cisco on http://www.HowToNetworking.com

Where is the Remote Desktop Session Host Configuration tool in Server 2012 ?

$
0
0

Where is the Remote Desktop Session Host Configuration tool in Server 2012 ?

This is an MMC snap-in found on earlier servers, even if RDS is not installed.  In Server 2012, even if the Remote Desktop Session Host role is installed, this tool is still not available.

I'm looking for the Server 2012 tool to adjust security settings like TLS authentication, High encryption level, choice of TLS certificate, NLA, etc.

Thanks!

DMZ issues while setting up RDS

$
0
0

Hello IT Folks, 

I have an issue with 2 servers that are in the DMZ while i am trying to create my first RDS server environment. Once i add the 2 servers that are in the DMZ to the pool i get the following error --> Online - Access denied.  I have already made sure the recommended ports from RDS deployment are opened. Also run these PS cmds on both DMZ servers. 

Set-Item wsman:\localhost\Client\TrustedHosts Server01 -Concatenate -Force
New-ItemProperty -Name LocalAccountTokenFilterPolicy -path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System -propertyType DWord -value 1

Once i specify the Web Access server and click next i get the Checking compatibility box and it says.. Unable to connect to the server using Windows Powershell remoting.  I made sure that service was turned on on both servers that are in the DMZ.

Before all this i use the Manage As for those 2 DMZ servers that are not domain joined using the local admin account. When i run the roles it says RDS will be installed using my creds and i believe this one of the issues.  So any insights or ideas how i can resolve this would be much appreciated. 

Manually Creating Desktop Connection .wcx file - Server 2008 R2

$
0
0

So essentially I want to create a .wcx file, but can't follow this tutorial because I don't have my server joined to a domain (very simple setup), and therefore I cannot install the RD Connection Manager to create the .wcx.

Can someone share the contents of their .wcx file? I assume it's not much more than the URL like this: https://server1.contoso.com/RDWeb/Feed/webfeed.aspx

RDP screen goes black after successful remote login

$
0
0

I have a Windows 2008 Server that I have been connecting to once a month remotely to apply OS updates.  Often, I reboot that server and it uses auto-logon to login and run an application. 

Today, I rebooted the server and when I try to connect with RDP, I get the login prompt and enter my credentials, I see a few expected messages fly by on the host OS (the last one I see is the word Welcome), but then the screen goes black.

The apps on the server are running successfully because our applications can connect to them, we just can't logon to the desktop of the Windows Server 2008.

I made no configuration changes (I NEVER do) other than to apply the latest Windows Server updates.

I would prefer not to drive to the computers location, or try to coordinate a time to have the server hosting company assist me with troubleshooting; but is there anything else I can do?  Any ideas about what might cause this?

Viewing all 1106 articles
Browse latest View live


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