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

RDP Closes Abruptly

$
0
0

I can access my remote PC via RDP outside the network once and everything works seamlessly. However, when I disconnect and try to reenter, RDP closes without connecting to the remote PC. When I restart the remote PC, I can log in once more then the issue repeats. 

- I've tried connecting from multiple devices and get the same issue. 

- I am prompted to enter the remote PCs credentials. But after I put them in, RDP loads for a few seconds and then closes. 

I hope someone can help me, its becoming nearly impossible to log in remotely and I use that other machine to maintain a second business remotely. 



rds connecting to server 2012 r2 timing out after 10-15 minutes

$
0
0
I have several windows 7 computers connecting to a server using remote desktop connection timing out after 10-15 minutes and dropping back into the sign in screen (getting kicked off the server ) after being idle for 10 minutes or so. I want to extend this so people do not have to sign on every time their computer is idle. I have set all the appropriate setting on the server in user configuration, I have set the idle timeout on the windows 7 systems. through local security policy. I also have the NIC set so it can't be turned off by the server. and I also set the server security policy etc.. as well to 2 days for auto idle logoff. The server is NOT set up with a session host, and I know there is an additional setting available if I had that set up. is there something else I am missing ?or do I have to set up sessions on the server?  

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!

Total Idle Timeout?

$
0
0

Can't seem to find anywhere that explains the Idle Timeout parameter for a Server 2012 RDS Collection.

We have the timeout currently set to 12 hours, but then we'll see Active users with a Log On time/date of today, a Disconnect Time /Date of today, however the Idle time can be as much as 5 days..?

So if the Idle Timeout reported is the total accrued idle time for a user, what possible good is that information?  

Seems like idle time should be relative to an active session with no activity, and the idle timer would reset everytime the user was active again.

Server 2012 R2 - &amp;quot;The credentials that were used to connect to x.x.x.x did not work. Please enter new credentials.&amp;quot;

$
0
0

Environment:

Server 2012 R2 stand-alone not on a domain (workgroup)

RDS feature has been installed

All users have been placed in the built-in group "Remote Desktop Users"

I have a total of 15 users (local accounts). 7 of the accounts were created the day I placed the server in production. The other 8 were created yesterday (6 days later). The first 7 users have no problem connecting to the server through RDS. The other 8 all receive the error message at login "The credentials that were used to connect to x.x.x.x did not work. Please enter new credentials."

I have verified the user name and password as correct. I have checked local policies and they are fine. I have restarted the server as well. I deleted the user account and added back with no luck. Changed the passwords with no luck. Does not matter what device/OS they are trying to login in from.

Now I am reaching out for assistance. Thanks

Routing 2008R2 session host through 2012R2 HA connection broker

$
0
0

Hi all,

I have 2012R2 RDS deployment with several 2008R2 session hosts.  What is the proper method for ensuring they route through the HA/load balanced connection broker?  When I look at the RDP connection file it shows the session host server as the endpoint and with the 2012R2 session hosted apps it shows the connection broker HA DNS name instead.  One slight difference in this deployment is that all connections route through the gateway server, not sure if that matters though.  Hopefully I've provided enough detail, if not please let me know.  Thanks!

I need to change the server name of RD 2008 R2

$
0
0
I need to change the server name of RD 2008 R2, any issue expected ?

2012R2 RDS delete all shortcuts except those that I need. VIA GPO

$
0
0

Hello everyone , you can think that this question is already been on this forum , and not once , but i will try to explain .

I installed 2012R2 as RDS and now i want to add shortcuts to groups of users (i know how to do this and i did it.), and before that 

i need to remove all the icons of the user , except the default like Recycle bin , and My computer (i know how to do it as well),

BUT !!!!!

if i will move user from one group to another , he will see icons of two groups , how can i create policy that will delete all shortcuts except the icons that i need ?

I have to Create a "Delete" shortcut for each icon that i want to be shared??


RemoteApp and Desktop Connections issue

$
0
0

Hello.

I try to setup new RemoteApp and Desktop Connection silently by command from c#. I use next code for setup connection:

var processStartInfo = new ProcessStartInfo
                                       {
                                           FileName = "cmd.exe",
                                           Verb = "runas",
                                           Arguments = "/C rundll32.exe tsworkspace,WorkspaceSilentSetup RemoteAppConfig.wcx",
                                           UseShellExecute = false,
                                           WindowStyle = ProcessWindowStyle.Hidden
                                       };

Process.Start(processStartInfo);

It works correctly(connection created) only if I launch application in debug mode. But if I install my application by msi, connection won't created. And I see next error in Event Viewer: "An error occurred. Contact your workplace administrator for assistance."

Could you help me please?

Allow HelpDesk User (standart domain User) mstsc /admin to any TerminalServer in Farm

$
0
0

Hello guys

Have a question

Is there any way to allow my standart user to mstsc to the RD Server with"admin" switch I have about 10+ TerminalServer and would like to allow him to mstsc /admin But whatever I do i get access denied message


Vusal M. Dadashzadeh

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)



Redirected printers not showing in Devices and Printer - unable to change defaults

$
0
0
We have a Windows Server 2012 Remote Desktop Server and are having problems with redirected printers on it. The problem occurs for users running the RDP client from Windows 7, 8 and 10.

Users are connecting over a WAN connection and are needing to print to their local network printers. The printers are connected successfully to their local workstations, and the option to redirect printers is selected in the RDP client. When users remote connect to the server the local printers show as available from within an application, such as Word, and they can print successfully using them, however they don't show in the Devices and Printers in the remote desktop session.

The problem is they want to change the default settings on the printer to be single-sided B&W and the default is Auto-color, double-sided. This can be changed manually from within the application but it doesn't stick once they log off and back on again.

Following the recommendation from this link:  https://support.microsoft.com/en-us/kb/243942  I was able to change the defaults by going to the redirected printer in Devices and Printers and making the change under both Printing Preferences and Printing Defaults on the printers, then waiting for at least a minute before logging off and the settings are persistent for that user through a logoff and back on again.

We had major printing issues with this server and printers when using the Windows Easy Print driver as they constantly randomly never printed jobs, and Microsoft Support concluded we needed to disable using Windows Easy Print drivers first and load matching drivers on both the local workstation and the server. This resolved the problems they had re the non-printing, but it meant changes to the default settings had to be made on the redirected printer as above, as changing them on the local printer doesn't carry through the redirection.

I was able to configure the redirected printers at the time as they showed up in the Devices and Printers, but for some reason they don't any more. The changed defaults have stayed persistent for users that the change was made on, but they now want it made for new users. Also checking for existing users they no longer have the redirected printers showing up in Devices and Printers either.

There have been no changes to the server that I am aware of that would cause the printers to no longer show up. Directly attached printers show up OK, just not the redirected printer. Checking the device manager does show the print queue for the redirected printer, and as mentioned earlier, it's available to print to.

I thought perhaps copying the registry configuration of a working configured printer and loading that each time a user logs on to the Remote Desktop Server might be an option, but the redirected printers change the redirection number each time so they wouldn't match.

Any thoughts or suggestions about how to either get the redirected printers showing up again, or configure them for persistent defaults would be greatly appreciated.


Brand New Physical Server 2012R2 deployment - RDP Session disconnects and reconnects every few minutes...?

$
0
0

Hello Folks,

Hopefully you can point me in the correct direction here please...

Having reviewed various Internet articles on this issue and tried various fixes we have not resolved the issue as yet.

We have built and configured Windows Server 2012 R2 Standara on a brand new Physical server with all Firmware and drivers from the server maunfacturer updated, all available Windows Server 2012 R2 Updates applied.

Can logon perfectly with RDP Connection Manager from my laptop to the server every time, but after about three minutes or so we get the RDP Disconnection warning "The connection has been lost. Attemptingto reconnect to your session...."

The RDP session goes black and after a minute or so the session vomes back again, never ever experienced this behaviour before we have 20 servers in the same loczation and no others show this behaviour.

I have ruled out network issue as no packet loss or drops.

What makes it more bizarre is using Citrix Goto Assit there are no such disconnects, which makes me belive it is a RDP issue.

The server is not on the dopmain so no GPO have been configured since OS deployment or via Local Security policy.

The server does not have the Remote Desktop Services feature enabled, as we are only looking to utilise the Micriosoft inbuilt 2 x Admin sessions.

Any assistance greatly appreciated please.

Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational

RemoteDesktopServices-RdpCoreTS

103

The disconnect reason is 0

Kind regards,

Graeme

Windows 10 1607 in RDS Virtual Desktop Infrastructure

$
0
0

Hello,

Does anyone know if Windows 10 1607 is supported in a 2012 R2 RDS virtual desktop infrastructure?

We have been using pooled virtual desktops for our employees successfully since the arrival of Windows 10 10240. All servers involved are 2012 R2 and has been recently updated. At another office we are running the same set up using Windows 10 1511, also without any problems.

Last week we decided to upgrade our reference image with Windows 10 1607. After the upgrade we ran in to a bunch of problems.

The VDI:s frequently loses network connection for no apparent reason, nothing is logged on the Hyper-V host. Disconnecting/connecting the virtual adapter solves it, but it usually loses connection again in a couple of hours.

The user profile disks sometimes stick to the VM when the user logs out, this results in user getting a temporary profile on the next logon because the UPD is locked. This occurs because the VM is not automatically reverted when the user logs out, I can fix this manually by reverting the VM.

When we updated the collection we got Event 4000 for every VM in the pool:

Hyper-V Volume Shadow Copy Requestor failed to connect to virtual machine 'OFFICE-VDI-01' because the version does not match the version expected by Hyper-V (Virtual machine ID CB319BC0-CB86-4E97-8EC3-71A36EE4A062). Framework version: Negotiated (0.0) - Expected (3.0); Message version: Negotiated (0.0) - Expected (5.0). To fix this problem, you must upgrade the integration services. To upgrade, connect to the virtual machine and select Insert Integration Services Setup Disk from the Action menu.

On the Connection Broker we get a lot of these errors:

Event 1296
Remote Desktop Connection Broker Client failed while getting redirection packet from Connection Broker.

Event 1306
Remote Desktop Connection Broker Client failed to redirect the user

Event 802
RD Connection Broker failed to process the connection request for user

Event 1285
Failed to spin VM OFFICE-VDI-01.office.it-hosting.se on host RDSHOST. Error: VM plugin failed to wakeup a VM.

Today we reverted all VMs back to 10240 and all went back to normal. From this I can only draw the conclusion that Windows 10 1607 is not supported in a Virtual Desktop Infrastructure on Windows Server 2012 R2, but I cannot find any information on the subject.
My plan now is to keep running 10240 until server 2016 arrives, then I might give 1607 a new shot.

/Marcus

AD accont locks when try to acces map drives via VPN

$
0
0

So I connect to the LAN, and Everything works fine. Connect to VPN and I can surf intranet, connect mail server etc., but when I start Windows Explorer my AD account gets locked instantly

I tried to remove all mapped drives, and reconetct, it works at first, but after I restart PC and connect to the VPN, same thing- account locks after I start Explorer


RDS2012 - Generic Printer has Wrong Code page - ZPL Printer

$
0
0

hi

we are using an 2012 R2 RD Server.
We have Zebra Printers on our Clients wich needs the Generic TextOnly Driver to use this printer becaus it awaits ZPL commands.

I already disabled the EasyPrint Funcion via GPO to get the printer running on our RD Server.
The only problem that still appears is, that the printer is using the wrong CodePage Setting.

The Client has set the code page on the printer to "multilingual"
On the RD Server, this mapped printer has the default "US 1" setting, and the user cannot change these setting on the RD Server.

i tried it with an english and a german RD Server

I also tryied to find out, where the default Code Page is declared inside the TTY Driver. but i cant find any position in the Driver Files or Registry.

Is there a way to change the Default CodePage of the Generic TextOnly(TTY) Driver. Or any other ideas like using a different TextOnly driver or wrapper?

Steven

Problem where RDP mouse click and keyboard inputs do not function

$
0
0

We have had a RDS session host running 2012 R2 for just over a year with no issues what so ever.  Around the July timeframe we started to see issues where occasionally a session would connect and while the mouse pointer would move the mouse clicks and keyboard input was ignored but only after the session desktop loaded.  The only thing I have found to resolve the issue is to restart the server.  When this occurs it seems to occur for any new sessions.  I do not know if it also affects established sessions as our usage of the session host is very low over the summer.

Now that we are starting up our fall semester were getting reports almost daily of this occurring and we have been restarting the server daily as a result.  I took a quick scan over the last few pages of questions in the forum and didnt see anything that stood out as someone else having this issue so I figured I would start a topic to see if anyone had any ideas what might be going on or if someone had this issue and got it resolved.

WIN 10 cannot connect via Remote Desktop connection after update

$
0
0

Hi

I was able to connect to my RDS 2012R2 using the built-in win 10 remote desktop connection via the web interface without problems until the desktop was upgrade to built 14393.187. Now I receive the error message "Your Computer can't connect to the gateway server"

I can connection on a win7 desktop and can connect on a WIN10 desktop using theRemote Desktop preview app found on the windows store.

After the upgrade I browser to my RDS and click on the remote desktop connection icon as normal and then I receive a new window that asks for my password, I have double logon so this is not unexpected, the look of the window is new however.

Firstly, I was wondering is other people are experiencing the same problem and secondly if there is a work around.

The remote desk connection program on the client is version 10.0.14393 

Cheers

laurie

Install software only for current user in terminal server

$
0
0

Hi...

Recently we have windows 2008 r2 terminal server configured. One our task jobs is to install software for current user.

But when we completed install the software all terminal server user got the software, may question is :

How to install the software only for the current user ?

thank you for advance

Regards

Ruslan

RD Web + Gateway Server after successful login - cannot contact revocation list for Session Host

$
0
0

Hi there,

i recently set up a server in our DMZ with RD Web and RD Gateway role on it.

The RD Web should use the RD Gateway to authenticate which works fine. But after the user tries to connect to a "full desktop session". He gets the warning"revocation check could not be performed for the certificate."

There are some sites out there recommending to not perform the check. But my CRL is on a HTTP server and i let the gateway Server access this address and also opened a port for the ldap query to the internal CA (these are the 2 CRL points).

I can see that the gateway server is not checking any of these or is this a task performed by the client? We want to allow external clients so "importing CAs" is not the solution.

Best regards

Stephan


Regards Stephan

OneDrive / Sharepoint Blog

Viewing all 25525 articles
Browse latest View live