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

Remote App disable printer redirection does not work

$
0
0

Hi guys,

I need your help to solve my problem.

I have Windows 2008 R2 Terminal Server with Remote App. I delivered a .rdp file to all network clients (windows 7) for my app and all is working fine except for printer. Every time that clients connect to remote app their default printer is redirected and set as the default printer, but I need to set only the local printer of the terminal server.

I tried to solve the problem setting the following script on startup folder (all users) with no luck:

Set WshNetwork = WScript.CreateObject("WScript.Network")
PrinterPath = "HP LaserJet M9050 MFP"
WshNetwork.SetDefaultPrinter PrinterPath

I also tried configuring a GPO linked to OU which cointains the Terminal Server:

Computer Configuration > policies > Administrative Templates > Windows Components > Remote Desktop Services > Remote Desktop Session Host > Printer Redirection

Do not allow client printer redirection: Enabled

Do not set default client printer to be default printer in a session: Enabled

The terminal server owns all roles for Remote Desktop Connection...

I also tried to modift the .rdp client file with the option "redirectprinters:i:0" with no luck...

Have you any suggestion to solve my problem, please?
Thanks,

Marco



RDP from Win7 to Win7. Remote Win7 restarts after disconnect

$
0
0

I RDP from my Win7 home system into my Win7 work desktop.  I can connect just fine but when I disconnect or just X out of the session, when I go into the office and login, it's acted as if I was logged out and all my screens are no longer there.  I've learned to save everything but it's frustrating as all email and tickets I'm working on are gone.

I'm using native RDP that came with Win7.

David

External Access to VMs?

$
0
0

Howdy,

I was told there might be a way that we can make certain VMs available from an external website but wasn't given much more information than that so I'm hoping someone can point me in the right direction.

What we want to accomplish is to have a specific URL that someone can go to that would list out certain VMs that we have and would let people remote into them that way.  These would be used for training and would be accessed by people who are not employees.

Is there any way to do that and can you point me towards a tutorial or anything to help me out?

Thanks!

Terminal Server Licensing Service won't stay running

$
0
0

Good Afternoon:

I am having some difficulties with the Terminal Server Licensing Service in my environment.  The problem is that the service crashes every time it starts.  Sometimes it will run for a few minutes, sometimes a few seconds.

As I could not resolve this issue, I built a new server, activated it, installed my licensing and let it sit for a half hour.  The service never crashed.  I then pointed my RDS servers at this new server and things seemed to go well until a few hours ago.  The service began crashing on this new server, too!

The License Server is a fully patched Server 2008 R2 box service ~ 150 RDS hosts.  I can see that it's working while it's up -- lots of events in the Terminal Server Licensing Event log.  But it just crashes with the error below in the Application Log.

I cannot find much information on this error, but the one promising thing I found was to grant Network Service access to C:\programdata\microsoft\crypto\RSA\MachineKeys.  I did this, and restarted the service, and I'm still having problems.

Any help would be greatly appreciated!

ERROR:

Faulting application name: svchost.exe_TermServLicensing, version: 6.1.7601.22137, time stamp: 0x5080442a
Faulting module name: tls236.dll, version: 6.1.7601.17514, time stamp: 0x4ce7c9d9
Exception code: 0xc0000005
Fault offset: 0x0000000000002c5d
Faulting process id: 0xf1c

Faulting application start time: 0x01d0a2c3be224474
Faulting application path: C:\Windows\system32\svchost.exe
Faulting module path: C:\Windows\system32\tls236.dll
Report Id: 15647152-0eb7-11e5-a687-00155d971957

XML:

-<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
-<System>
 <ProviderName="Application Error" />
 <EventID Qualifiers="0">1000</EventID>
 <Level>2</Level>
 <Task>100</Task>
 <Keywords>0x80000000000000</Keywords>
 <TimeCreated SystemTime="2015-06-09T14:52:01.000000000Z" />
 <EventRecordID>65393</EventRecordID>
 <Channel>Application</Channel>
 <Computer><computerfqdn></Computer>
 <Security/>
 </System>
-<EventData>
 <Data>svchost.exe_TermServLicensing</Data>
 <Data>6.1.7601.22137</Data>
 <Data>5080442a</Data>
 <Data>tls236.dll</Data>
 <Data>6.1.7601.17514</Data>
 <Data>4ce7c9d9</Data>
 <Data>c0000005</Data>
 <Data>0000000000002c5d</Data>
 <Data>f1c</Data>
 <Data>01d0a2c3be224474</Data>
 <Data>C:\Windows\system32\svchost.exe</Data>
 <Data>C:\Windows\system32\tls236.dll</Data>
 <Data>15647152-0eb7-11e5-a687-00155d971957</Data>
 </EventData>
 </Event>

Network applications keep timing out after some time

$
0
0

Dear Pro´s,

we´re running an Terminalserverenvironment with Windows Server 2008 R2.
Currently - problem started showing up like two weeks ago, I don´t know about any changes made to the systems - we are facing issues with applications that are connecting to any backend over the network. For example, PuTTy-SSH-connections are closed after some minutes and SAP Logon-Sessions are terminated as well.

The colleagues from the networkteam already checked the configuration and cannot find any setting that could lead to this behavior.

For Putty I was able to solve the issue by configuring "StayAlives" being sent out every two minutes. Anyhow this is just a workaround and does not solve the problem itself.

Do you have any idea, where this could come from? Any GPO to configure this? I´ve already found some registry keys that could be set (like HKEY_LOCAL_MACHINE\SYTEM\CurrentControlSet\Services\Tcpip\Parameters -> TcpInitialRTT (DWORD) HKEY_LOCAL_MACHINE\SYTEM\CurrentControlSet\Services\Tcpip\Parameters -> TcpMaxConnectRetransmissions (DWORD)) but this seems to be only related to 2003 and should already be in place with correct default settings in 2008 R2.

Is it possible that TCP/IP autotuning has something to do with this problem?

Thanks in advace and best regards
Checkz3n


RD Gateway Cert Level is Error

$
0
0

Good Day,

Our Windows 2012 R2 RDS configuration is working but when users connect remotely via the RDS Gateway and then launch their program they are warned about a cert. We are using a wild card cert and the same cert is applied in all places. When I run the power shell command Get-Rdcertificate is shows everything is good. Yet the RDS Console shows a cert error on the RDS Gateway (we have two). The RD Gateway manager shows everything is good.


Steve J.

Access Denied when trying to Remote Control a session on Server 2008 R2

$
0
0
I have 2 2008 R2 RD servers in a domain environment. I logged in under admin to remote control a session to assist a user with an issue and I get access denied. On the AD i have the user's remote control tab to Enable control and to be able to interact with session without user's permission. I also went into the RDS's Session Host Configuration > RDP-TCP >Properties >Remote Control Tab and even changed it to Use Remote control with the following setting and still get access denied. Any ideas on how to fix issue?

PowerShell command to extract RDS license usage

$
0
0

I am looking to create my own custom report that runs once a month to show how many per device RDS licenses are currently being consumed.  I am running Windows 2008 R2 for both the RDS hosts (actually Citrix) and the license server itself.

I saw a few posts about "Win32_TSLicenseReport" but I am not sure exactly how to use this or if this is really what I want.  I don't want to generate RDS license reports like you can do with the GUI - I just want to extract the value of what is currently used and then I will take care of my own reporting.

Does anyone know if there are PowerShell commands I can use to pull this type of data from my RDS license server?

Thanks

NK


"isolate" access to RDSH hosts in RDS farm

$
0
0

RDS 2012 R2 - 2 Brokers 2 RDSHs and SQL in deployment. Using RemoteApp.

I have couple of non standard apps.

I would like to add  one more RDSH for the beginning and install on it just non standard apps. Then I want to publish them as RemoteApps.

1. Let say User1 accessing apps available for him from RDSH1 and RDSH2 in current situation. I add RDSH3 with published Remote App and provide access to User1. If he will access apps published on RDSH1 and 2 I will see one connection in RDS manager to server 1 or 2 and if he will access app that is published from RDSH3 I will see one more connection of this user to server 3.

I guess it will work without any trouble.  Correct?

2. Then I add 10 more users with the same access rights.

Connections to RDSH1 and 2 will be split between both as it is now (by load balancing) because they have the same apps availabel. But the connections opened by the app published from RDSH3 will all made to this machine

In other word can I have different apps on different RDSHs and would it affect brokers? Or everything should be smooth from connection distribution perspectives. Sure Servers load is taking into consideration.

The reason that I want to go this way is to not pollute clean hosts that don't have any installed apps. I deliver Virtual Apps on them and then publish by RemoteApp. Only those Virtual Apps that could not be published as RemoteApp must be isolated in my approach.

Am I on right way by thinking of Apps isolation by RDSHs?

Thanks.


--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

RDWEB question

$
0
0

I am using RemoteApp.

The apps that I publish to users are delivered in form of Virtual Application (APPV) to RDSHs.

Everything works perfect with most of the programs.

I have couple of apps that are delivered as virtual package and works fine on RDSH but because of there Jurassic Park nature are not available for publishing as RemoteApp. I posted the question here on forum... For more than a week no answer. And I understand... it is not a standard app. Even APPV and RemoteApp can coexist.

I have another idea... Want to ask before trying.

As mentioned my APPV app is running well on RDSH. What if I will not publish it as RemoteApp but will try to provide access by RDWeb means.

What do I need for enabling RDWEB (no gateway complexity). Just let say the user will be in Remote Desktop Group on RDSHs.

Would broker/s manage this properly RDWEB access? I think it may work because apps actually are running on RDSH...

Thanks.


--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

The requested session access is denied.

$
0
0

Hi,

I am trying to login by RDP to RDSH servers with the user name that is member of Group placed to local Remote Desktop Users group and getting "The requested session access is denied".

I tried to add User directly to the local RDSH Remote Desktop Users group. The same message.

The user is accessing RemoteApp without problems.

Probably there is a "tick" Allow Desktop Session...

Where is it or other....

Thanks.


--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

The user profile service failed the logon – User cannot be loaded Windows2008R2 RDS

$
0
0

Dear all,

I get the error "The user profile Service failed the logon - User cannot Be Loaded" on a Server 2008 R2 RDS on some profiles.

My architecture is composed of 3 RDS server NLB.

Here are the actions that I have taken:

1/ Boot in safe mode with CHKDSK / F / R

2/ Check the "user profile login" service works and never stops.

3/ Kb followed this by removing .bak put the refcount = 0 and the state = 0 https://support.microsoft.com/en-us/kb/947215/ it’s works but after some time still the same error The user profile Service failed the logon - User cannot Be loaded "or temporary profile.

4/ Reapply the rights to C:\users\default

5/ Compress hives:
C:\ windows\system32\config\default
C:\ windows\system32\config\sam
C:\ windows\system32\config\security
C:\ windows\system32\config\software
C:\ windows\system32\config\system
C:\ windows\system32\config\components

6/ when I deletethe corruptedprofile andIcreate a new profileI alsoerrorcoming back.

Thanks in advance.


Determining HA Broker through SQL, RDS 2012 r2

$
0
0

I have a RDS 2012 R2 environment with three Active Connection Brokers configured. I am looking to determine which Broker is currently set as active through a SQL query to the RDCB database. Is anyone aware of how to do this?

I have looked into the tables and cant see an obvious way of determining this

Unable to connect to Remote desktop of Windows Server 2003

$
0
0

Hi

I am facing this issues in many windows server 2003 .The issue is unable to connect to Remote Desktop of this server 2003 even though the server is pinging , shares in this windows 2003 file server are being opened by the users through the mapped drives or UNC path to this server's shares.


Only option  to reboot the server ,is being followed currently by me through ILO ,DRAC & IMM .

Unfortunately , one particular server is not being connected through DRAC because it is not configured.

I tried managing this server through another computer management and restarted the terminal services ......etc. but in vain

Still when I take RDP through mstsc , connecting to computer flashes , then come to the same screen

I have the final option  to arrange an engineer to go the datacenter to reboot manually the server

Anyone please advise me troubleshoot ,what has to be done to avoid this rdp error happening in the future


Thanks & Regards S.Swaminathan Live & let others live!!!

Session 114 Blank Screen

$
0
0

We run a Server 2012 R2 RDS environment using:

3 Servers running connection broker, Web access and session host roles

10 Servers running the session host role

3 Servers running the license server and session host server roles

We run the 3 connection brokers in HA mode using an external load balancer to manage the connections between them and a SQL 2014 database cluster

When a user logs on to any of these servers and receives the session id 114 they get an uncontrollable blank screen. When a domain admin also RDP's to the one of these servers using the /admin switch and gets the session id 114 they also get the same issue.

Has anyone seen this issue or anything similar before


I'm stuck with accessing Remoteapplications from an external location

$
0
0

Hi All,

I've got this problem that I cannot solve....My situation:

I've built a new server and installed Windows Server 2012 R2 (evaluation)....It is a single server and acts as the DC, and I wanted to test out the Terminal Services features.  I've installed the RD Web Access, RD Gateway, RD Connection Broker on the same Server.....I then created a self signed certificate.  Keeping the default settings for RD Gateway Manager with Port 443 and UDP port as 3391.  I then published some applications and then tested in the internal network using another PC which is not part of the domain, the self signed certificate was also imported.....I logged in as using the Server Ip address, ie 192.168.0.2/rdweb and it works perfectly, I was able to remote access into any of the published application.  It also worked when I use the FQDN, ie.  testserver.contoso.com.au/rdweb.....I then test the service by using an external PC, which is what I want to do, I imported the self signed certificate into the external PC then went to the browser and typed in my server site IP address which is static ie.  105.156.10.14/rdweb.....I was able to log into the service portal and see the published applications....I then select an application and then it asks me for a credential which I entered but this error message came up:

"Your computer can't connect to the remote computer because the Remote Desktop Gateway
server is temporarily unavailable.  Try reconnecting later or contact your network
administrator for assistance."

I do not know what caused this error and I've tripled check my settings.  I've forward the ports 3389, 80, 443 and tried to forward 3391 in my router....I've tested to see if these ports are open and the only one that is closed is 3391....Could that be the cause of my issue or is there something else?....Thank-you for anyone who can help.

 

Sound in Remote Desktop Session stops working

$
0
0

Hello,

I have a sound issue with a 2008 server (32 bit). I'm monitoring the server via an RDP-Session that's up and running 24/7. Sometimes, the audio-output on the Client PC (Win 7 pro, 32 bits too) fells silent. Sound on the ClientPC itself (outside the RDP-Session) is fine, within the Session everything seems to be okay (volume control, Microsoft RDP Audio Device), just there is no sound. If I close the Session and reconnect, sound is back - sometimes for a day, sometimes for a week... Audio in the Console-Session or in other RDP-Sessions at the same time is flawless.

The WAN-Link between the two sites is a bit shabby, but as long as the session itself doesn't break I don't see a reason why a few beeps shouldn't come through.

After searching for a solution for a while now I have found hundreds of threads and solutions for no sound in RDP-Sessions at all, even a MS-Hotfix for shabby sound - but obviously I'm the only guy with such a problem.

Ideas anyone?

Thanks.

gpo for RDS users not applies

$
0
0

RDS 2012 farm in place.

I created and linked a GPO (user settings only) to OU=RDS_deployment that hosts all RDS farm servers (Brokers, RDSHs, SQL).

I expected that GPO will apply to any user accessing RDS, in my case by RemoteApp. But it not happens. I checked Resultant GPO for one of RDSH host with existing user name.

I see that Domain policies are applied but not linked to RDS OU.

More détails:

I need to change Office 2013 language settings. In instructions (below) the settings are mentioned available in Computer and User Configuration. But there are no Language settings for Computer.

So my logic saying that when using  User Configuration it should affect every logged in user.

I have some computer GPO that works fine for HOSTs.

How to manage GPOs that should be applied to RDS users?

Where I am wrong?

Thanks.


--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis


TS Licensing and Server 2003

$
0
0

Hi 

We have a client who is looking to extend the support for a Server 2003 environment they have.

The 2003 server they have supports Citrix and have the TS CAL's supplied by a 2003 TS server.
They are unable to find the licensing agreement details to allow the migration of the existing TS 2003 licenses to a 2008 TS server

The 2008 TS server we have has available licenses, is it possible for the 2008 TS server to service license requests from the 2003 servers?

Kind Regards.
Garry.


Thanks Garry

RDP to the Windows Server 2012 RDS serve

$
0
0

Hi,

Upon connecting via RDP to the Windows Server 2012 RDS server, we get just a black screen, and after 5-10 seconds it says can’t connect to the computer.

We’ve tried removing and re-adding the RDS Roles, and also changing the security to RDP security layer instead of SSL. This does make a difference in that instead of a black screen, it just doesn’t let you login at all.

I’ve made sure windows is upto date, and rebooted the server and tried from different PC’s, servers etc with the same result incase the RDP connector was somehow not working. Thanks


Viewing all 21489 articles
Browse latest View live


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