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

Revoke or Stop issuing Windows 2000 Server - Built-in TS Per Device CALs

$
0
0

We have a Windows 2008 R2 Terminal Server licensing Server in our environment. When checking the issued CALs in Remote desktop Licensing manager, i see Windows 2000 Server - Built-in TS Per Device CALs. I believe these are CALs which are issued by the Windows 2000 terminal Server itself to the Device or client. 

My question is:

1. Is there a way to find out which Terminal Server is issuing the CALs or can we revoke the licenses?

2. Can we stop Issuing Windows 2000 Server TS CALs?

 Help in this regards is much appreciated 

Thank You


Only 2 users can connect to 2012 RDS despite CALs being installed

$
0
0

Hi there,

I have setup a client site with a Server 2012 RDS with 5 CALs. They are being hit with the 2 users limit and a third connection is required to 'select a user to disconnect so you can logon'. 5 valid device CALs are installed. Event logs are clear, TS Licence Manager reports 5 CALS are active, any suggestions?

Screenshots attached of the installed licensing server and CALS.

Thank you


Best Practice Patching VDI Clones Gold image

$
0
0

Hi Guys,

I have been trying to find a article that clearly describes best practices  on how to patch VDI Gold images.

Naturally we do not want to have to update the gold image every Tuesday and rebuild all images. 

My understanding is that we just need to patch the Clone images using normal process. EG WSUS and patch deployment program. (We do not have SCCM at the moment.)

This would keep the clone gold images updated. 

We would also need to update the Gold image so that when we rebuild any desktop it would include all the patches. 

If we want to install a new app or change version we would need to update the gold image then rebuild all clone images. 

Can someone confirm this for me, or give me more information?

Thanks for your time.

Craig 


Craig

Windows Search EDB file very large on Server 2012 R2 RDS

$
0
0

Hello experts. 

We have hundreds of users on 2012 R2 RDS session host servers and have a non-stop problem with the Windows Search .edb file growing extremely large and filling up all disk space. 

This looks to be a major problem for IT departments everywhere, based on a few seconds of searching around. 

The main items we have in place to try and combat this problem:

1.) We have enabled the "DisableSearchBackoff" and added the Corecount registry key found in this post:

http://www.cyberdrain.com/?p=116

2.) We have a batch file that runs the commands found below on a nightly basis, which defragments the search index database. 

https://support.microsoft.com/en-us/kb/2838018

3.) We have moved the index from C volume to dedicated drives. 

The problem is, no matter how much space we add, the files just keep growing. Is the only resolution to add a massive volume to each session host for this file to grow as large as it wants? I have seen many threads on various forums where people have reached out to Microsoft support on multiple occasions for this issue and the work around is to rebuild or defrag the database. I know there are lots of these threads out there but I'm curious if anyone has found a solution yet. Thanks in advance. 

Windows Server 2012 R2 showing a blue screen and no desktop!

$
0
0

Hi

We have a Windows Server 2012 Standard R2 which is used merely as a file server. This runs on a Lenovo TS140 ThinkServer with 32GB RAM and RAID 5.

The server just shows a blue screen with nothing else, no desktop or any text whatsoever, bar the mouse cursor on the screen. The mouse cursor moves by moving the mouse. Pressing Alt-Ctrl-Del will not launch the Task Manager. CTRL-Esc will not launch the"Start" menu, nor does the "Windows" key on the keyboard.

The server is actually functional and works, as everyone can access our "Access 2013" database which runs on SQL Server 2014 Standard. Pressing the "Caps Lock", "Num Lock" is also responsive. I don't really want to reset the server by powering it off and back on again, as I'm not sure what the consequence may be.

Has anyone come across this anomaly?

Thanks for taking the time to read this post.


 


C# Open remote application locked within Windows form

$
0
0

We're developing a C# Windows application, and one of the things we want to do with it is open a remote application inside our program. We can open a connection to the application's server using MSTSCLib, but to open our remote application either we open a remote desktop connection and open the program (which we don't want to do) or we open the remote application but in a separate window (which also isn't ideal).

This is how we get the remote application to open in a new window; is there a way to open the remote application inside the RDP client?

private AxMSTSCLib.AxMsRdpClient9NotSafeForScripting rdp;

rdp.RemoteProgram2.RemoteProgramMode = true; rdp.OnConnected += (_1, _2) => { rdp.RemoteProgram2.ServerStartProgram(@"C:\Windows\System32\calc.exe", "", "%SYSTEMROOT%", true, "", false); }; rdp.Server = "servername.com"; rdp.UserName = "domain\\user"; rdp.AdvancedSettings7.PublicMode = false; rdp.AdvancedSettings7.ClearTextPassword = "password";

rdp.Connect();

Migration from Roaming Profiles to User Profile Disks - RDS 2012 (R2)

$
0
0

Hi, I'm currently in the process of tweaking our RDS 2012 environment and have a question I hope someone can help me with....

The users who log onto the Collection are currently using roaming profiles stored on a 2008 R2 file server, but I'd like to move them onto User Profile Disks (looks to be a lot of pro's to it). Is there a way to migrate users profiles from roaming profiles to User Profile Disks? We already have a lot of users on the farm with roaming profiles and I'm guessing if UPD is enabled, it will only take effect with new users? I need to do this without too much hassle if possible

Any help would be appreciated

Thanks

Launch TS Remote App from Terminal Services API

$
0
0

Hi,

I'm using rdp files from "TS remote App manager" to launch remote apps without the anoying remote desktop. Now I found "Terminal Services API" and I'm able to launch remote applicatioms using the code below. Where can I set "remoteapplicationmode = 1" so my remote TS App runs without showing remote desktop?

I tried using MsRdpClientShell.RdpFileContents = <rdp file contents> but in that case I'm unable to set and use virtual channels.

Regards,
Manuel Alves

public Form1()
{

m_msTsc = newAxMsRdpClient6();

m_msTsc.OnConnected += newEventHandler(m_msTsc_OnConnected);

m_msTsc.OnDisconnected += newIMsTscAxEvents_OnDisconnectedEventHandler(m_msTsc_OnDisconnected);

m_msTsc.OnChannelReceivedData += newIMsTscAxEvents_OnChannelReceivedDataEventHandler(m_msTsc_OnDataReceived);

m_msTsc.Dock = DockStyle.Fill;

Controls.Add(m_msTsc);

InitializeComponent();

}
...

m_msTsc.Server = "myServer";

m_msTsc.UserName = "myUser";

m_msTsc.SecuredSettings2.StartProgram = "c:\\VirtualChannels\\VirtualChannelsServerApp.exe";

m_msTsc.SecuredSettings2.AudioRedirectionMode = 2;

m_msTsc.AdvancedSettings7.MaximizeShell = 0;

m_msTsc.AdvancedSettings7.SmartSizing = true;

m_msTsc.AdvancedSettings7.PublicMode = false;

m_msTsc.AdvancedSettings7.AuthenticationLevel = 0;

m_msTsc.AdvancedSettings7.ClearTextPassword = "myPassword";

m_msTsc.AdvancedSettings7.DisableRdpdr = 0;

m_msTsc.CreateVirtualChannels("CH001,CH002");

m_msTsc.Connect();

// Where can I set "remoteapplicationmode = 1"

// so my remote TS App runs without showing remote desktop?


RDS Farm unable to login

$
0
0

I created another collection in my RDS Farm and added a single RDS Host. The idea here is that users will use the desktop of this machine not published apps.

I created the collection using a single security group which I created just for this collection

I then added one user to the security group (they are a member of no other groups except domain users)

I then attempted to remote login through the connection broker and get the following error. 

"The connection was denied because the user account is not authorized for remote login"

It appears that the connection broker is not passing the login through to the session host, but instead treating it as if it wants to login to the connection broker itself. Not sure what I have done wrong here. It clearly says on server manger "Remote Desktop is published for the users of the collection."

Note the user can remote directly to the RDS host and login, but the point is to have it go through the broker as it's IP is the only one available outside the LAN. 



Lee

Windows 2016 RDS Deployment

$
0
0

Dear All,

We are planning to deploy Windows 2016 RDS infrastructure. does Windows 2016 RDS support windows 2008 RD sessions?

Outlook 2013 on RDS server sends Private Key prompt to the console instead of the users session

$
0
0

Hello,

I have a Win2k12R2 single server RDS environment with Office 2013 Pro installed.

All works fine except when a user is trying to open an email that was sent encrypted. On a local version of
outlook 2013 this opens fine, however in the RDS environment when the user clicks on the email, it doesn't open. No errors and a blank preview pane.

But...I noticed that on the console of the RDS server, a prompt is displayed when the users selects the encrypted email, which says:
"Windows Security

Credential Required

Do you want to allow the app to access your private key?"

There is no app listed. Just a blank area with the lock icon (see attachments).

If we click Allow, the users email in his RDS session opens fine and will continue to do so until they logoff of the
RDS server. This is bizarre behavior as an application in the users session is causing a prompt on the console of the RDS server.

Any help would be greatly appreciated.

Screen shot of users Outlook showing selected encrypted email which does not open or display anything in the preview pane:

Screen shot of RDS server console of popup which appears when the user clicks on the encrypted email above.

Screen shot of users Outlook now showing the encrypted email, AFTER clicking allow on the RDS server console:

Remote Desktop Services - Redirection of additional supported devices is disabled by policy.

$
0
0

I have a Windows 2008 R2 server running the Remote Desktop Services role.  Whenever I reboot or restart the "Remote Desktop Services UserMode Port Redirector" service , I get the Event ID 36 error:
     Redirection of additional supported devices is disabled by policy.

I verified that no such policy exists using RSOP.MSC.  I looked at the following location:
    Administrative Templates\Windows Components\Remote Desktop Services\Remote Desktop Session Host\Device and Resource Redirection\Do not allow supported Plug and Play device redirection
         
This is set to "Not Configured".
               For fun, I've tried both enabling and disabling this setting (rebooting after each change), and it had no effect on the problem.

Additionally, I verified that the setting was disabled within the Remote Desktop Session Host Configuration utility:
     RDP-Tcp -> Right-Click -> Properties -> Client Settings
          Redirection
               Supported Plug and Play Devices
For fun, I tried this setting both enabled and disabled, rebooting after each change, but this had no effect on the error.

Clipboard redirection does work.

I also followed all the instructions on the following article without success:

http://technet.microsoft.com/en-us/library/ee890928(v=ws.10).aspx

In the same domain, there is a Small Business Server, and there it works.

I hope anybody can help me on this issue, because for now my only option is reinstalling the server, and I would rather not because I cannot afford downtime that long.

Thanks!

Local printing not working in Remote Desktop

$
0
0

We setup Remote Desktop Services and made sure options were selected to redirect the local printers on each user's setting. We also made sure the option to block it was unchecked. They can print to networked printers at their location but can't print to local printers at their location. These are printers that are plugged in directly to their computers or laptops. The drivers are installed on the server.

When I look on the server the printer shows that there are documents in the print queue that have error - printing.

I look in the event log and there are error entries for TerminalServices-Printers:

An internal communication error occurred. Redirected printing will no longer function for a single user session. Check the status of the Remote Desktop Device Redirector in the System folder of Device Manager.

Log Name: System

Source: TerminalServices-Printers

Evenr ID: 1103

Level: Error

I look in Device Manager and the Remote Desktop Device Redirector Bus Properties status says, "This device is working properly."

What could be causing these printers to error and not print?

Thank you,

Jessica


Issues with RDP after RDS install

$
0
0

Hello hoping someone has a quick answer. I have a 2012 R2 server I installed RDS on. After I installed RDS I attempted to configure a collection. I install the collection with pretty basic settings. I give it a collection name, I add the local server to the server pool ( its the only option) I remove the domain user group and add domain admin to the "User Groups". I unchecked user profile disks because its not required. I then hit create. It does its thing and comes back with the error " Unable to configure the RD Session Host server <SERVER / FQDN> Invalid operation.

When I hit close the collection is there. I have not been further than this to test anything. There is another issue. After I add the RDS role and do this. When I attempt to RDP back to the same server I can no longer RDP. I get an error the server refused the connection. When I remove the RDS role I can remote back to the device.  

I did find this article ( https://support.microsoft.com/en-us/help/3014614/you-cannot-create-a-session-collection-and-an-error-occurs-in-windows ). This did not help.  Any thoughts would be great. 

Black Screen of death on a 2016 RD Session Host

$
0
0

Hi

I have received a call from a customer telling me that he is experiencing the black-screen-of-death issue on a newly installed 2016 RD session Host server. I know there was a fix for that issue in RDS 2012 R2, but I have yet to come across information about this issue in 2016.

Has anyone else seen this issue in 2016?



RDS 2012: allow RemoteApp ONLY

$
0
0

Hi,

How can I allow remoteapp only for a usergroup on RDS 2012 (with broker).
If I add users to remote desktop users they also can logon to the server which I don't want them to.

J.


Jan Hoedt

RDP Shadow on Windows Server 2016

$
0
0

I have some dev servers that I need to view other users' sessions on for QA.  When I login (RDP) to these servers and try to run shadow.exe, it tells me "'shadow' is not recognized as an internal or external command, operable program or batch file."  I seem to remember doing this with WS2003 without a problem.  Has this changed with 2016?

Clean install Windows 10 can not RDP via 2012 RD2 RDG.

$
0
0

I have two systems, both clean installs of Windows 10 Pro.  Both systems used to connect to work via a Windows Server 2012 RD RD Gateway.  We saved the RDP shortcut and they both stopped working now.  We create a new short-cut with same or different creds and still does not work.  Failure seems to be when authentication takes place on the RD Gateway server, not the remote computer.  I know this since I removed all creds and enter each manually and this happens when I am asked for the RD Gateway creds.  Now if I connect from any other system it works fine, if I connect from my phone via MS's RDP client it works fine.  I checked event logs both on the client jumping in and the RDG server and there is nothing when this happens. 

Error: Your computer can't connect to the remote computer because an error occurred on the remote computer that you want to connect to.  Contact your network administrator for assistance.

Any thoughts?

Migrating a desktop .NET app to RDS

$
0
0

Hi,

We have developed a desktop app that uses version 4 of the .NET framework (non-core). The app is written in C#, and uses WPF for the UI. We would like to provide our app to clients via a webpage, and it sounds like we might be able to do this using RDS. Our key requirements are:

  1. No significant changes to the existing desktop app's code.
  2. Clients should be able to log in through our webpage, and be presented with the application immediately. We do not want to host an RDP desktop session within the browser, only the app itself. To the user it should appear as if they are interacting with a web app.
  3. Decent image quality and reasonable performance of the hosted app.

Will RDS fulfill the above criteria easily in its current state? Are there are any good tutorials that will help me get started on testing a prototype?

Thanks a lot,

RDS session remote control for users

$
0
0

Our case is simple: we have a domain with a Windows 2008 R2 domain controller and a Remote Desktop Services server with Windows 2008 R2.

Domain users who were added to a security group can connect and use RDS without any problems with their RDP clients (client versions may differ slightly).

RDS session remote control is configured at Remote Desktop Session Host Configuration, so Administrator user can remote control RDP sessions without any problems.

We must grant the option to remote control RDP sessions to some of the domain users too, so we added them to the ACL on the security tab in "RDP-Tcp properties" with "Remote Control" rights.

The added domain users still can not remote control other users, if they try they get a "remote control failed" error message. if they try to use the "shadow" command they get a more detailed error message:

Your session may appear frozen while the remote control approval is being negotiated.
Please wait...
Controlling session ID 10 remotely
Remote control failed. Error code 5
Error [5]:Access is denied.

We even tried to add users to domain Administrators group or grant them Full Control rights without any success.

What else should we do to let some users to remote control RDP sessions?

Viewing all 7220 articles
Browse latest View live


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