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

Single server solution for RDS / TS / RDP using Windows Server 2012 R2

$
0
0

Planning on setting up a small single server and  need this functionality:

* 3 local users runnnig Windows 7 Home Premium needs to access files on the server

* The same 3 users should also be able to connect from home (PC, Mac, iPhone) and run an application on the server. (Session-Based Remote Desktop).

We want to use Windows Server 2012, and found out that Essentials does not support RDP, so that leaves Foundation and Standard versions.

However, I also found out that in WS 2012 the RDP can not be on the same server as the Domain Controller, and we therefor needs to run 2 server instances on our hardware. I think this starts to look way to complicated for what we want to do, but found out that WS 2012 R2 allows a single server to run RDP (See TechNet article 2833839).

So we will go for Windows Server 2012 R2, either Foundation or Standard to set up our RDP.

So now the question: Will that solution work with our local machines running Windows 7 Home Premium, as they cannot connect to a domain? Can we set up some kind of simple file share or Workgroup to acces files locally while still keeping the RDP functionality on the server?

And, will WS 2012 Foundation R2 do this as well as WS 2012 Standard R2?

(I have been asking several locat MS representatives to find a solution to our needs, but no one seems to know how this works....of cause we could just get 2 WS 2012 Standard server instances, run one as DC and on as RDCB and upgrade all our clients to Win 7 Pro, but we would like a solution with minimal investment in time and money)

Rgds

Petter

 





Stop Users Installing Apps

$
0
0

It seems many apps now can be installed providing users have access to their local AppData folders. eg - Firefox, Spotify etc.

I've disabled Windows Installer for all users, but these apps obviously use their own installer service therefore bypassing the restrictions.

What are people's recommendation for preventing users installing such apps?

UPD vs GPO

$
0
0
What takes precedence? If I enable full User Profile Disks (all user data/settings) but have a GPO which redirects My Documents, what is the result? Will my users My Documents be in the UPD, or on the redirected path?

Remote Desktop Services broken down

$
0
0

We have been using Windows Server 2012 to deploy Remote Desktop Services for more than one year.  Our VDI are mostly Windows 7.

Today in the afternoon, all users reported that they can no longer use the VDI and the service did not recover after rebooting the servers.

I later found in the event viewer the following at the time of the problem,

Event 700, TerminalServices-Gateway

The following exception code "3765269347" occured in the RD Gateway server.  The RD Gateway will be restarted. No user action is required.

Log Name:  Microsoft-Windows-TerminalServices-Gateway/Admin

Source:       TerminalServices-Gateway

Event ID:     700                        Task Category: (1)

Level:          Critical                   Keywords: (33554432)

User:           NETWORK SERVICE

Remote Desktop Services broken down

$
0
0

We have been using Windows Server 2012 to deploy Remote Desktop Services for more than one year.  Our VDI are mostly Windows 7.

Today in the afternoon, all users reported that they can no longer use the VDI and the service did not recover after rebooting the servers.

I later found in the event viewer the following at the time of the problem,

Event 700, TerminalServices-Gateway

The following exception code "3765269347" occured in the RD Gateway server.  The RD Gateway will be restarted. No user action is required.

Log Name:  Microsoft-Windows-TerminalServices-Gateway/Admin

Source:       TerminalServices-Gateway

Event ID:     700                          Task Category: (1)

Level:          Critical                      Keywords: (33554432)

User:           NETWORK SERVICE    Computer:    xxxx.xxxx.xxx.com

OpCode:       (4587520)

-------------------

After server restarted, although all Remote Desktop Services service are running.  When I use the Server Manager and try to browse to Remote Desktop Services, the following was displayed.

A Remote Desktop Services deployment does not exist in the server pool.

To create a deployment, run the Add Roles and Features Wizard and select the Remote Desktop Services installation option.

-----------

The users can no longer use the normal way to access the VDI ... however, as a temporary work around, I help them to run "mstsc" and specify the VDI's computer name, they can use their credentials to access their virtual desktop.

I was thinking that the either the RD Gateway or the RD Connection Broker is having problem, but no idea on how to fix it.

Any suggestion welcome.

Thanks.

Issues with RDS Virtualization Host deployment - Server 2016 TP4

$
0
0

I am attempting to create a RDS Virtualization Host deployment on a Windows Server 2016 TP4 Server core install using powershell.

I'm using the following command to achieve this:

New-RDVirtualDesktopDeployment -ConnectionBroker $serverName -WebAccessServer $serverName -VirtualizationHost $serverName

where $servername is the FDQN of the system. Everything seems to install except for webaccess. I have tried manually installing Webaccess after the fact using:

Install-WindowsFeature RDS-Web-Access and this fails saying that it cant find the source.

I then tried looking for the winsxs folder under the install media. This doesn't seem to contain the installer for this. I'm not sure what I'm missing here.

Thanks in advance,

Dustin


Scheduled Task for different RDP Logins

$
0
0
I need to create at least two scheduled tasks to log in two different "users" 2008 R2.  We run two automated jobs in RDP Sessions and it seems that it isn't possible to be able to do this (works fine in 2003 R2).  It would seem that this is by design for some horrible reason.  I tried changing the hosts file like some have suggested and I wasn't able to log in.  I tired creating one shortcut with the server name and one with the IP Address, no luck.

Event ID 56 - TermDD - The Terminal Server security layer detected an error in the protocol stream and has disconnected the client

$
0
0


Yesterday a customer complain about he couldn´t connect using MSTSC client to a Win2008R2 hosted on Amazon AWS/EC2

The error was on event log, but only one time, but the user says that he tried more than 5 times, allways with the same error message and the TS logs shows all retries of the user, but only one Event ID 56 was in the event log. There are several Event IDs 1149 (Remote Desktop Services: User authentication succeeded) in the log showing his attemps (more thant 9), but only one event ID 56 in the event logs,  all Event IDs 1149 showing login OK and for several hours it was working and suddenly stops, after the Event ID 56

We had this problem in the past (event ID 56), and was related to the traffic it was flowing through a (very very busy) fortigate appliance and after removing the fortigate the problem never happened again. IN this case, there was a fortigate also, but only making traffic flow through a VPN, not the same thing and during the diagnostic, two new information: There was a change in fortigate changing cluster mode from A-A to A-P AND the user tried also to connect from a Amazon Workspace (VDI) inside the Amazon Network and the problem ocurred again, even fortigate having (apparently) nothing to do with the matter.

I could connect with no problem through the fortigate VPN from a remote network using my domain user and the local useranme the user was trying to use it was a local user, in a disconnected state running several LOB APP services (don´t laugh) and i couldn´t disconnect/logoff the user, nor reboot the server.

This error is new to me. In the past we had several TermDD Event ID 56 errors, but it´s the first time i see this specific error:


>\temp\err\err.exe C000020D --> FIRST TIME, after the fortigate change 
# for hex 0xc000020d / decimal -1073741299 :
  STATUS_CONNECTION_RESET                                       ntstatus.h
# The transport connection has been reset.
# 1 matches found for "C000020D"

>\temp\err\err.exe C0000184 --> 2 or 3 times in the last 4 months
# for hex 0xc0000184 / decimal -1073741436 :
  STATUS_INVALID_DEVICE_STATE                                   ntstatus.h
# The device is not in a valid state to perform this request.
# 1 matches found for "C0000184"

>\temp\err\err.exe C000005E --> 2 or 3 times in the last 4 months
# for hex 0xc000005e / decimal -1073741730 :
  STATUS_NO_LOGON_SERVERS                                       ntstatus.h
# There are currently no logon servers available to service
# the logon request.
# 1 matches found for "C000005E"

>\temp\err\err.exe C00A0032 --> 2 or 3 times in the last 4 months
# for hex 0xc00a0032 / decimal -1073086414 :
  STATUS_RDP_PROTOCOL_ERROR                                     ntstatus.h
# The RDP protocol component %2 detected an error in the
# protocol stream and has disconnected the client.
# 1 matches found for "C00A0032"

>\temp\err\err.exe C00000DC --> 2 or 3 times in the last 4 months
# for hex 0xc00000dc / decimal -1073741604 :
  STATUS_INVALID_SERVER_STATE                                   ntstatus.h
# Indicates the Sam Server was in the wrong state to perform
# the desired operation.
# 1 matches found for "C00000DC"

The source for the err application was taken from: https://blogs.technet.microsoft.com/askperf/2010/03/24/the-curious-case-of-event-id-56-with-source-termdd/

Why does the EventID 56 shows only once, but the user reported several attempts of the error?

Maybe the network really is a problem?


RDS 2012 remoteapp sessions, HKCU/Control Panel/Colors

$
0
0

I am in a test environment with a 2012r2 session host and with a 2012R2 gateway.  We published an application that currently requires us to modify the registry, specifically the 'InactiveTitleText' value in HKCU\control panel\colors.  In a remote desktop session, the registry change works fine, and the app displays as expected. However, once we are in a remoteapp session directly to the app, it will overwrite our registry value('InactiveTitleText') back to the default value of ' 0 0 0'.

Is there a different location for this value in the registry for a remoteapp session? How can I get this value set to a specific value within a remoteapp session besides the default value of '0 0 0'? Or is there no workaround for this? Settings in RDS I'm missing maybe?


Print PDF file from winform client installed on RDC or VDI using local printer (TS Easy Print)

$
0
0

Dears,

I'm working on a legacy application using winform (.net 4.0 & c#).

The client application is installed on a machine accessible only via RDC or VDI. The OS is Windows 7 or higher.

The client application must be able to print PDF files from that machine to the local printer (local or network) installed on the client machine. This means that the printer selected via RDC is a redirected printer using the TS easy print drivers. Those drivers don't allow the usage of RAW printing.

The printing method used before were:

- Copy of the files directly on the UNC of the printer (\\printername\dc)

- Usage of ImportDll and calls to OpenPrinter, StartDocPrinter, WritePrinter, ....

Both of those solutions don't work anymore because:

- The network printers are not on the same domain anymore and therefore not accessible directly from the RDC.

- The WritePrinter method don't work anymore since the easy print drivers don't understand RAW printing.

So, here comes my question. How can I print on those printer? Do I have to create an EMF file for the printing? If yes, how can I use my PDF file and create an EMF file containing the information? Is there other solutions (modifying the group policy is not an option since we don't want to install the drivers of the different clients that will connect)?

In last resort, the usage of a library could be foreseen but a long discussion with the management will be necessary (so I hope other solutions exists). Is there some third party library that you could advice?

Also, I tried printing in that environment using PrintDocument.Print(). That is working as expected but with that solution the problem is to convert the pdf to a drawable format (one image per page or other ...).

Thanks in advance,

Benoit Delfosse
Senior .Net Developer/Architect


What RDS CAL-s I need for Windows Server 2012 R2 Foundation?

$
0
0

I have licensing problem:

Till now we used Windows 2003 servers.

I have a fresh OEM Windows 2012 R2 Foundation that contains:

  • 15 user accesses for file server operations (It is absolutely enough for me to use simple database operations using WorkGroup in our local LAN)
  •   2 administrator RDS licences (probably for administration purposes only)

I need some more RDS accesses for users located in other cities (4-5 acceses).

My question is: What exact kind of CAL licence I need, that is suitable for this situation?
  Unfortunately the our local HotLine Sevice of Microsoft looks to be not informed enough to give correct and satisfying information for me...
   Some of my friends says that normal W12 RDS user CAL is not good for me (price about 30-32 €/licence), but I need a special RDS OLP user CAL which is more expensive (something about 130-140€/licence).
Is it trough?

Can anyone help me??

Jozef



install Windows Server 2012 RDS CALs - 10

Can't run remoteapp

$
0
0
I'm running all server 2012 R2 servers. I have the licensing on a domain controller and web, connection broker and Gateway on a member server. We had a problem with a virus so the former licensing server had to be replaced. It's taken alot of configuration, but I have almost everything back working. I can go to RD Web and connect to a computer on the network just fine. However, if I try to run a remoteapp, I get a message that the remote computer could not be found. I'm not sure if this is just something misconfigured or if it could be a dns issue. What server is the error referring to? When I click a remoteapp on the RD web page, what should be the role that is contacted?

Roger Stumbaugh

Strange values for Idle and Disconnect Time in Server Manager - Session Collection

$
0
0
Question
Vote

Hello,

I see strange behaviour for Idle Time and Disconnect Time in Server Manager Session Collections.
When a user connects to a Session Collection then there is no value for Disconnect Time and Idle Time. Thats ok.

But when disconnection it i get some that look like the first (top) blue box, which is normal behavior, however i also get several users on different servers that get the secon blue box (bottom) - how can they have an active session state, be disconnected and idle????

I have 19 RDSH in the collection and the issue is on every server, i have tried building new RDSH and using it - sam result, i've disabled alle GPO settings regarind Remote desktop, handeling all setting in the collection properties. 

I have 2 RG GW, with Web access and HA RDCB on RDG's. All servers are Windows Server 2012 R2 VMs in Hyper-V.

Idle Timeout on reconnected sessions not displaying correctly

$
0
0

Hi all,

I'm running into a problem with idle timeout not being displayed correctly in the Connections-overview.

As soon as the connection is disconnected, the idle-counter starts running.

When I reconnect, however, the idle-counter keeps running, instead of being reset to 0.

Reconnect is done from the same machine, same Client IP-address.

Connection is made through an RD Gateway-server.


RemoteApp sessions not letting go of VMs or UPDs, causing subsequent logins to attach to TEMP profile or not work at all

$
0
0

I've set up a test server running the latest version of 2012 and configured RemoteApps. 

What appears to be happening is that after your initial logon to a remoteapp, when you close the session your user profile disk is staying "in use". So when you login again, if you get attached to a different VM (which seems to happen every time), then it can't attach to the UPD, so you get logged in with a TEMP profile.

Additionally, it seems like once you've had someone attach to all of the VMs, then you can no longer connect to any of them. They are basically one-use VMs. Once they've all been connected to and disconnected from, you get this error when trying to run any remoteapp:

   There are no available computers in the pool

Looking at the server manager the VMs all say "disconnected" but they also show the last user to login under "user". 

There aren't any errors or warnings in my event logs that seem related or are even from the specific times.

Rebooting the server fixed the issues only until users logged in again and it started over.

I'm at a loss, as this VDI/VM stuff is kind of new to me.


Certificate Issue

$
0
0

Hello,

I have a strange problem with my rds server, the server host an appplication used by multiple users.

I have created a link shortcut on the desktop (Web Access) and just a shortcut.

The problem I have is related to the SSL certificate:

- When I click on the Link on the server, I receive a certificate error.

- But when Copy the link on a workstation I Don't receive the certificate error (CA is valide)

- Logs does not show a lot

- Browser used is IE

Thank you

no audio

$
0
0
I have a toshiba c655 satelite and there is no audio when I play dvds can you help

RemoteApp with user specific assignment still shows for other users

$
0
0

Hi,

I have two remoteApps where I have configured that Only specified users should see it.

I have a two-way domain trust between domain1.local and domain2.local.

If I specify domain1.local\group1 then all that group1 can see is that app.

When I specify domain1.local\group-trust then they can se both apps even the one that only has group1 assigned.

The group-trust is a "domain local" group on domain1 where domain2.local\group2 is member.

It really bothers me that I can't get the "group-trust" to only see the app that I have specified for them and it shouldn't even be possible for them to see the other app. When they try to run it though it doesn't work, however it still syncs as a resource in the "RemoteApp and Desktop connections".

Why is this happening?

Remote Desktop Web Gateway and multiple RDS Farms

$
0
0
I'm setting up a 2012R2 RDS farm that will include a Web Gateway, or possibly a Web Gateway cluster. In the end, I will end up having multiple RDS farms set up. Is it possible for a single RDS Web Gateway or Web Gateway cluster to be the web gateway for multiple RDS farms and route users to the appropriate farm based on their group membership, rather than having a separate Web Gateway or Web Gateway Cluster for each farm?
Viewing all 25525 articles
Browse latest View live


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