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

Windows Media Player control in virtual desktop

$
0
0
Hello,

We are using windows media player control in our windows application to play wmv file. [Win 7]

The video is seen when separate desktop is not created. Whereas, when separate desktop is created (CreateDesktop() API), video is not played and play() returns error code D1105 (856325)

What could be the possible error for the issue?

Rough sample code:

HDESK hDesk = CreateDesktop(_T("MyDesktop"), NULL, NULL, 0,
 DESKTOP_CREATEWINDOW | DESKTOP_READOBJECTS |
 DESKTOP_SWITCHDESKTOP | DESKTOP_WRITEOBJECTS |
 DESKTOP_HOOKCONTROL | READ_CONTROL | WRITE_DAC, NULL);
SwitchDesktop(hDesk);
SetThreadDesktop(hDesk);


CWmplay::create(HWND hWnd_in)  // CWmplay is derived from CAxWindow
{
GetClientRect(&rcClient);
this->Create(hWnd_in, rcClient, NULL, WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS);
CComPtr<IAxWinHostWindow> spHost;
this->QueryHost(&spHost);
spHost->CreateControl(CComBSTR(_T("{6BF52A52-394A-11d3-B153-00C04F79FAA6}")), *this, 0);
this->QueryControl(&m_WMPPlayer);
m_WMPPlayer->get_controls(&m_WMPControl);
m_WMPPlayer->put_enableContextMenu(false);
m_WMPPlayer->put_uiMode(_T("none"));
m_WMPPlayer->put_URL(_T("D:\\play.wmv"));
m_WMPControl->play();
}

Note: When we used CShockwaveFlash control, video played in virtual desktop environment.

Remote Desktop Farm 2012 - network config

$
0
0

I'm looking for some help understanding the networking of an RD farm.

The farm has connection broker, session host, web access server and a gateway server. My understanding (right or wrong?) is that external clients connect via a browser to the WA server over 443. They open apps and the traffic goes back to the client via 443. What I do not understand is where the traffic is from. WA or GW?

I've heard different explanations:

  1. The traffic is proxied back through the WA. So Client -> WA -> GW -> WA -> Client (all over 443)

  2. The WA hands over to the GW. So Client -> WA -> GW -> Client.

The reason for this is so I can get the firewall configured. Do I need to get the FW opened (443) for only WA or both WA and GW?

Windows Server 2008 R2 AD Users Roaming Profiles move to new server...

$
0
0

Thanks to anyone who may be of help to me on this issue!  I have been frustrated for months on end now trying to find the correct method for moving user roaming profiles from one server to another and I’ve hit a brick wall every time I’ve tried to accomplish this task. 

My environment is setup using (2) physical host servers, the old host server is running Windows Server 2008 R2 Standard (full GUI), and the new host server is running Windows Server 2012 R2 Standard (full GUI). 

The hosts are setup as follows: 

The new host 2012 R2 server current runs VM's that are all Windows 2012 R2 Standard Servers and the VMs are setup as follows:

VM#1) Primary AD server (DNS, WINS, DHCP)

VM#2) Backup AD server (DNS, other redundancy)

VM#3) WSUS  & Symantec End Point Protection Server

VM#4) SQL Estimating and accounting software backend server, and shared data

VM#5) File and Data shared storage, server has the copied over private Users Profile Folders from the Old server/VM that currently has the user roaming profile folders on it, also has other misc. shared folders etc.

The old host 2008 R2 server runs only one VM currently, as I’ve moved all other VMs to the new host server without any issues. The only VM this old host runs is a Windows Server 2003 SP2 Standard server that holds the current copy of the private Users Profile Folders on it.  Also I don't want to simply export and import the 2003 SP2 VM to the new host, as I feel this servers health is not in the best condition, and I prefer to dump 2003 and have all my VMs running the same OS (Windows Server 2012 R2 Standard).

All users desktop PC's are running Windows 7 Pro 64 Bit.  After using several users as test dummies, I've come to the conclusion that moving the existing profile folders to a new server is much more complex process than my research has led me to believe.  I have done endless research on Google, MS forums, Windows server forums etc. with no solid process producing results.

On my AD server I've changed the AD user settings, profile tab settings to the location of the new server for both the 'User profile, Profile path:  and the 'Home folder, Connect: Drive - To folder’.  I've used GPUpdate /Force at the desktops, I've Un-joined the PC from the Domain and re-joined it, I've deleted the local copy of the Profile (Roaming), I've renamed the existing profile folder on the old server, then get an error message saying can't load profile using temporary one, I've removed the registry entries on the PC that reference the profile list for this user and removed any .bak entries but then when I try to log on as this user it errors on the log in saying something such as the use profile entry is missing or corrupt etc. and returns to the log in screen.   

I do notice that all throughout the registry on this PC the old server profile location is reference about a million times throughout the registry.  So at this point I am through my hands up and say "any one that might be am to help I would greatly appreciated it" 

Problem using SetWindowPos Windows function in Windows 2012 R2 Remote Desktop farm

$
0
0

Good morning,

we've deployed a custom Delphi application which call SetWindowPos Windows function (code is SetWindowPos(Self.Handle, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE or SWP_NOSIZE or SWP_NOACTIVATE) to keep on top the active Window.

It is now used in windows 2012 R2 remote desktop environment.

It works (like in previous Windows version) but sometimes the non-topmost windows is displayed on top instead of the topmost Window. We've found the same problem in Windows 2008 R2 (https://support.microsoft.com/en-us/kb/2733420) but it seems that no patch are available for Windows 2012 R2.

Thank you


ing. Riccardo Castagna

Connection Issues, maybe doule NAT?

$
0
0

Hey All,

Trying to get my home lab setup and was messing around with RemoteApps in Server 2012r2 Datacenter. I can access and run everything just fine on the LAN, but when I connect over the internet I can only establish the connection once. If I end the session and try to reconnect it will timeout. I have to restart the server, not just IIS before I can reconnect. 

Also, all my hyper-v machines are running just fine and I can access their services over the internet with no issue. I'm pretty sure the port forwarding is working on the router because of this. It seems like anything that gets forwarded to the bare metal server address is getting double NAT'd, maybe by the OS? Not sure how to remedy this...


Ben Rau

Using multiple RADC connections on a client PC

$
0
0

Hi All,

I have a circumstance where we need to have a user log into two different RD Gateways using RADC. These RADCs are provided by two completely separate vendors. Is it possible to configure more that one RADC connection for a user's desktop?

If so, what are the dependencies? 2012, 2012 R2, Win 8, Win 10? I see this as more of a client issue than a server issue.

Any help is greatly appreciated.

Alan

Winserv 2016 P5 Hyper-v RD10 mode with remotefx not working

$
0
0

Hi this is the configuration:

Hyper-V host: Win serv 2016 Prev 5

Hyper-V guest: Win serv 2016 Prev 5

Using a Quadro K620 as remotefx gpu for the guest

(Workstation A)  Remote Desktop client is another Windows 10 Pro workstations update to latest version

following this:

https://blogs.technet.microsoft.com/enterprisemobility/2016/01/11/remote-desktop-protocol-rdp-10-avch-264-improvements-in-windows-10-and-windows-server-2016-technical-preview/

I am trying to connect to the Win 2016 Prev guest from workstation A, but in Applications and Services Logs -> Microsoft -> Windows -> RemoteDesktopServices-RdpCoreTS logs there are no event 162 or 170

am I missing anything?

Thanks

Server 2012 RDS WinLogon process crashing Event ID 4005 Black Screen

$
0
0

We have this issue on many 2012 RDS session hosts. The issue has been seen at different clients with different set ups, some have a simple 1 session host RDS server, some have 4 or 5 session hosts in a load balanced farm with RD gateway, connection brokers, RDWeb, ect. The problem in simplest explanation:

A user will call the help desk saying they cannot access the server. They will get an error when RDP is trying to connect. 

We check the session hosts, and will find many errors:

"Event ID 4005 - The Windows logon process has unexpectedly terminated"

At that point in time, users who are currently logged in may be able to still work, or their session may lock up (it is not consistent). 

Regardless of the current users logged; after the logon process crashes, it continues to crash upon every user attempt to log on. It will happen indefinitely until the server is rebooted. We can not log in, not even via console until the server is rebooted.

Then, everything works fine for some amount of time (not consistent) it may be a couple of days, or it may be weeks, or a month even. 

We have had the case open with Microsoft for about two months and they cannot determine what is wrong. 

I believe I may have found a possible cause; Webroot Secure Anywhere antivirus. Since we have tried everything from moving from roaming profiles to local profiles, removing all printers, blocking inheritance of GP, fresh server builds with minimal software, ect - it has to be something that is consistent across the board on all servers. 

The only thing I can find consistent across the board is the Antivirus; Webroot. 

I am curious if anyone else is having this issue? I would like to pin point this to something but it is so intermittent and we cannot force replicate the problem. 



Keyboard Layout per User group

$
0
0

Hi,

I'm having some trouble setting different keyboard layouts for certain groups

Servers are all running 2012R2.

Qwerty - US INternational is suitable for most users.
Some users need AZERTY lay out.This is what i did:

Logged in with test user.
Set proper keyboard layout.
Tested the configturation
From GP Management console ran the registry wizard.
Imported HKEY_USERS\<GUID of Test User>\Keyboard Layout.

Configured item level targeting for test user.
Removed test users profile

Logged in again.
Verified that the policy is applied.
Registry items are in place, but it defaults back to the QWERTY layout.

In some test it even displayed the AZERTY layout in Language/layout, but still it was QWERTY
It also adds the QWERTY layout codes to the registry.

Why can I make the change manually (keeps working forever)
But when I make a GPO it never works and defaults backup to QWERTY?

Is there a default / remote keyboard thing messing around??

Hope my issue is clear and some one knows how to handle it.

Issue with adding RD licensing CAL's on 2012 server

$
0
0

We had purchased about 60 RD CAL's through MPSA Agreement.

We already had a licensing server with these CAL's installed.

There was a need to take 10 licenses from this licensing pool and install it on 2 other servers.

However we installed the RD licensing, Gateway and Connection Broker server on these two new servers and installed the 10 licenses each respectively instead of pointing them to the existing licensing server.

We tried to remove the RD licensing role from these two new servers but are unable to do it as it is grayed out 

The 2 new servers are showing the following on the RD Licensing Diagnoser 

* the licensing mode for the Remote Desktop Session Host server is not configured 

* the remote desktop session host server is within its grace period but the RD session host server has not been configured with any license server

We need to do the following and would appreciate any help in this matter 

* Remove the Licensing Server role from these two new servers 

* point the RD Connection broker on these two new servers to the existing Licensing server (not sure how to do this)



RDS 2012: best practises daily reboot?

$
0
0

Hi,

Simple question: what would be best practises to reboot a RDS 2012 server (in a 4 server farm with broker) on which lots of applications and users are. I guess a daily reboot would be best, right?

Please advise.
J


Jan Hoedt

Port 3389 for remote desktop cannot use

$
0
0

I have a domain controller with Windows server 2008 standard(not R2).

Few days ago, I need to update it with windows update from SP1 to SP2 and latest updates.

After some updates applied before apply the SP2 and reboot the server, I cannot remote in that server anymore.

I think it was some update bugs and will fix after apply latest updates.

But the problem still exist after I apply SP2 and all the latest updates.

I have checked the server still using port 3389 for remote desktop, checked port 3389 is listening, remote desktop enabled, windows firewall disable, confirm no other equipment between the host and client using trace route.

But still cannot remote in that server except I change the port to others like 3390. I can remote in successfully with port 3390.

I found the server have SYN received from the client when I telnet this port or remote in. But just didn't build the connection.

I have search about few days with google, still find nothing about this problem.

I have reboot this server few times before without problem, so I think some updates cause this problem.

Please let me know how to make the port 3389 can be use again.

Thanks!

Redirected start menu brakes Window Explorer Jump List

$
0
0

Hi,

I´m using Windows Server 2008 R2 with RDS.

The users have roaming profiles with a redirected start menu.

However the redirection of the users start menu brakes the Jump List feature for the Windows Explorer.

The feature is surely turned on in this case (start menu properties....)

Other Applications like MS Word still save the files and folders the user worked with.

As I could troubleshoot the file 1b4dd67f29cb1962.automaticDestinations-ms won't be created since the start menu is redirected with a GPO.

If I turn off the redirection for the a user (with same roaming profile) the Recent Places are working immediately.

Has anyone experience with this or similar issue?

Cheers

Eddy

RDS: where to define groups (only on hosts or also on broker)?

$
0
0

Hi,

When you define AD groups which should have access on an  RDS farm (2008/2012/, should you only define them on hosts or also on the broker itself (which is only forwarding to hosts)?

J.


Jan Hoedt

how many servers?

$
0
0

hi there,

We'd like to deploy a 2 server RDS solution as far as I can see we'll need

2x session hosts

1x connection broker

1x gateway

However we only have budget for 3 windows servers. Therefore could the connection broker go on the same server as the getway, or would it be better to put the connection broker service on another server (i.e.  rather than using a dedicated server).

Thanks for any advice on this.

Al


Single Session

$
0
0

I have RDS working on Server 2012 R2 Workgroup mode. Is there a manual way to configure single session logon restriction? I cant do it through the GUI management tools when in Workgroup mode.


use redirection server name with TS client active x control?

$
0
0

Hello, in an rdp file I can put: use redirection server name:i:1

When I use the TS client active x control, this setting is no where to be found. 

Could someone set some lights here? I am able to do the following:

.MsRdpClientShell.SetRdpProperty "use redirection server name", 1

But I have to use Launch instead of the Active x "Connect" , making all my remote desktop events no longer work. How do I achieve this? 

Remote APP on local servers-NOT Azure: Is it still supported?

$
0
0

Hi everyone,  we are trying to get some information.  I have read that RemoteApp on Azure is no longer supported.  Is Remote App on Windows server (RDS Remote App) still supported by Microsoft?

Thanks

New RDS Environment

$
0
0

Excuse my ignorance as I am new to Microsoft RDS.

I used Microsoft RDS to setup a pool of virtual desktops in VMWARE. It works fine but I want to ramp things up as we will be taking on 50 remote resources who will need VDI access.

So, I am going to go with RDS and Hyper-V. 

My question is, what is the best option to allow for 30 concurrent connections to the same desktop setup. They will be Developer workstations so they will be kid of beefy. Lets say 2CPU 8GB RAM and 100GB HD.

So, do I go with Session based or VDI based? I was going to go with a single host, 4 CORE, 256GB RAM and 3TB disk space.

I figured I would spin up 5 VMs in Hyper-V with the above desktop configuration using Session based.  

Would this facilitate the 30 concurrent connections I need to support or should I be going in a different direction?

Thanks in advance.

Separating RDS Roles

$
0
0

hi there,

Several years ago, the previous IT setup a single server RDS solution (Connection Broker, Session Host, Gateway, Licensing etc on one box). We have experienced performance issue using this setup. When users connect to the RDP during peak time, we are getting disconnections. 

What is the best way to move the core services to a new server, leaving the old server as a second RD Session Host so I don't have to recreate the user profiles there?

Viewing all 25525 articles
Browse latest View live


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